cry docs

Set up every feature, step by step, and look up any server command. Looking for the economy game? Read the player guide.

Getting started

Add cry with the invite link. It asks for Administrator so every feature works right away. Once it joins, type .help in any channel cry can see.

Every command works the same way: type a dot and the command name. Run any command on its own, like .voicemaster, to see a help card with every subcommand, the syntax and an example.

In the syntax, ( ) means required and < > means optional. [--flags] are extra options you can add at the end.

The dashboard

Most features can be set up without commands. Open the dashboard, log in with Discord and pick your server. Each feature has a short guide, and options you rarely need are tucked under Advanced settings.

Permissions

Staff commands need the matching Discord permission: .ban needs Ban Members, .purge needs Manage Messages, and so on. cry also needs that permission, and its role has to sit above the roles it gives out or manages.

Want a role to use mod commands without the real Discord permission? Use .fakepermissions add @role ban_members. It only works inside cry, so nobody can misuse it elsewhere. Only the server owner can set fake permissions.

Prefix & disabling commands

cry uses . by default. Change it with .prefix set !, and go back with .prefix reset. Staff can always use the prefix and disable commands, so nobody gets locked out.

  • .disablecommand rob #general turns one command off in a channel. Leave out the channel to turn it off everywhere.
  • .disablemodule economy turns off a whole group, like the economy game or fun commands.
  • .restrictcommand add play @dj lets only a role use a command.
  • .ignore add #memes makes cry ignore commands in a channel or from a member.

Antinuke & antiraid

Antinuke stops someone with staff permissions from wrecking the server. Only the owner and antinuke admins can change it.

  1. Run .antinuke setup.
  2. Turn on what you want to protect against, e.g. .antinuke ban on --threshold 3 --do ban. That punishes anyone who bans 3 people within a minute.
  3. Whitelist people you trust with .antinuke whitelist add @user, and bots with .antinuke botadd on so unknown bots get kicked.

Antiraid catches join floods and fake accounts: .antiraid massjoin on --threshold 7 --do kick, .antiraid age on for brand-new accounts and .antiraid avatar on for accounts with no avatar. For spam bots, a .honeypot set #do-not-type channel bans anything that types in it.

VoiceMaster

Members join one channel and get their own voice channel they can lock, hide, rename and limit.

  1. Run .voicemaster setup. cry makes the category, the join channel and the button panel.
  2. Members join join to create and control their channel with the panel or .vm lock, .vm limit 4, .vm permit @friend.
  3. Change the defaults with .vm default name {user.display_name}'s room or in the dashboard.

Social alerts

Post in a channel when a creator uploads or goes live. Add a message above the alert, like a role ping, with the message subcommand.

PlatformCommandPosts when
YouTube.ytalerts add @MrBeast #alertsthey upload or go live
Twitch.twitch add kaicenat #alertsthey go live
Kick.kickalerts add xqc #alertsthey go live
SoundCloud.soundcloud add artist #musicthey upload a track
Reddit.reddit add r/discordapp #feeda new post goes up

Variables for the message: {creator}, {title}, {url} and {platform}. Example: .twitch message kaicenat @here {creator} is live: {title}. Use test to preview it. TikTok, Instagram and X don't offer a free way for bots to watch accounts, so they aren't supported yet.

Music

Join a voice channel and type .play with a song name, or a YouTube, SoundCloud or Spotify link. YouTube playlists work too. The now-playing card has buttons to pause, skip, shuffle, repeat and stop.

  • .queue shows what's next. .queue remove 3 and .queue move 5 1 rearrange it.
  • .seek 1:30, .ff 15 and .rw 15 move around in the song.
  • .preset bassboost adds an effect: bassboost, nightcore, vaporwave, 8d, slowed, speed or karaoke.
  • .volume 50, .repeat track and .stop do what they say.

Only people in the same voice channel can control the music. cry leaves on its own after a few minutes with nothing playing.

Giveaways

Start one with .gw 1h 1 nitro: a time, the number of winners and the prize. Members enter with the 🎉 button. Add entry rules anywhere before the prize:

  • vc: must be in a voice channel
  • role:@vip: must have a role
  • level:10: must be level 10 or higher
  • age:30: account must be older than 30 days

End early with .gw end and pick new winners with .gw reroll. Server boosters skip the entry rules.

Variables & embeds

Welcome messages, autoresponders, sticky messages, timers and alerts all accept variables. They're swapped for real values when the message is sent.

VariableBecomes
{user.mention}a ping of the member
{user.name} / {user.display_name}their username / display name
{user.avatar}their avatar link
{user.join_position}which member number they are
{guild.name} / {guild.count}the server name / member count
{guild.boost_count}number of boosts
{channel.mention}the channel
{date.now} / {time.now}today's date / the time

Wrap a variable in a function to change it: {upper(user.name)}, {lower(...)}, {title(...)}, {proper(guild.count)} adds commas, {len(...)} counts characters.

To send an embed instead of plain text, start with {embed} and separate the parts with $v:

{embed}$v{title: welcome {user.name}}$v{description: you're member #{guild.count}}$v{color: #a6c4ec}$v{thumbnail: {user.avatar}}$v{button: rules && https://discord.com/channels/…}

Parts you can use: content, title, description, color, url, image, thumbnail, author, footer, field, timestamp and button. Build one with .embed, or copy an existing message's script with .copyembed (message link).

Command reference