Skip to content
Moderation bulkBan

$bulkBan

Bans up to 200 users at once, even if they are not in the server. Bot Creator function, not in the official BDFD wiki.

Syntax

$bulkBan[userIDs;(deleteSeconds);(reason);(guildID)]

Parameters

Parameter Description
userIDs Required. User IDs separated by commas or spaces.
deleteSeconds Optional. Messages sent during this many seconds are deleted, 0 to 604800.
reason Optional. Reason recorded in the server audit log (512 characters at most).
guildID Optional. The ID of the server. Empty or absent: the current server.

Return Value

  • The number of users banned.

Example

$bulkBan[111 222 333;3600;Raid]

Try it

Paste an example into the playground to preview its message (functions that act on Discord are not run), or build the same thing with blocks.