When creating a commands.Bot instance using the from_client_credentials classmethod, Bot.load_module does not work.
Traceback (most recent call last):
File "/home/dutchy/MyGames/bot.py", line 32, in <module>
twitch_events.load_module("cogs.twitch.events")
File "/home/dutchy/MyGames/venv/lib/python3.10/site-packages/twitchio/ext/commands/bot.py", line 275
if name in self._modules:
AttributeError: 'Bot' object has no attribute '_modules'. Did you mean: '__module__'?
When creating a
commands.Bot
instance using thefrom_client_credentials
classmethod,Bot.load_module
does not work.