swimmerhair

Swimbot Error

Dec 1st, 2020
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.09 KB | None | 0 0
  1. Traceback (most recent call last):
  2.   File "C:\Users\swimm\AppData\Local\Programs\Python\Python37\lib\site-packages\discord\ext\commands\bot.py", line 613, in _load_from_module_spec
  3.     setup = getattr(lib, 'setup')
  4. AttributeError: module 'test' has no attribute 'setup'
  5.  
  6. During handling of the above exception, another exception occurred:
  7.  
  8. Traceback (most recent call last):
  9.   File "C:\Users\swimm\AppData\Local\Programs\Python\Python37\lib\site-packages\discord\ext\commands\core.py", line 85, in wrapped
  10.     ret = await coro(*args, **kwargs)
  11.   File "c:\Users\swimm\OneDrive\Desktop\Swimbot\SwimBot.py", line 32, in load
  12.     bot.load_extension(extension_name)
  13.   File "C:\Users\swimm\AppData\Local\Programs\Python\Python37\lib\site-packages\discord\ext\commands\bot.py", line 664, in load_extension
  14.     self._load_from_module_spec(spec, name)
  15.   File "C:\Users\swimm\AppData\Local\Programs\Python\Python37\lib\site-packages\discord\ext\commands\bot.py", line 616, in _load_from_module_spec
  16.     raise errors.NoEntryPointError(key)
  17. discord.ext.commands.errors.NoEntryPointError: Extension 'test' has no 'setup' function.
  18.  
Add Comment
Please, Sign In to add comment