forked from MarseyWorld/MarseyWorld
dfsfds
parent
3d1ac2771a
commit
1119094349
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue