Skip to content

Commit

Permalink
Fix a minor bug
Browse files Browse the repository at this point in the history
  • Loading branch information
MycroftKang committed Mar 20, 2024
1 parent 38dce54 commit cc6b2f9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/bot/discord_host.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,9 @@ async def process_commands(self, request_id, message):

ctx = await self.get_context(message)

if ctx.command is None:
return False

if not await self.check_init_user_locale(ctx, message):
return False

Expand Down

0 comments on commit cc6b2f9

Please sign in to comment.