Skip to content

Commit

Permalink
MEE6レベルアップ、自動送信機能追加v6
Browse files Browse the repository at this point in the history
  • Loading branch information
Syunngiku0402 committed Nov 3, 2024
1 parent 5c596d8 commit d08f99a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cogs/cmee6level.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ async def on_message(self, message: discord.Message):
else:
text = ""
mee6_channel = await self.bot.fetch_channel(config.mee6.levelup) # 新たに作るmee6通知チャンネル
levelupnoticeoff = await message.guild.fetch_role(config.mee6.levelupnoticeoff)
levelupnoticeoff = await message.guild.fetch_roles(config.mee6.levelupnoticeoff)
if levelupnoticeoff not in message.author.roles: # mee6levelup無効化ロールを持っているかどうか
await mee6_channel.send(f"{text}/xp reached <@{userid}> level {level}")
else:
Expand Down

0 comments on commit d08f99a

Please sign in to comment.