DiscordBot-BardGPT
DiscordBot-BardGPT copied to clipboard
Bot Broken
I just tried this bot, added all the env data but its simply is not working I think its broken.
Traceback (most recent call last):
File "c:\Users\darne\Desktop\DiscordBot-BardGPT\myenv\lib\site-packages\discord\ext\commands\bot.py", line 935, in _load_from_module_spec
spec.loader.exec_module(lib) # type: ignore
File "
The above exception was the direct cause of the following exception:
Traceback (most recent call last): File "c:\Users\darne\Desktop\DiscordBot-BardGPT\myenv\lib\site-packages\discord\client.py", line 441, in _run_event await coro(*args, **kwargs) File "C:\Users\darne\Desktop\DiscordBot-BardGPT\bot.py", line 46, in on_ready await bot.load_extension(f'cogs.{Filename[:-3]}') File "c:\Users\darne\Desktop\DiscordBot-BardGPT\myenv\lib\site-packages\discord\ext\commands\bot.py", line 1013, in load_extension await self._load_from_module_spec(spec, name) File "c:\Users\darne\Desktop\DiscordBot-BardGPT\myenv\lib\site-packages\discord\ext\commands\bot.py", line 938, in _load_from_module_spec raise errors.ExtensionFailed(key, e) from e discord.ext.commands.errors.ExtensionFailed: Extension 'cogs.event' raised an error: Exception: SNlM0e value not found. Double-check __Secure-1PSID value or pass it as token='xxxxx'.
You can find the solution here, but the method will still be wrong after a while, and there is no better method for the time being.
https://github.com/dsdanielpark/Bard-API/blob/main/documents/README_FAQ.md