Closed oliver408i closed 2 years ago
You've installed the wrong version of VoxelBotUtils. Install 0.6 as listed in requirements.txt
.
How would I do that? I used pip install VoxelBotUtils and pip install -r requirements.txt
pip install voxelbotutils==0.6
Thank you.
I think I got that working, but now it says ImportError: cannot import name 'PartialMessageable' from 'discord.channel' (/opt/virtualenvs/python3/lib/python3.8/site-packages/discord/channel.py)
Thanks again
Because you installed the later version of voxelbotutils it will have installed Novus. Uninstall that and instead install Discord.py.
Alright thanks again, I got the bot up, but it needs a database, so I made one and it doesn't want to connect to it
asyncpg.exceptions.ConnectionDoesNotExistError: connection was closed in the middle of operation
Sounds like an issue with your database rather than with the code.
I used an SQL database. Do I need another kind?
It connects to a PostgreSQL database.
Error I get:
2021-12-24 18:05:42,854 | CRITICAL | vbu.bot: * cogs.block_commands... failed - Extension 'cogs.block_commands' raised an error: AttributeError: module 'voxelbotutils' has no attribute 'bot_has_permissions'