This commit is contained in:
Frisk 2019-04-30 23:16:05 +02:00
parent 50f8ec0b83
commit 405f4bdb3a
No known key found for this signature in database
GPG key ID: 0E9A7D3C0A01586C
3 changed files with 212 additions and 192 deletions

Binary file not shown.

File diff suppressed because it is too large Load diff

View file

@ -648,6 +648,8 @@ def embed_formatter(action, change, parsed_comment, categories):
field = _("XVL link")
elif change["logparams"]['4:section'] == "profile-link-steam":
field = _("Steam link")
elif change["logparams"]['4:section'] == "profile-link-discord":
field = _("Discord handle")
else:
field = _("Unknown")
embed["title"] = _("Edited {target}'s profile").format(target=change["title"].split(':')[1]) if change["user"] != change["title"].split(':')[1] else _("Edited their own profile")