Advertisement
Guest User

Untitled

a guest
Oct 19th, 2019
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.76 KB | None | 0 0
  1. Traceback (most recent call last):
  2. File "/home/pi/.pyenv/versions/redbot/lib/python3.7/site-packages/discord/ext/commands/cog.py", line 374, in _inject
  3. bot.add_command(command)
  4. File "/home/pi/.pyenv/versions/redbot/lib/python3.7/site-packages/redbot/core/bot.py", line 450, in add_command
  5. super().add_command(command)
  6. File "/home/pi/.pyenv/versions/redbot/lib/python3.7/site-packages/discord/ext/commands/core.py", line 995, in add_command
  7. raise discord.ClientException('Command {0.name} is already registered.'.format(command))
  8. discord.errors.ClientException: Command register is already registered.
  9.  
  10. During handling of the above exception, another exception occurred:
  11.  
  12. Traceback (most recent call last):
  13. File "/home/pi/.pyenv/versions/redbot/lib/python3.7/site-packages/redbot/core/core_commands.py", line 106, in _load
  14. await bot.load_extension(spec)
  15. File "/home/pi/.pyenv/versions/redbot/lib/python3.7/site-packages/redbot/core/bot.py", line 302, in load_extension
  16. lib.setup(self)
  17. File "/home/pi/.local/share/Red-DiscordBot/cogs/CogManager/cogs/Leveler/__init__.py", line 7, in setup
  18. bot.add_cog(n)
  19. File "/home/pi/.pyenv/versions/redbot/lib/python3.7/site-packages/redbot/core/bot.py", line 429, in add_cog
  20. super().add_cog(cog)
  21. File "/home/pi/.pyenv/versions/redbot/lib/python3.7/site-packages/discord/ext/commands/bot.py", line 482, in add_cog
  22. cog = cog._inject(self)
  23. File "/home/pi/.pyenv/versions/redbot/lib/python3.7/site-packages/discord/ext/commands/cog.py", line 378, in _inject
  24. bot.remove_command(to_undo)
  25. File "/home/pi/.pyenv/versions/redbot/lib/python3.7/site-packages/redbot/core/bot.py", line 464, in remove_command
  26. command.requires.reset()
  27. AttributeError: 'NoneType' object has no attribute 'requires'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement