mirror of
https://gitlab.com/chicken-riders/RcGcDw.git
synced 2025-02-23 00:24:09 +00:00
add more bad code
This commit is contained in:
parent
1485757ebd
commit
13d8dd171d
|
@ -245,7 +245,7 @@ def webhook_formatter(action, STATIC, **params):
|
|||
elif action == 20:
|
||||
link = "https://{wiki}.gamepedia.com/User:".format(wiki=settings["wiki"])+params["title"].split(":")[1]
|
||||
embed["title"] = _("Changed group membership for {target}").format(target=params["title"].split(":")[1])
|
||||
if params["old_groups"].count(' ') < params["new_groups"].count(' '):
|
||||
if params["old_groups"].count(' ') < params["new_groups"].count(' ') or params["old_groups"] == "none": #TODO Hardcoded value, depends on translation
|
||||
embed["thumbnail"]["url"] = "https://i.imgur.com/WnGhF5g.gif"
|
||||
if len(params["old_groups"]) < 4:
|
||||
params["old_groups"] = _("none")
|
||||
|
|
Loading…
Reference in a new issue