-
Notifications
You must be signed in to change notification settings - Fork 176
Description
i succesfully run the bot but when i write the commands nothing happen and this is what it says
bot is now online
Ignoring exception in command h:
Traceback (most recent call last):
File "C:\Users\erosa\AppData\Local\Programs\Python\Python35\lib\site-packages\discord\ext\commands\core.py", line 85, in wrapped
ret = await coro(*args, **kwargs)
File "nuker.py", line 110, in h
for user in list(ctx.message.server.members):
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\erosa\AppData\Local\Programs\Python\Python35\lib\site-packages\discord\ext\commands\bot.py", line 902, in invoke
await ctx.command.invoke(ctx)
File "C:\Users\erosa\AppData\Local\Programs\Python\Python35\lib\site-packages\discord\ext\commands\core.py", line 864, in invoke
await injected(*ctx.args, **ctx.kwargs)
File "C:\Users\erosa\AppData\Local\Programs\Python\Python35\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'