forbid mentions in sigs

This commit is contained in:
2025-12-04 05:36:57 +03:00
parent 062cab44bc
commit 73af2dc3b9
5 changed files with 10 additions and 4 deletions

View File

@@ -51,6 +51,10 @@ MOTD_BANNED_TAGS = [
'img', 'spoiler', '@mention'
]
SIG_BANNED_TAGS = [
'@mention'
]
def permission_level_string(perm):
return PermissionLevelString[PermissionLevel(int(perm))]