fix messages for stop and restart
This commit is contained in:
parent
d346a556e0
commit
a308436410
1 changed files with 6 additions and 1 deletions
5
app.py
5
app.py
|
@ -84,7 +84,12 @@ async def on_message(message):
|
|||
logger.info(
|
||||
f"{command} by {message.author.name}, Game: {messagearray[1]} was SUCESSFUL")
|
||||
await message.add_reaction("✅")
|
||||
if command == "start":
|
||||
await message.channel.send(f"Successfully started {game['displayname']}! Happy gaming {message.author.mention}! 🎮")
|
||||
elif command == "stop":
|
||||
await message.channel.send(f"Successfully stopped {game['displayname']}! Good night {message.author.mention}! 😴💤")
|
||||
elif command == "restart":
|
||||
await message.channel.send(f"Successfully restarted {game['displayname']}! Happy gaming {message.author.mention}! 🎮")
|
||||
else:
|
||||
await message.remove_reaction("⏳")
|
||||
logger.error(
|
||||
|
|
Loading…
Reference in a new issue