aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Leon Sandøy <[email protected]>2020-07-16 19:54:06 +0200
committerGravatar Leon Sandøy <[email protected]>2020-07-16 19:54:06 +0200
commit4fb188da6af5a1751e7a996693001d464232b10c (patch)
treec248cb567fa8bcd294df16818f7887a626cdcd6e
parentMerge pull request #1046 from ItsCinnabar/patch-1 (diff)
Bugfix: Show ID for embed DM relays, too.
-rw-r--r--bot/cogs/dm_relay.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/cogs/dm_relay.py b/bot/cogs/dm_relay.py
index 0dc15d4b1..0d8f340b4 100644
--- a/bot/cogs/dm_relay.py
+++ b/bot/cogs/dm_relay.py
@@ -99,7 +99,7 @@ class DMRelay(Cog):
await send_webhook(
webhook=self.webhook,
embed=e,
- username=message.author.display_name,
+ username=f"{message.author.display_name} ({message.author.id})",
avatar_url=message.author.avatar_url
)
except discord.HTTPException: