mirror of
https://gitlab.com/chicken-riders/RcGcDb.git
synced 2025-02-23 00:54:09 +00:00
Fixes in relation to last commits
This commit is contained in:
parent
029fd86826
commit
6c92ff15f3
|
@ -239,7 +239,7 @@ class Wiki:
|
|||
if "user" in censored_properties and "url" in message["author"]:
|
||||
message["author"]["name"] = context._("hidden")
|
||||
message["author"].pop("url")
|
||||
if "action" in censored_properties and "url" in message.embed:
|
||||
if ("action" in censored_properties or ("content" in censored_properties and mode == "log_id")) and "url" in message.embed:
|
||||
message["title"] = context._("~~hidden~~")
|
||||
message.embed.pop("url")
|
||||
if "content" in censored_properties and "fields" in message.embed:
|
||||
|
|
Loading…
Reference in a new issue