From 4497a82c504818d61ab18c5251ae2bc42bae279e Mon Sep 17 00:00:00 2001
From: ChrisLovering guild_id ( allowed_roles ( http_session (aiohttp.ClientSession) β The session to use for the bot. redis_session ( api_client ( statsd_url ( guild_id ( allowed_roles ( http_session (aiohttp.ClientSession) β The session to use for the bot. redis_session ( api_client ( statsd_url (
-
int) β The ID of the guild used for wait_until_guild_available().list) β A list of role IDs that the bot is allowed to mention.RedisSession | None) β The async_rediscache.RedisSession to use for the bot.APIClient | None) β The pydis_core.site_api.APIClient instance to use for the bot.str | None) β The URL of the statsd server to use for the bot. If not given,
+int) β The ID of the guild used for wait_until_guild_available().list) β A list of role IDs that the bot is allowed to mention.RedisSession | None) β The async_rediscache.RedisSession to use for the bot.APIClient | None) β The pydis_core.site_api.APIClient instance to use for the bot.str | None) β The URL of the statsd server to use for the bot. If not given,
a dummy statsd client will be created.
Add the given cog to the bot and log the operation.
Add command as normal and then add its root aliases to the bot.
Not implemented! Re-instantiate the bot instead of attempting to re-use a closed one.
Close the Discord connection, and the aiohttp session, connector, statsd client, and resolver.
Load all the extensions within the given module and save them to self.all_extensions.
Log the given message to #dev-log.
Clear the internal guild available event when self.guild_id becomes unavailable.
Ping all required services on setup to ensure they are up before starting.
ping_services().
@@ -606,7 +614,7 @@ and
@@ -616,7 +624,7 @@ gateway event before giving up and thus not populating the cache for unavailable