Description
Cache guild, channels, and roles during the bot start and before any cog loads in.
This is going to make accessing channels and roles easier in the cogs/code without getting/fetching them in the cog.
This will also avoid repetitively getting or fetching the same channel/role in multiple cogs.
By doing this, we can make sure that all required channels and roles are loaded and present.
Additional
The bot should stop even if one channel/role is found to be None or not present with appropriate logging.
Would you like to implement this yourself?
Description
Cache guild, channels, and roles during the bot start and before any cog loads in.
This is going to make accessing channels and roles easier in the cogs/code without
getting/fetchingthem in the cog.This will also avoid repetitively
gettingorfetchingthe same channel/role in multiple cogs.By doing this, we can make sure that all required channels and roles are loaded and present.
Additional
The bot should stop even if one channel/role is found to be
Noneor not present with appropriate logging.Would you like to implement this yourself?