Update userinfo embed with muted until
This commit is contained in:
parent
6f4d93a881
commit
5466dca31e
1 changed files with 4 additions and 0 deletions
|
@ -253,6 +253,10 @@ class UtilCog(Extension):
|
|||
),
|
||||
]
|
||||
|
||||
if muted:
|
||||
ts = int(user.communication_disabled_until.timestamp())
|
||||
fields.append(EmbedField(name="Muted Until", value=f"<t:{ts}:F> (<t:{ts}:R>)"))
|
||||
|
||||
embed = build_embed(
|
||||
title="",
|
||||
description=user.mention,
|
||||
|
|
Loading…
Add table
Reference in a new issue