master
Aevann1 2021-10-13 17:21:25 +02:00
parent 3d1ac2771a
commit 1119094349
1 changed files with 1 additions and 1 deletions

View File

@ -850,7 +850,7 @@ def ban_user(user_id, v):
if x.admin_level > 0: break
x.ban(admin=v, reason=reason)
send_notification(NOTIFICATIONS_ACCOUNT, user, text)
send_notification(NOTIFICATIONS_ACCOUNT, user, text[:128])
if days == 0: duration = "permanent"
elif days == 1: duration = "1 day"