Commands

Here you can find a comprehensive list of all of Quack's commands, as well as how to use them!

Parameter Structure:

<required parameter> [optional parameter]

ban

Bans a user from the server

Required Permission: BAN_MEMBERS

/ban <user> [reason] [delete_hours]
Bans a user from the server. If no reason is provided, it will default to "No reason provided". If no delete_hours is provided, it will default to 1. Delete hours is how many hours of messages sent from the user, to delete. This command will DM the user with the reason for the ban, and it will create a case with type ban.

unban

Unbans a user from the server

Required Permission: BAN_MEMBERS

/unban <user> [reason]
Unbans a user from the server. If no reason is provided, it will default to "No reason provided". This command will DM the user with the reason for the unban, and it will create a case with type unban.

kick

Kicks a user from the server

Required Permission: KICK_MEMBERS

/kick <user> [reason]
Kicks a user from the server. If no reason is provided, it will default to "No reason provided". This command will DM the user with the reason for the kick, and it will create a case with type kick.

cases add

Adds a case to a user

Required Permission: MODERATE_MEMBERS

/cases add <user> <reason>
This command essentially acts as a warn system. It will DM the user for the reason of their warn, and it will create a case with type warn, that any other mod can see later on.

cases view id

Views a case by its ID

Required Permission: MODERATE_MEMBERS

/cases view id <id>
This command will show you a case by its ID. You can find the ID of a case by using the `/cases view user` command or with the `/cases view latest` command. When users have cases added to them, they are DM'd with the case ID, so they can give it to you as well.

cases view user

Views a user's cases

Required Permission: MODERATE_MEMBERS

/cases view user <user>
This command will show you all of a user's cases. You can find the user by their ID, or by their mention.

cases view latest

Views the latest case

Required Permission: MODERATE_MEMBERS

/cases view latest
This command will show you the latest case that was added to the server. This is useful for quickly seeing what the latest case was.

cases remove id

Removes a case by its ID

Required Permission: MODERATE_MEMBERS

/cases remove id <id>
This command will remove a case by its ID. You can find the ID of a case by using the `/cases view user` command or with the `/cases view latest` command. When users have cases added to them, they are DM'd with the case ID, so they can give it to you as well.

cases remove user

Removes a user's cases

Required Permission: MODERATE_MEMBERS

/cases remove user <user>
This command will remove all of a user's cases. You can find the user by their ID, or by their mention.

cases remove latest

Removes the latest case

Required Permission: MODERATE_MEMBERS

/cases remove latest
This command will remove the latest case that was added to the server. This is useful for quickly removing the latest case if it was added by mistake.

notes add

Adds a note to a user

Required Permission: MODERATE_MEMBERS

/notes add <user> <content>
This command will add a note to a user. Notes are only visible to moderators, and they are useful for keeping track of a user's behavior without notifying the user like the cases system does.

notes view id

Views a note by its ID

Required Permission: MODERATE_MEMBERS

/notes view id <id>
This command will show you a note by its ID. You can find the ID of a note by using the `/notes view user` command or with the `/notes view latest` command.

notes view user

Views a user's notes

Required Permission: MODERATE_MEMBERS

/notes view user <user>
This command will show you all of a user's notes. You can find the user by their ID, or by their mention.

notes view latest

Views the latest note

Required Permission: MODERATE_MEMBERS

/notes view latest
This command will show you the latest note that was added to the server. This is useful for quickly seeing what the latest note was.

notes remove id

Removes a note by its ID

Required Permission: MODERATE_MEMBERS

/notes remove id <id>
This command will remove a note by its ID. You can find the ID of a note by using the `/notes view user` command or with the `/notes view latest` command.

notes remove user

Removes a user's notes

Required Permission: MODERATE_MEMBERS

/notes remove user <user>
This command will remove all of a user's notes. You can find the user by their ID, or by their mention.

notes remove latest

Removes the latest note

Required Permission: MODERATE_MEMBERS

/notes remove latest
This command will remove the latest note that was added to the server. This is useful for quickly removing the latest note if it was added by mistake.

lockdown channel

Locks down a channel

Required Permission: MODERATE_MEMBERS

/lockdown channel [channel]
This command will lock down a channel. If no channel is provided, it will lock down the channel the command was used in.

lockdown server

Locks down the server

Required Permission: MODERATE_MEMBERS

/lockdown server
This command will lock down the server. This will lock down all channels in the server, and prevent users from sending messages.

unlock

Unlocks a channel

Required Permission: MODERATE_MEMBERS

/unlock [channel]
This command will unlock a channel. If no channel is provided, it will unlock the channel the command was used in.

purge all

Purges all types of messages from a channel

Required Permission: MODERATE_MEMBERS

/purge all <amount> [channel]
This command will purge all types of messages from a channel. If no channel is provided, it will purge the channel the command was used in.

purge user

Purges a user's messages from a channel

Required Permission: MODERATE_MEMBERS

/purge user <user> <amount> [channel]
This command will purge a user's messages from a channel. If no channel is provided, it will purge the channel the command was used in.

purge quack

Purges Quack's messages from a channel

Required Permission: MODERATE_MEMBERS

/purge quack <amount> [channel]
This command will purge Quack's messages from a channel. If no channel is provided, it will purge the channel the command was used in.

purge emoji

Purges messages containing an emoji from a channel

Required Permission: MODERATE_MEMBERS

/purge emoji <emoji> <amount> [channel]
This command will purge messages containing an emoji from a channel. If no channel is provided, it will purge the channel the command was used in.

purge contains

Purges messages containing a specific text from a channel

Required Permission: MODERATE_MEMBERS

/purge contains <string> <amount> [channel]
This command will purge messages containing a specific text from a channel. If no channel is provided, it will purge the channel the command was used in.

purge bots

Purges messages sent by bots from a channel

Required Permission: MODERATE_MEMBERS

/purge bots <amount> [channel]
This command will purge messages sent by bots from a channel. If no channel is provided, it will purge the channel the command was used in.

purge embeds

Purges messages containing embeds from a channel

Required Permission: MODERATE_MEMBERS

/purge embeds <amount> [channel]
This command will purge messages containing embeds from a channel. If no channel is provided, it will purge the channel the command was used in.

purge attachments

Purges messages containing attachments from a channel

Required Permission: MODERATE_MEMBERS

/purge attachments <amount> [channel]
This command will purge messages containing attachments from a channel. If no channel is provided, it will purge the channel the command was used in.

log set channel

Sets the log channel for a specific type of log

Required Permission: MODERATE_MEMBERS

/log set channel <channel> <type>
This command will set the log channel for a specific type of log. Types can either be server, messages, or members.

log toggle

Toggles a specific type of log

Required Permission: MODERATE_MEMBERS

/log toggle <type> <subtype>
This command will toggle a specific type of log. Types can either be server, messages, or members. Subtypes are specific Discord events, such as message delete, message edit, member join, member leave, etc.