Advertisement
swimmerhair

Swimbot Error

Dec 9th, 2020
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.49 KB | None | 0 0
  1. Traceback (most recent call last):
  2.   File "C:\Users\wmiller\AppData\Local\Programs\Python\Python39\lib\site-packages\discord\ext\commands\core.py", line 85, in wrapped
  3.     ret = await coro(*args, **kwargs)
  4.   File "C:\Users\wmiller\AppData\Local\Programs\Python\Python39\lib\site-packages\discord\ext\commands\help.py", line 836, in command_callback
  5.     return await self.send_bot_help(mapping)
  6.   File "C:\Users\wmiller\AppData\Local\Programs\Python\Python39\lib\site-packages\discord\ext\commands\help.py", line 1026, in send_bot_help
  7.     filtered = await self.filter_commands(bot.commands, sort=True, key=get_category)
  8.   File "C:\Users\wmiller\AppData\Local\Programs\Python\Python39\lib\site-packages\discord\ext\commands\help.py", line 577, in filter_commands
  9.     valid = await predicate(cmd)
  10.   File "C:\Users\wmiller\AppData\Local\Programs\Python\Python39\lib\site-packages\discord\ext\commands\help.py", line 571, in predicate
  11.     return await cmd.can_run(self.context)
  12.   File "C:\Users\wmiller\AppData\Local\Programs\Python\Python39\lib\site-packages\discord\ext\commands\core.py", line 1076, in can_run
  13.     return await discord.utils.async_all(predicate(ctx) for predicate in predicates)
  14.   File "C:\Users\wmiller\AppData\Local\Programs\Python\Python39\lib\site-packages\discord\utils.py", line 340, in async_all
  15.     elem = await elem
  16.   File "c:\Users\wmiller\Desktop\Swimbot\server_manager.py", line 13, in guild_owner
  17.     return ctx.author.id == ctx.guild.owner.id
  18. AttributeError: 'NoneType' object has no attribute 'id'
  19.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement