Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error #24

Open
KaUwu opened this issue Jan 4, 2022 · 0 comments
Open

Error #24

KaUwu opened this issue Jan 4, 2022 · 0 comments

Comments

@KaUwu
Copy link

KaUwu commented Jan 4, 2022

Its not workin for me. Idk why. when i type the cmd then its crashes with this error message:

Ignoring exception in command rape:
Traceback (most recent call last):
File "C:\Users\Kaszben\AppData\Local\Programs\Python\Python310\lib\site-packages\discord\ext\commands\core.py", line 85, in wrapped
ret = await coro(*args, **kwargs)
File "C:\Users\Kaszben\Desktop\Nuking-Discord-Server-Bot-Nuke-Bot-2.4.0\nuke\main.py", line 120, in rape
for channel in list(ctx.message.server.channels):
AttributeError: 'Message' object has no attribute 'server'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Kaszben\AppData\Local\Programs\Python\Python310\lib\site-packages\discord\ext\commands\bot.py", line 939, in invoke
await ctx.command.invoke(ctx)
File "C:\Users\Kaszben\AppData\Local\Programs\Python\Python310\lib\site-packages\discord\ext\commands\core.py", line 863, in invoke
await injected(*ctx.args, **ctx.kwargs)
File "C:\Users\Kaszben\AppData\Local\Programs\Python\Python310\lib\site-packages\discord\ext\commands\core.py", line 94, in wrapped
raise CommandInvokeError(exc) from exc
discord.ext.commands.errors.CommandInvokeError: Command raised an exception: AttributeError: 'Message' object has no attribute 'server'
Exception ignored in: <function _ProactorBasePipeTransport.del at 0x0000020AE3BB6050>
Traceback (most recent call last):
File "C:\Users\Kaszben\AppData\Local\Programs\Python\Python310\lib\asyncio\proactor_events.py", line 116, in del
File "C:\Users\Kaszben\AppData\Local\Programs\Python\Python310\lib\asyncio\proactor_events.py", line 108, in close
File "C:\Users\Kaszben\AppData\Local\Programs\Python\Python310\lib\asyncio\base_events.py", line 745, in call_soon
File "C:\Users\Kaszben\AppData\Local\Programs\Python\Python310\lib\asyncio\base_events.py", line 510, in _check_closed
RuntimeError: Event loop is closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant