In this video, we will learn how to make a system where users can set custom prefixes for a Discord bot in python using discord.py, postgreSQL and asyncpg. This is the rework of the video where I showed how to do the same thing with JSON, but here it’s with a database.
You’ll need to pip install asyncpg if you don’t already have it installed!
If you have any suggestions for future videos/doubts, leave it in the comments below. I might not be able to answer everyone but you can join my discord server for help: https://discord.gg/TXF3hBj
Some Useful Links -
Install Postgres- https://youtu.be/24FRaxoTc_c
Discord Developer Portal- https://discord.com/developers
My Discord Server- https://discord.gg/TXF3hBj
My Twitter - https://twitter.com/codewithswastik
My Instagram - https://instagram.com/code_with_swastik
Discord.py Documentation: https://discordpy.readthedocs.io/en/latest/
Asyncpg Documentation: https://magicstack.github.io/asyncpg/current/
Queries solved in the video:
#discord #customprefix
#postgresql #discord #python #json #database