We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2171c30 commit dce7533Copy full SHA for dce7533
cogs/plugins.py
@@ -64,7 +64,7 @@ async def download_initial_plugins(self):
64
except DownloadError as exc:
65
msg = f'{parsed_plugin[0]}/{parsed_plugin[1]} - {exc}'
66
logger.error(error(msg))
67
- await async_all(env() for env in self.bot.extra_events['on_plugin_ready'])
+ await async_all(env() for env in self.bot.extra_events.get('on_plugin_ready', []))
68
logger.debug(info('on_plugin_ready called.'))
69
70
async def download_plugin_repo(self, username, repo):
0 commit comments