Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Traceback (most recent call last):
- File "C:\Users\swimm\AppData\Local\Programs\Python\Python37\lib\site-packages\discord\ext\commands\bot.py", line 607, in _load_from_module_spec
- spec.loader.exec_module(lib)
- File "<frozen importlib._bootstrap_external>", line 728, in exec_module
- File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
- File "c:\Users\swimm\OneDrive\Desktop\Swimbot\premium.py", line 252, in <module>
- class PremiumAdminCog(commands.Cog,name="Premium Features Admin"):
- File "c:\Users\swimm\OneDrive\Desktop\Swimbot\premium.py", line 270, in PremiumAdminCog
- @premium.group()
- AttributeError: 'Command' object has no attribute 'group'
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "c:\Users\swimm\OneDrive\Desktop\Swimbot\SwimBot.py", line 35, in load
- bot.load_extension(extension_name)
- File "C:\Users\swimm\AppData\Local\Programs\Python\Python37\lib\site-packages\discord\ext\commands\bot.py", line 664, in load_extension
- self._load_from_module_spec(spec, name)
- File "C:\Users\swimm\AppData\Local\Programs\Python\Python37\lib\site-packages\discord\ext\commands\bot.py", line 610, in _load_from_module_spec
- raise errors.ExtensionFailed(key, e) from e
- discord.ext.commands.errors.ExtensionFailed: Extension 'premium' raised an error: AttributeError: 'Command' object has no attribute 'group'
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "C:\Users\swimm\AppData\Local\Programs\Python\Python37\lib\site-packages\discord\ext\commands\core.py", line 85, in wrapped
- ret = await coro(*args, **kwargs)
- File "c:\Users\swimm\OneDrive\Desktop\Swimbot\SwimBot.py", line 47, in load
- # traceback.print_exception(type(error), error, error.__traceback__)
- NameError: name 'error' is not defined
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement