質問編集履歴
2
title
CHANGED
@@ -1,1 +1,1 @@
|
|
1
|
-
Discord bot
|
1
|
+
PythonのDiscord botでエラー表示
|
body
CHANGED
File without changes
|
1
title
CHANGED
File without changes
|
body
CHANGED
@@ -13,12 +13,9 @@
|
|
13
13
|
|
14
14
|
エラーコード
|
15
15
|
```
|
16
|
-
Discord bot サーバーに接続中...
|
17
|
-
Conncting Discord bot server...
|
18
|
-
-----
|
19
16
|
Discord botサーバーに正常接続しました
|
20
17
|
Successfully server connected
|
21
|
-
---
|
18
|
+
---
|
22
19
|
Ignoring exception in command ban:
|
23
20
|
Traceback (most recent call last):
|
24
21
|
File "/data/user/0/ru.iiec.pydroid3/files/aarch64-linux-android/lib/python3.8/site-packages/discord/ext/commands/core.py", line 85, in wrapped
|
@@ -35,5 +32,6 @@
|
|
35
32
|
await injected(*ctx.args, **ctx.kwargs)
|
36
33
|
File "/data/user/0/ru.iiec.pydroid3/files/aarch64-linux-android/lib/python3.8/site-packages/discord/ext/commands/core.py", line 94, in wrapped
|
37
34
|
raise CommandInvokeError(exc) from exc
|
38
|
-
discord.ext.commands.errors.CommandInvokeError: Command raised an exception: NameError: name 'user' is not defined
|
35
|
+
discord.ext.commands.errors.CommandInvokeError: Command raised an exception: NameError: name 'user' is not defined
|
36
|
+
```
|
39
37
|
BAN自体は実行可能、embedに異常ありと思われます
|