aboutsummaryrefslogtreecommitdiffstats
path: root/botcore
diff options
context:
space:
mode:
authorGravatar Hassan Abouelela <[email protected]>2022-07-23 14:43:28 +0200
committerGravatar Hassan Abouelela <[email protected]>2022-07-23 17:10:47 +0200
commit6d7ffcce0ea00df8a3b2441dcd7217210702d90c (patch)
tree376773d2eeaad339b0605fe0687782f3d131a625 /botcore
parentMerge pull request #99 from python-discord/dependabot/pip/pre-commit-2.20.0 (diff)
Mark aiodns As An Explicit Dependency
aiodns is required by aiohttp when using an AsyncResolver, as is done in BotBase. This makes aiodns a required dependency. Signed-off-by: Hassan Abouelela <[email protected]>
Diffstat (limited to 'botcore')
-rw-r--r--botcore/_bot.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/botcore/_bot.py b/botcore/_bot.py
index ee96faa9..8bea4385 100644
--- a/botcore/_bot.py
+++ b/botcore/_bot.py
@@ -51,7 +51,7 @@ class BotBase(commands.Bot):
Initialise the base bot instance.
Args:
- guild_id: The ID of the guild use for :func:`wait_until_guild_available`.
+ guild_id: The ID of the guild used for :func:`wait_until_guild_available`.
allowed_roles: A list of role IDs that the bot is allowed to mention.
http_session (aiohttp.ClientSession): The session to use for the bot.
redis_session: The `async_rediscache.RedisSession`_ to use for the bot.