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 613, in _load_from_module_spec
- setup = getattr(lib, 'setup')
- AttributeError: module 'test' has no attribute 'setup'
- 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 32, 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 616, in _load_from_module_spec
- raise errors.NoEntryPointError(key)
- discord.ext.commands.errors.NoEntryPointError: Extension 'test' has no 'setup' function.
Add Comment
Please, Sign In to add comment