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

@ -367,7 +367,8 @@ class NioCallbacks:
return ( return (
f"Admin ({level})" if level == 100 else f"Admin ({level})" if level == 100 else
f"Moderator ({level})" if level >= 50 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( def format_defaults_dict(