mirror of
https://gitlab.com/chicken-riders/RcGcDb.git
synced 2025-02-23 00:54:09 +00:00
Fix i18n on messages coming for webhook removals
This commit is contained in:
parent
dd54fa3207
commit
bbd7e1e0c1
|
@ -552,6 +552,7 @@ class Wiki:
|
|||
rc_targets_long_lived = self.rc_targets.copy() # Create a copy since those will be updated and we live in async world
|
||||
for combination, webhooks in rc_targets_long_lived.items():
|
||||
lang = combination.lang
|
||||
lang = langs[lang]["wiki"]
|
||||
try: # This is best effort scenario, but I don't plan to add re-tries to this
|
||||
dc_msg = DiscordMessage("compact", "custom/webhook_removal",
|
||||
webhooks, content=lang.gettext(
|
||||
|
|
Loading…
Reference in a new issue