mirror of
https://gitlab.com/chicken-riders/RcGcDw.git
synced 2025-02-24 00:34:10 +00:00
Kind of fixed #169
This commit is contained in:
parent
8b68bcef15
commit
a57d0f58a9
|
@ -958,7 +958,7 @@ def embed_formatter(action, change, parsed_comment, categories, recent_changes):
|
||||||
else:
|
else:
|
||||||
embed.add_field(_("Report this on the support server"), change_params)
|
embed.add_field(_("Report this on the support server"), change_params)
|
||||||
embed["author"]["icon_url"] = settings["appearance"]["embed"][action]["icon"]
|
embed["author"]["icon_url"] = settings["appearance"]["embed"][action]["icon"]
|
||||||
embed["url"] = quote(link.replace(" ", "_"), "/:?")
|
embed["url"] = quote(link.replace(" ", "_"), "/:?=&")
|
||||||
if parsed_comment is not None:
|
if parsed_comment is not None:
|
||||||
embed["description"] = parsed_comment
|
embed["description"] = parsed_comment
|
||||||
if settings["appearance"]["embed"]["show_footer"]:
|
if settings["appearance"]["embed"]["show_footer"]:
|
||||||
|
|
Loading…
Reference in a new issue