-

channel#

+

channel¶

Useful helper functions for interacting with various discord channel objects.

-async get_or_fetch_channel(bot, channel_id)[source]#
+async get_or_fetch_channel(bot, channel_id)[source]¶

Attempt to get or fetch the given channel_id from the bots cache, and return it.

Parameters:
@@ -422,7 +422,7 @@
-is_in_category(channel, category_id)[source]#
+is_in_category(channel, category_id)[source]¶

Return whether the given channel in the the category with the id category_id.

Parameters:
@@ -512,7 +512,7 @@ - + -- cgit v1.2.3