回答編集履歴
2
commands.Botは本質的にはクライアントではないため、変数名を変更しました。
test
CHANGED
@@ -12,11 +12,11 @@
|
|
12
12
|
|
13
13
|
|
14
14
|
|
15
|
-
|
15
|
+
bot = commands.Bot(command_prefix='your prefix', description='')
|
16
16
|
|
17
17
|
|
18
18
|
|
19
|
-
@
|
19
|
+
@bot.command()
|
20
20
|
|
21
21
|
async def merge(*arguments):
|
22
22
|
|
@@ -28,7 +28,7 @@
|
|
28
28
|
|
29
29
|
|
30
30
|
|
31
|
-
|
31
|
+
bot.run('your token')
|
32
32
|
|
33
33
|
```
|
34
34
|
|
1
コードに誤りがあったため修正。
test
CHANGED
@@ -16,7 +16,7 @@
|
|
16
16
|
|
17
17
|
|
18
18
|
|
19
|
-
@clien
|
19
|
+
@client.command()
|
20
20
|
|
21
21
|
async def merge(*arguments):
|
22
22
|
|