๐Ÿ—ณ๏ธ Vote for CodeBot on top.gg: every vote brings 6 hours of Supporter perks and a coin reward. Vote

Make your own slash command

Custom commands are added to your server as real slash commands: members see them in the list when they type /. They can send a message, give or take a role, and be open to one role only.

  1. Create the command

    Give it a name and a description, then write the message it sends in the window that opens. The command shows up in your server within seconds.

    /customcommand create name:rules description:The server rules

  2. Use variables

    In the message, {user}, {user.name}, {server}, {members}, {channel} and {uses} become real values. With input on, what the member types becomes {input}.

  3. Give a role

    The command can give, take or toggle a role for whoever uses it, so with something like /notify members take the announcements role themselves.

    /customcommand create name:notify description:Get or drop the announcements role role:@Announcements role-mode:Give or take (toggle)

  4. Choose who can use it

    Open the command to one role with allowed-role; with private only the person who used it sees the reply.

    /customcommand edit command:rules private:True

Commands in this guide

Every option is on the commands page.

    Questions people ask

    How many commands can I make?

    Three free, fifty with ๐Ÿ’Ž Premium. CodeBotโ€™s own command names cannot be used.