Fix !fwarn del log message, modify colors
This commit is contained in:
parent
b950060285
commit
2f0d299903
@ -799,13 +799,13 @@
|
||||
"fwarn_log_add": "(\u000304ADD\u0003) Warning #{0} to {1} by {2} - {3} ({4} point{5}, {6})",
|
||||
"fwarn_log_add_expiry": "expires in {0}",
|
||||
"fwarn_log_add_noexpiry": "never expires",
|
||||
"fwarn_log_set": "(\u000302SET\u0003) Warning #{0} to {1} modified by {2} - {3}",
|
||||
"fwarn_log_set": "(\u000312SET\u0003) Warning #{0} to {1} modified by {2} - {3}",
|
||||
"fwarn_log_set_expiry": "expire time changed from {0} to {1}",
|
||||
"fwarn_log_set_noexpiry": "never",
|
||||
"fwarn_log_set_reason": "reason changed from '{0}' to '{1}'",
|
||||
"fwarn_log_set_notes": "notes changed from '{0}' to '{1}'",
|
||||
"fwarn_log_set_notes_new": "notes changed to '{0}'",
|
||||
"fwarn_log_del": "(\u000303DEL\u0003) Warning #{0} to {1} ({2}) deleted by {3}",
|
||||
"fwarn_log_del": "(\u000309DEL\u0003) Warning #{0} to {1} deleted by {2} - {3}{4}",
|
||||
"fwarn_done": "Done.",
|
||||
"fwarn_sanction_invalid": "Invalid sanction, can be either deny, stasis, or tempban.",
|
||||
"fwarn_stasis_invalid": "Invalid stasis amount, specify sanction as \"stasis=number\".",
|
||||
|
@ -673,7 +673,8 @@ def fwarn(cli, nick, chan, rest):
|
||||
reply(cli, nick, chan, messages["fwarn_done"])
|
||||
|
||||
if var.LOG_CHANNEL:
|
||||
cli.msg(var.LOG_CHANNEL, messages["fwarn_log_del"].format(warn_id, hm, acc, nick))
|
||||
cli.msg(var.LOG_CHANNEL, messages["fwarn_log_del"].format(warn_id, warning["target"], hm,
|
||||
warning["reason"], (" | " + warning["notes"]) if warning["notes"] else ""))
|
||||
|
||||
return
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user