mirror of
https://github.com/fluxerapp/fluxer.git
synced 2026-09-02 21:04:06 +03:00
feat(ban): accept delete_message_seconds and app options (#2086)
This commit is contained in:
@@ -11854,7 +11854,14 @@
|
||||
"minimum": 0,
|
||||
"maximum": 7,
|
||||
"format": "int32",
|
||||
"description": "Number of days of messages to delete from the banned user (0-7)"
|
||||
"description": "Number of days of messages to delete from the banned user (0-7). Deprecated in favor of delete_message_seconds."
|
||||
},
|
||||
"delete_message_seconds": {
|
||||
"type": "integer",
|
||||
"minimum": 0,
|
||||
"maximum": 604800,
|
||||
"format": "int32",
|
||||
"description": "Number of seconds of messages to delete for the banned user (0-604800, default 0)"
|
||||
},
|
||||
"reason": {"description": "The reason for the ban (max 512 characters)", "nullable": true, "type": "string"},
|
||||
"ban_duration_seconds": {
|
||||
|
||||
Reference in New Issue
Block a user