This commit is contained in:
Aevann1 2021-11-05 16:36:23 +02:00
parent c8df6e2b17
commit c5477bbee7
2 changed files with 3 additions and 3 deletions

View file

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