Skip to main content

Slash Commands

Run the bot's slash commands from Discord's message box, with the options, permissions, and replies for each one.

Who Can Use Commands

The Default permission below is the permission Discord uses to decide who sees a command by default.

Server Tool Commands

/stonker-members

Shows the server's member count and how many members the bot has seen. Default permission: Manage Server.

/stonker-emojis

Lists the server's custom emoji names, up to 50, and says how many were left out. Default permission: Manage Server.

/stonker-duplicates

Lists up to 20 display names that more than one member shares, among the members the bot has seen. Default permission: Manage Server.

/stonker-role

Adds or removes one role for one member. Default permission: Manage Roles.

OptionDescription
actionRequired, Add or Remove.
memberRequired, the member to change.
roleRequired, the role to add or remove.
confirmRequired, and nothing changes unless it is true.

/stonker-voice

Moves one member to another voice channel, or disconnects them from voice. Default permission: Move Members.

OptionDescription
actionRequired, Disconnect or Move.
memberRequired, the member to move or disconnect.
confirmRequired, and nothing changes unless it is true.
channelThe voice or stage channel to move the member to, for Move.

/stonker-bulk-ban

Bans 1 to 25 users by ID, including users who aren't members. Default permission: Ban Members.

OptionDescription
user-idsRequired, Discord user IDs separated by commas or spaces, up to 525 characters.
confirmRequired, and nothing changes unless it is true.
delete-message-secondsOptional, how much of each user's message history to delete, from 0 to 604800 seconds.

The command refuses the whole list when it includes you, the server owner, or the bot, or when a member in the list is out of reach in the role hierarchy. The reply counts how many bans succeeded and failed.

The Confirm Option

/stonker-role, /stonker-voice, and /stonker-bulk-ban change nothing unless confirm is true. A false value replies with a message such as "No role was changed because confirmation was false."

Limits

  • Replies — Plain text up to 2,000 characters.
  • Bulk ban — Up to 25 unique user IDs, written as numbers rather than mentions.
  • Registration — When the bot connects, it registers each server's commands in that server only, for the tools that are turned on and pass their checks.