This commit is contained in:
Aevann1 2021-10-13 17:21:25 +02:00
parent 60e40ff2b3
commit c4b54c7730

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"