Skip to content

Commit

Permalink
Fix automod action execution.
Browse files Browse the repository at this point in the history
  • Loading branch information
james7132 committed Dec 22, 2021
1 parent a29a1ca commit c4759cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/hourai/bot/extensions/auto/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c4759cf

Please sign in to comment.