This commit is contained in:
Michael H 2020-01-25 18:57:07 -05:00 committed by GitHub
parent 2a38777379
commit 498d0d22fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -324,9 +324,7 @@ class Case:
if embed:
emb = discord.Embed(title=title, description=reason)
if avatar_url is not None:
emb.set_author(name=user, icon_url=avatar_url)
emb.set_author(name=user)
emb.add_field(name=_("Moderator"), value=moderator, inline=False)
if until and duration:
emb.add_field(name=_("Until"), value=until)