1
Fork 0
mirror of https://github.com/RGBCube/minearchy-bot synced 2025-07-28 09:27:44 +00:00

Brain failure

This commit is contained in:
RGBCube 2022-12-17 15:38:32 +03:00
parent a06c203a06
commit 92095af057

View file

@ -67,7 +67,7 @@ class Miscellaneous(
@Cog.listener() @Cog.listener()
async def on_message(self, message: Message) -> None: async def on_message(self, message: Message) -> None:
if not message.author.display_name.lower().startswith("[AFK]"): if not message.author.display_name.upper().startswith("[AFK]"):
return return
await message.author.edit(nick=message.author.display_name[5:]) await message.author.edit(nick=message.author.display_name[5:])