diff --git a/cogs/cmee6level.py b/cogs/cmee6level.py index 2f701e9..25206b9 100644 --- a/cogs/cmee6level.py +++ b/cogs/cmee6level.py @@ -9,7 +9,7 @@ def __init__(self, bot: commands.Bot): @commands.Cog.listener("on_message") async def on_message(self, message: discord.Message): - if "mee6level" in message.content.startswith: + if "mee6level" in message.content: if message.channel.id in [config.mee6.botch]: # 非公開mee6-level通知チャンネル userid = message.content.split(",")[1] # userid表示 username = message.content.split(",")[2] # user名表示