mirror of
https://github.com/RGBCube/minearchy-bot
synced 2025-07-28 09:27:44 +00:00
Brain failure
This commit is contained in:
parent
a06c203a06
commit
92095af057
1 changed files with 1 additions and 1 deletions
|
@ -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:])
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue