Describe power levels <0 as "muted" in event text

This commit is contained in:
miruka 2020-09-04 19:55:14 -04:00
parent d5212b0f84
commit d48f96f219

View File

@ -365,9 +365,10 @@ class NioCallbacks:
def lvl(level: int) -> str:
return (
f"Admin ({level})" if level == 100 else
f"Admin ({level})" if level == 100 else
f"Moderator ({level})" if level >= 50 else
f"User ({level})"
f"User ({level})" if level >= 0 else
f"Muted ({level})"
)
def format_defaults_dict(