change mention for status error message

This commit is contained in:
Adora Laura Kalb 2024-01-01 18:20:02 +01:00
parent 048eab9a3a
commit 0bf5c17df3
Signed by: adoralaura
GPG key ID: 7A4552166FC8C056

2
app.py
View file

@ -102,7 +102,7 @@ async def on_message(message):
logger.error( logger.error(
f"Status with no arguments by {message.author.name}. Command: \"{message.content}\"") f"Status with no arguments by {message.author.name}. Command: \"{message.content}\"")
await message.add_reaction("") await message.add_reaction("")
await message.channel.send(f"{message.author.name}: This comand is for checking the status of a single game!\nDid you maybe mean to use the `info` command to display all games?") await message.channel.send(f"{message.author.mention}: This comand is for checking the status of a single game!\nDid you maybe mean to use the `info` command to display all games?")
return return
if len(messagearray) > 2: if len(messagearray) > 2:
logger.error( logger.error(