質問編集履歴

1

Tracebackから記載しました

2018/11/25 01:40

投稿

bs_yuuki1
bs_yuuki1

スコア13

test CHANGED
File without changes
test CHANGED
@@ -14,7 +14,41 @@
14
14
 
15
15
  ```
16
16
 
17
+ Ignoring exception in command stop:
18
+
19
+ Traceback (most recent call last):
20
+
21
+ File "C:\Users\T\AppData\Local\Programs\Python\Python37-32\lib\site-packages\discord\ext\commands\core.py", line 61, in wrapped
22
+
23
+ ret = await coro(*args, **kwargs)
24
+
25
+ File "C:\Users\T\Desktop\Blockgrass-bot-master\command\music.py", line 36, in stop
26
+
27
+ vc_client.stop()
28
+
17
29
  AttributeError: 'NoneType' object has no attribute 'stop'
30
+
31
+
32
+
33
+ The above exception was the direct cause of the following exception:
34
+
35
+
36
+
37
+ Traceback (most recent call last):
38
+
39
+ File "C:\Users\T\AppData\Local\Programs\Python\Python37-32\lib\site-packages\discord\ext\commands\bot.py", line 899, in invoke
40
+
41
+ await ctx.command.invoke(ctx)
42
+
43
+ File "C:\Users\T\AppData\Local\Programs\Python\Python37-32\lib\site-packages\discord\ext\commands\core.py", line 614, in invoke
44
+
45
+ await injected(*ctx.args, **ctx.kwargs)
46
+
47
+ File "C:\Users\T\AppData\Local\Programs\Python\Python37-32\lib\site-packages\discord\ext\commands\core.py", line 70, in wrapped
48
+
49
+ raise CommandInvokeError(e) from e
50
+
51
+ discord.ext.commands.errors.CommandInvokeError: Command raised an exception: AttributeError: 'NoneType' object has no attribute 'stop'
18
52
 
19
53
  ```
20
54