Ban command

Ban or unban users from a server

Requires Ban Members permissions

.ban {users} |{deleteMessageDays}| |{reason}|

.unban {users} |{reason}|

{users}

A list of users you wish to mute or unmute. Separate user inputs with a space, and each argument must exactly match (Case Sensitive) one of the following formats:

Disguard can ban users not in your server, provided you pass in their ID as the input

{deleteMessageDays} - optional

Upon banning this user, Disguard will have Discord delete messages from this person sent within the past {deleteMessageDays} days. Defaults to 0 (don't delete anything) if not specified

{reason} - optional

Shows up in the audit log when banninb members

Examples

.ban applebees#7890

Bans the account named "applebees" for an indefinite period of time or until the ban is revoked


.ban "Rick Astley" rickrolling the server owner

Bans Rick Astley for rickrolling the server owner. Quotes are required for members with spaces in their names since we want both words to be processed as a single input


.unban 12345780824523525

Unbans an account with this ID