Skip to content

Interface: IBanOptions ​

Defined in: endpoints/moderation.ts:10

Properties ​

PropertyTypeDescriptionDefined in
durationSeconds?number | nullhow long until the ban lifts itself; omitted or null is permanentendpoints/moderation.ts:16
hideMessagesSeconds?number | "all" | nullHide what they said in the server: over this many seconds back, or "all". Hidden messages stay in the log, collapsed, and anyone can reveal one.endpoints/moderation.ts:21
message?string | nullsent to a member as a notice, and kept as the reasonendpoints/moderation.ts:12
note?string | nullfor moderators onlyendpoints/moderation.ts:14

Released under the GNU Affero General Public License v3.0.