mirror of
https://gitlab.com/chicken-riders/RcGcDw.git
synced 2025-02-23 00:24:09 +00:00
Resolves #78
This commit is contained in:
parent
50f8ec0b83
commit
405f4bdb3a
Binary file not shown.
File diff suppressed because it is too large
Load diff
|
@ -648,6 +648,8 @@ def embed_formatter(action, change, parsed_comment, categories):
|
||||||
field = _("XVL link")
|
field = _("XVL link")
|
||||||
elif change["logparams"]['4:section'] == "profile-link-steam":
|
elif change["logparams"]['4:section'] == "profile-link-steam":
|
||||||
field = _("Steam link")
|
field = _("Steam link")
|
||||||
|
elif change["logparams"]['4:section'] == "profile-link-discord":
|
||||||
|
field = _("Discord handle")
|
||||||
else:
|
else:
|
||||||
field = _("Unknown")
|
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")
|
embed["title"] = _("Edited {target}'s profile").format(target=change["title"].split(':')[1]) if change["user"] != change["title"].split(':')[1] else _("Edited their own profile")
|
||||||
|
|
Loading…
Reference in a new issue