mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 11:18:54 -05:00
parent
2a38777379
commit
498d0d22fb
@ -324,9 +324,7 @@ class Case:
|
|||||||
|
|
||||||
if embed:
|
if embed:
|
||||||
emb = discord.Embed(title=title, description=reason)
|
emb = discord.Embed(title=title, description=reason)
|
||||||
|
emb.set_author(name=user)
|
||||||
if avatar_url is not None:
|
|
||||||
emb.set_author(name=user, icon_url=avatar_url)
|
|
||||||
emb.add_field(name=_("Moderator"), value=moderator, inline=False)
|
emb.add_field(name=_("Moderator"), value=moderator, inline=False)
|
||||||
if until and duration:
|
if until and duration:
|
||||||
emb.add_field(name=_("Until"), value=until)
|
emb.add_field(name=_("Until"), value=until)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user