Describe power levels <0 as "muted" in event text
This commit is contained in:
parent
d5212b0f84
commit
d48f96f219
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user