From c4759cf723bdfe7dbc67b6fe647ccbb3a489120e Mon Sep 17 00:00:00 2001 From: james7132 Date: Wed, 22 Dec 2021 13:15:01 -0800 Subject: [PATCH] Fix automod action execution. --- base/hourai/bot/extensions/auto/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/hourai/bot/extensions/auto/__init__.py b/base/hourai/bot/extensions/auto/__init__.py index d3fc9d39..bc5548e0 100644 --- a/base/hourai/bot/extensions/auto/__init__.py +++ b/base/hourai/bot/extensions/auto/__init__.py @@ -121,7 +121,7 @@ async def message_event(self, msg, event_type): async def execute_actions(self, actions): for action in actions: - await self.bot.actions.execute(action) + await self.bot.action_manager.execute(action) async def get_events(self, guild, event_type): config = guild.config.auto