You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The new update is causing this error. discord.ext.commands.errors.ExtensionNotFound: Extension 'cogs.cog_example' could not be loaded.
Reproduction Steps
I tried to import cogs.cogs_example. discord.ext.commands.errors.ExtensionNotFound: Extension 'cogs.cog_example' could not be loaded.
Minimal Reproducible Code
extensions= ['cogs.cog_example', 'cogs.other_cog']
asyncdefload_extensions():
forextensioninextensions:
awaitbot.load_extension(extension)
if__name__=='__main__': # Ensures this is the file being ranloop=asyncio.get_event_loop()
loop.run_until_complete(load_extensions())
loop.run_until_complete(bot.start('TOKEN'))
Expected Results
the bot to run
Actual Results
discord.ext.commands.errors.ExtensionNotFound: Extension 'cogs.cog_example' could not be loaded.
That exception is raised by the library when something in your code raises an error during loading. You're suppressing the chained exception so it's not possible to provide more help. For help with the library please go to the official server instead.
Summary
The new update is causing this error. discord.ext.commands.errors.ExtensionNotFound: Extension 'cogs.cog_example' could not be loaded.
Reproduction Steps
I tried to import cogs.cogs_example. discord.ext.commands.errors.ExtensionNotFound: Extension 'cogs.cog_example' could not be loaded.
Minimal Reproducible Code
Expected Results
the bot to run
Actual Results
discord.ext.commands.errors.ExtensionNotFound: Extension 'cogs.cog_example' could not be loaded.
Intents
intents = discord.Intents.default() intents.messages = True bot = commands.Bot(command_prefix='/', intents=intents)
System Information
Checklist
Additional Context
No response
The text was updated successfully, but these errors were encountered: