Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Traceback (most recent call last):
- File "/home/pi/.pyenv/versions/redbot/lib/python3.7/site-packages/discord/ext/commands/cog.py", line 374, in _inject
- bot.add_command(command)
- File "/home/pi/.pyenv/versions/redbot/lib/python3.7/site-packages/redbot/core/bot.py", line 450, in add_command
- super().add_command(command)
- File "/home/pi/.pyenv/versions/redbot/lib/python3.7/site-packages/discord/ext/commands/core.py", line 995, in add_command
- raise discord.ClientException('Command {0.name} is already registered.'.format(command))
- discord.errors.ClientException: Command register is already registered.
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "/home/pi/.pyenv/versions/redbot/lib/python3.7/site-packages/redbot/core/core_commands.py", line 106, in _load
- await bot.load_extension(spec)
- File "/home/pi/.pyenv/versions/redbot/lib/python3.7/site-packages/redbot/core/bot.py", line 302, in load_extension
- lib.setup(self)
- File "/home/pi/.local/share/Red-DiscordBot/cogs/CogManager/cogs/Leveler/__init__.py", line 7, in setup
- bot.add_cog(n)
- File "/home/pi/.pyenv/versions/redbot/lib/python3.7/site-packages/redbot/core/bot.py", line 429, in add_cog
- super().add_cog(cog)
- File "/home/pi/.pyenv/versions/redbot/lib/python3.7/site-packages/discord/ext/commands/bot.py", line 482, in add_cog
- cog = cog._inject(self)
- File "/home/pi/.pyenv/versions/redbot/lib/python3.7/site-packages/discord/ext/commands/cog.py", line 378, in _inject
- bot.remove_command(to_undo)
- File "/home/pi/.pyenv/versions/redbot/lib/python3.7/site-packages/redbot/core/bot.py", line 464, in remove_command
- command.requires.reset()
- AttributeError: 'NoneType' object has no attribute 'requires'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement