This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # asyncpg docs: https://magicstack.github.io/asyncpg/current/ | |
| # This uses discord.py rewrite branch and .format(). If you are using the async branch of discord.py, it shouldn't matter much | |
| # as only 'await ctx.send()' is something you should need to change. If you are using python 3.6+, you can use f strings as opposed to | |
| # .format() for increased efficiency. | |
| import discord | |
| from discord.ext import commands | |
| import asyncio | |
| import asyncpg |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import logging | |
| import discord | |
| from discord import app_commands | |
| from discord.ext import commands | |
| LOGGER: logging.Logger = logging.getLogger(__name__) | |