Skip to content

Commit

Permalink
afk.py を更新
Browse files Browse the repository at this point in the history
  • Loading branch information
ysmreg authored Jan 30, 2024
1 parent 60086a7 commit 7cd3252
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cogs/individual/afk.py
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ async def list_(self, ctx: commands.Context):

@commands.Cog.listener()
async def on_message(self, message: discord.Message):
if (message.content.startswith(tuple(self.bot.command_prefix))
if (message.content.startswith(tuple(await self.bot.command_prefix()))
or not message.guild or message.author.bot):
return

Expand Down

0 comments on commit 7cd3252

Please sign in to comment.