diff --git a/src/discord/redaction.py b/src/discord/redaction.py index 911a9d7..0048ac0 100644 --- a/src/discord/redaction.py +++ b/src/discord/redaction.py @@ -79,7 +79,7 @@ def redact_messages(ids, entry_type: int, to_censor: dict): # : Union[List[Unio if "user" in to_censor and "url" in new_embed["author"]: new_embed["author"]["name"] = _("hidden") new_embed["author"].pop("url") - if "action" in to_censor and "url" in new_embed: + if ("action" in to_censor or ("content" in to_censor and entry_type == 1)) and "url" in new_embed: new_embed["title"] = _("~~hidden~~") new_embed.pop("url") if "content" in to_censor and "fields" in new_embed: