Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Traceback (most recent call last):
- File "/usr/local/lib/python3.8/site-packages/discord/ext/commands/bot.py", line 580, in _load_from_module_spec
- setup(self)
- File "/home/pi/RulesBot/modules/reactions.py", line 121, in setup
- bot.add_cog(ReactionsCog(bot))
- File "/usr/local/lib/python3.8/site-packages/discord/ext/commands/bot.py", line 480, in add_cog
- raise TypeError('cogs must derive from Cog')
- TypeError: cogs must derive from Cog
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "main.py", line 123, in <module>
- main()
- File "main.py", line 105, in main
- client = generate_client(loop)
- File "main.py", line 78, in generate_client
- client.load_extension(module)
- File "/usr/local/lib/python3.8/site-packages/discord/ext/commands/bot.py", line 625, in load_extension
- self._load_from_module_spec(lib, name)
- File "/usr/local/lib/python3.8/site-packages/discord/ext/commands/bot.py", line 584, in _load_from_module_spec
- raise errors.ExtensionFailed(key, e) from e
- discord.ext.commands.errors.ExtensionFailed: Extension 'modules.reactions' raised an error: TypeError: cogs must derive from Cog
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement