swimmerhair

Swimbot Error

Dec 5th, 2020
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.87 KB | None | 0 0
  1. Traceback (most recent call last):
  2.   File "c:\Users\swimm\OneDrive\Desktop\Swimbot\SwimBot.py", line 49, in unload
  3.     bot.unload_extension(extension_name)
  4.   File "C:\Users\swimm\AppData\Local\Programs\Python\Python37\lib\site-packages\discord\ext\commands\bot.py", line 692, in unload_extension
  5.     raise errors.ExtensionNotLoaded(name)
  6. discord.ext.commands.errors.ExtensionNotLoaded: Extension 'test' has not been loaded.
  7.  
  8. During handling of the above exception, another exception occurred:
  9.  
  10. Traceback (most recent call last):
  11.   File "C:\Users\swimm\AppData\Local\Programs\Python\Python37\lib\site-packages\discord\ext\commands\core.py", line 85, in wrapped
  12.     ret = await coro(*args, **kwargs)
  13.   File "c:\Users\swimm\OneDrive\Desktop\Swimbot\SwimBot.py", line 51, in unload
  14.     error = getattr(error, 'original', error)
  15. UnboundLocalError: local variable 'error' referenced before assignment
  16.  
Add Comment
Please, Sign In to add comment