==================== RESTART: D:\F2\Pr0nBot\MainBot.py ======================
Traceback (most recent call last):
File "D:\Users\RDX\AppData\Local\Programs\Python\Python38-32\lib\site-packages\discord\ext\commands\bot.py", line 608, in _load_from_module_spec
setup(self)
File "D:\F2\Pr0nBot\PornHub.py", line 657, in setup
bot.load_extension(PornHub(bot))
File "D:\Users\RDX\AppData\Local\Programs\Python\Python38-32\lib\site-packages\discord\ext\commands\bot.py", line 649, in load_extension
spec = importlib.util.find_spec(name)
File "D:\Users\RDX\AppData\Local\Programs\Python\Python38-32\lib\importlib\util.py", line 90, in find_spec
fullname = resolve_name(name, package) if name.startswith('.') else name
AttributeError: 'PornHub' object has no attribute 'startswith'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "D:\F2\Pr0nBot\MainBot.py", line 42, in
bot.load_extension("PornHub")
File "D:\Users\RDX\AppData\Local\Programs\Python\Python38-32\lib\site-packages\discord\ext\commands\bot.py", line 653, in load_extension
self._load_from_module_spec(spec, name)
File "D:\Users\RDX\AppData\Local\Programs\Python\Python38-32\lib\site-packages\discord\ext\commands\bot.py", line 613, in _load_from_module_spec
raise errors.ExtensionFailed(key, e) from e
discord.ext.commands.errors.ExtensionFailed: Extension 'PornHub' raised an error: AttributeError: 'PornHub' object has no attribute 'startswith'
==================== RESTART: D:\F2\Pr0nBot\MainBot.py ====================== Traceback (most recent call last): File "D:\Users\RDX\AppData\Local\Programs\Python\Python38-32\lib\site-packages\discord\ext\commands\bot.py", line 608, in _load_from_module_spec setup(self) File "D:\F2\Pr0nBot\PornHub.py", line 657, in setup bot.load_extension(PornHub(bot)) File "D:\Users\RDX\AppData\Local\Programs\Python\Python38-32\lib\site-packages\discord\ext\commands\bot.py", line 649, in load_extension spec = importlib.util.find_spec(name) File "D:\Users\RDX\AppData\Local\Programs\Python\Python38-32\lib\importlib\util.py", line 90, in find_spec fullname = resolve_name(name, package) if name.startswith('.') else name AttributeError: 'PornHub' object has no attribute 'startswith'
The above exception was the direct cause of the following exception:
Traceback (most recent call last): File "D:\F2\Pr0nBot\MainBot.py", line 42, in
bot.load_extension("PornHub")
File "D:\Users\RDX\AppData\Local\Programs\Python\Python38-32\lib\site-packages\discord\ext\commands\bot.py", line 653, in load_extension
self._load_from_module_spec(spec, name)
File "D:\Users\RDX\AppData\Local\Programs\Python\Python38-32\lib\site-packages\discord\ext\commands\bot.py", line 613, in _load_from_module_spec
raise errors.ExtensionFailed(key, e) from e
discord.ext.commands.errors.ExtensionFailed: Extension 'PornHub' raised an error: AttributeError: 'PornHub' object has no attribute 'startswith'