Skip to content

Automate

Custom commands

Make your own commands, like !rules or !ip. They can mention the person, show server info, change for staff, and send embeds.

1 min read Needs Administrator (you)6 commands documented

Make one

!ip replies with your server address
!addcmd ip The server IP is play.example.com

Names can use letters, numbers and underscores. Change one with !editcmd, see one with !viewcmd, list them with !listcmds and delete one with !delcmd.

Variables

TypeBecomes
{user}
A ping of whoever used the command
{user.name}, {user.display}
Their username, display name
{avatar}
Their avatar link
{server}, {server.members}
Server name, member count
{channel}
The channel

Show text only to some people

Wrap text in {if:...} and {/if}. It only shows when the condition is true:

ConditionTrue when
{if:admin}
They're an Administrator.
{if:mod}
They can manage messages, kick or ban.
{if:role:VIP}
They have the VIP role.
{if:channel:general}
It's used in #general.
Different text for staff
!addcmd staff Hi {user}!{if:mod} Your mod tools are in #staff.{/if}

Send an embed

Start the response with {embed}, then one setting per line:

An embed custom command
!addcmd rules {embed}title=Server rulesdescription=Be kind. No spam. Have fun.color=purplefooter=Thanks {user.display}!field=Need help?::Open a ticket in #support::false

Settings: title, description, color (a name like purple or a hex code), footer, thumbnail, image, author, and field=Name::Value::true (true puts fields side by side).

Check how a response comes out first with !testcmd <text>.

Command reference

6 commands, straight from the bot's code. <angle brackets> mark required arguments and [square brackets] optional ones; an alias replaces the last word of the command.

Commands6 commands

  • !addcmd <name> <response>

    Create a custom script command.

    Aliasesaddscriptscriptadd

  • !delcmd <name>

    Delete a custom command.

    Aliasesdelscriptremovecmd

  • !editcmd <name> <response>

    Edit an existing custom command.

    Aliaseseditscriptsetcmd

  • !listcmds

    List all custom commands in this server.

    Aliaseslistscriptscmds

  • !testcmd <raw_text>

    Test how a custom command parses.

    Aliastestscript

  • !viewcmd <name>

    View a custom command's response.

    Aliasesviewscriptcmdinfo

Stuck on something?

Ask the Pleed team and community in the support server — or browse every public command in the command explorer.