diff --git a/bot.py b/bot.py index bb47c75283..0426816192 100644 --- a/bot.py +++ b/bot.py @@ -1042,7 +1042,6 @@ async def trigger_auto_triggers(self, message, channel, *, cls=commands.Context) ctxs = [] if alias is not None: - ctxs = [] aliases = normalize_alias(alias) if not aliases: logger.warning("Alias %s is invalid as called in autotrigger.", invoker) @@ -1063,7 +1062,6 @@ async def trigger_auto_triggers(self, message, channel, *, cls=commands.Context) await self.invoke(ctx) ctx.command.checks = old_checks - continue async def get_context(self, message, *, cls=commands.Context): """