[tweak] "Game for {user.mention}:"
`user.display_name` doesn't tag the user who requested the game. Using `user.mention` makes at tags, which also means users can search for games using Discord search (`Game for mentions:@foobar`)
This commit is contained in:
parent
96c9692d09
commit
c059992ec8
|
@ -553,7 +553,7 @@ async def watch_game(channel, newgame, user = None):
|
||||||
in_emoji = discord.utils.get(client.emojis, id = 791578957244792832)
|
in_emoji = discord.utils.get(client.emojis, id = 791578957244792832)
|
||||||
|
|
||||||
if user is not None:
|
if user is not None:
|
||||||
await channel.send(f"Game for {user.display_name}:")
|
await channel.send(f"Game for {user.mention}:")
|
||||||
embed = await channel.send("Starting...")
|
embed = await channel.send("Starting...")
|
||||||
await asyncio.sleep(1)
|
await asyncio.sleep(1)
|
||||||
await embed.pin()
|
await embed.pin()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user