FiveUnityManual

Utility commands

The Utility category is the general toolbox: embeds, giveaways, polls, keyword replies, custom commands, self role panels, stats channels, sticky messages, translation, verification and the Tebex integration. See How commands work for the option table format and the permission model.

Note

Most Utility commands land on the Admin step of the default ladder, so anyone from Admin upwards has them, along with the server owner and Discord Administrators. The exceptions are marked per command: /help, /leaderboard, /ping and /store are open to every member; /echo is limited to the server owner and cannot be granted to anyone else; and /fivem-heal, /fivem-revive and /fivem-clothing are in the FiveM permission category, which starts at Management by default. See Permissions.

#/echo

Sends a message as the bot. Server owner only.

OptionRequiredWhat it is
messageYesThe message to send, up to 2,000 characters (Discord's limit for one message).
channelNoThe text or announcement channel, or thread, to send it in. Defaults to the channel you are in.

Mentions inside the message are written out but never ping anyone, so you cannot use /echo to mass-ping the server. Every use is written to your command log.

Because anything sent this way looks like it came from the bot itself, /echo is the one staff command that is not on the permission ladder at all. Only the account that owns the Discord server can run it: an Administrator, a Management group, even a group holding every permission (*) gets Access Denied. There is no setting that opens it up, so if you want a staff member to be able to post as the bot, build them a message in the embed builder instead.

Who can use it: the server owner only ยท Discord permission: Administrator (Discord has no owner-only setting, so the command hides itself from everyone below Administrator and then refuses anyone who is not the owner).

text
/echo message:Server restarting in 10 minutes. channel:#announcements

#/embed

Manages custom and saved embeds.

OptionRequiredWhat it is
createn/aSubcommand: build a new embed in a pop-up form (title, description, colour, footer) and send it.
create channelYesThe text or announcement channel, or thread, to send the embed in.
sendn/aSubcommand: send one of your saved embeds.
send nameYesThe name of the saved embed, from autocomplete.
send channelYesThe text or announcement channel, or thread, to send it to.
listn/aSubcommand: list your saved embeds (the first 40, then how many more there are).
get-textn/aSubcommand: get the raw text of a saved embed so you can copy it. Text too long for one message comes as a .txt file.
get-text nameYesThe name of the saved embed, from autocomplete.
deleten/aSubcommand: delete one of your saved embeds.
delete nameYesThe name of the saved embed to delete, from autocomplete.
postn/aSubcommand: post a server embed template built on the dashboard, every message in order.
post templateYesThe name of the server template, from autocomplete.
post channelYesThe channel, forum or thread to post the template in. A forum gets a new post titled by the first message's forum post title.
post message-idNoEdit this existing message with the template's first message instead of posting it. FiveUnity can edit messages it sent itself or through its own webhook.
updaten/aSubcommand: edit the messages a server template posted last time, in place, wherever they went.
update templateYesThe name of the server template, from autocomplete.
templatesn/aSubcommand: list the server embed templates built on the dashboard.

Saved embeds are personal; only you can send or delete the ones you saved. Templates belong to the server and are built on the dashboard. Posting a template that pings @everyone needs Mention Everyone, and one that posts under a custom name and avatar needs Manage Webhooks, from you as well as the bot. See Embeds.

Who can use it by default: the Admin group and above, plus the server owner and Discord Administrators ยท No Discord permission is set, so FiveUnity's permission check does the gating.

text
/embed post template:rules channel:#rules
/embed update template:rules

#/giveaway

Manages giveaways.

OptionRequiredWhat it is
startn/aSubcommand: start a new giveaway.
start prizeYesWhat the prize is.
start durationYesHow long the giveaway lasts, written as 30m, 1h, 2d and so on.
start winnersYesHow many winners to draw.
start channelYesThe text or announcement channel to post the giveaway in.
start show_countNoWhen true, the giveaway message shows a live count of how many people have joined.
endn/aSubcommand: end a running giveaway now and draw its winners.
end giveawayYesThe giveaway to end. Start typing its prize and pick it from the list.
rerolln/aSubcommand: draw a new winner for a finished giveaway, for a winner who never claimed. Only entrants who have not won it yet can be drawn.
reroll giveawayYesThe finished giveaway. Start typing its prize and pick it from the list.
reroll winnersNoHow many new winners to draw. Defaults to 1.
canceln/aSubcommand: cancel a running giveaway without drawing anyone.
cancel giveawayYesThe giveaway to cancel.

Members join with Enter and can withdraw with Leave on the giveaway message. The Modules page in the web panel lists live and recent giveaways with each one's entrant count and winners, and has the same End now, Cancel and Reroll actions. If giveaways are switched off under Modules, the command says so and does nothing. See Modules and utilities.

Who can use it by default: the Admin group and above, plus the server owner and Discord Administrators ยท No Discord permission is set, so FiveUnity's permission check does the gating.

text
/giveaway start prize:Custom vehicle slot duration:2d winners:1 channel:#giveaways show_count:True

#/help

Lists all available commands or info about a specific command.

OptionRequiredWhat it is
commandNoThe command to get help for, from autocomplete. Leave it out for the category menu.

/help can never be turned off and is open to every member. For members it lists only the commands they can run, and hides categories with nothing in them for that member; Administrators see every command. See How commands work.

Who can use it by default: every member. What it lists depends on what the member may run.

text
/help command:ticket

#/keyword

Manages keyword replies: the bot answers a member who @mentions it with a keyword.

OptionRequiredWhat it is
createn/aSubcommand: create a custom keyword response.
create keywordYesThe word or phrase to respond to. Stored in lower case.
create responseYesThe message the bot will send, up to 4,000 characters.
deleten/aSubcommand: delete a keyword response.
delete keywordYesThe keyword to delete, from autocomplete.
listn/aSubcommand: list all active keyword responses.
defaultsn/aSubcommand: pick a ready-made response from a drop-down and add it to your server.
editn/aSubcommand: change the response for an existing keyword.
edit keywordYesThe keyword to edit, from autocomplete.
edit new-responseYesThe new message the bot will send, up to 4,000 characters.

A keyword reply is sent only when a member @mentions the bot with the keyword ("@FiveUnity rules"), and only while the keyword responder is switched on under Modules. Plain chat is never read for keywords. See Modules and utilities.

Who can use it by default: the Admin group and above, plus the server owner and Discord Administrators ยท No Discord permission is set, so FiveUnity's permission check does the gating.

text
/keyword create keyword:rules response:Read the rules in #rules before you connect.

#/cmd

Runs one of your server's custom commands (Dashboard โ†’ Content โ†’ Custom commands). The reply is posted in the channel for everyone.

OptionRequiredWhat it is
nameYesThe custom command. Start typing to see the ones you may use in this channel.
userNoWho the reply is for. Fills {user}.
textNoExtra text the command uses. Fills {args}.

Who can use it: set per custom command: staff, chosen roles, or everyone. Someone who may not use a command, or hits its cooldown, gets a private note.

text
/cmd name:transfer user:@Customer text:Sheisty3

See Custom commands.

#/leaderboard

View server leaderboards.

OptionRequiredWhat it is
typeYesWhich leaderboard to view: Cash, Bank or Playtime.

Shows the top ten players. It only has data once your FiveM server is syncing player stats. See FiveM commands.

Who can use it by default: every member.

text
/leaderboard type:Playtime

#Open in Embed Builder

Opens a message in the dashboard's Embed Builder, the way Discohook's Restore to Discohook does.

This is not a slash command. Right-click (or long-press) any message, choose Apps โ†’ Open in Embed Builder, and follow the link. If FiveUnity posted the message (as itself or through its webhook), sending from the builder edits it in place; any other message opens as a copy. The dashboard checks that you can read that channel. See Embeds.

Who can use it by default: the Admin group and above, plus the server owner and Discord Administrators ยท No Discord permission is set, so FiveUnity's permission check does the gating.

#/ping

Replies with Pong and the bot's response times, only to you: the gateway latency and how long your command took to get a reply, for example Pong. Gateway 42 ms, reply 120 ms.

No options. Use it to confirm the bot is online and responding in your server. It does not post anything to your log channels.

Who can use it by default: every member.

text
/ping

#/poll

Creates a poll for the server to vote on.

OptionRequiredWhat it is
questionYesThe question for the poll.
channelYesThe text channel to send the poll to.
option-1YesThe first choice.
option-2YesThe second choice.
option-3NoThe third choice.
option-4NoThe fourth choice.
option-5NoThe fifth choice.

FiveUnity posts the poll and adds a numbered reaction for each choice. If polls are switched off under Modules, the command says so and does nothing.

Who can use it by default: the Moderator group and above, plus the server owner and Discord Administrators ยท No Discord permission is set, so FiveUnity's permission check does the gating.

text
/poll question:Next event night? channel:#polls option-1:Friday option-2:Saturday

#Save Embed

Saves an embed from an existing message so you can re-send it later with /embed send.

This is not a slash command. Right-click (or long-press) a message that contains an embed, choose Apps โ†’ Save Embed, and give it a name in the pop-up form. Names have to be unique per person. A saved embed is one embed: when the message has more embeds or text of its own, only the first embed is kept and the reply tells you so. To keep the whole message, use Apps โ†’ Open in Embed Builder and save it there. See Embeds.

Who can use it by default: the Admin group and above, plus the server owner and Discord Administrators ยท No Discord permission is set, so FiveUnity's permission check does the gating.

#/selfroles

Build panels members use to give themselves roles.

OptionRequiredWhat it is
createn/aSubcommand: create an empty self role panel.
create nameYesShort name used to manage the panel later.
create titleNoHeading shown on the panel embed.
create descriptionNoBody text shown on the panel embed.
create styleNoHow members pick roles: Buttons or Dropdown.
create modeNoWhether members can hold Multiple roles from the panel or One role only.
create max_rolesNoCap on roles from this panel, 0 to 25. 0 means unlimited.
create required_roleNoA role a member must already have to use the panel.
addn/aSubcommand: add a role to a panel.
add nameYesThe panel to add to.
add roleYesThe role members can give themselves.
add labelNoButton or option label. Defaults to the role name.
add descriptionNoExtra line shown on dropdown options.
add emojiNoEmoji shown next to the role.
removen/aSubcommand: remove a role from a panel.
remove nameYesThe panel to remove from.
remove roleYesThe role to drop.
sendn/aSubcommand: post the panel to a channel, replacing any earlier copy.
send nameYesThe panel to post.
send channelYesWhere to post it.
listn/aSubcommand: list every self role panel in this server, with its style, mode, role count and where it is posted.
deleten/aSubcommand: delete a panel and its posted message.
delete nameYesThe panel to delete.

A role is refused if FiveUnity cannot hand it out, for instance when the role sits above the bot's own. See Roles.

Who can use it by default: the Admin group and above, plus the server owner and Discord Administrators ยท Discord permission: Manage Roles.

text
/selfroles create name:pings style:Buttons mode:Multiple roles

#/tempreactroles

Panels where members press Get for a role and Remove to drop it, and the role comes off on its own when its time is up. For event pings and staff duty.

OptionRequiredWhat it is
createn/aSubcommand: create an empty panel.
create nameYesShort name used to manage the panel later.
create durationNoHow long a role lasts after a press, such as 8h or 1h30m. Defaults to 1d when no timing is given.
create closes_inNoClose the panel and take its roles off after this long, such as 3h.
create titleNoHeading shown on the panel.
create descriptionNoText shown under the heading.
create modeNoAny number of roles, or One role at a time (swaps).
create required_roleNoA role a member must already have to use the panel.
create remove_labelNoText on the Remove button, such as Go off duty.
addn/aSubcommand: add a role to a panel.
add nameYesThe panel to add to.
add roleYesThe role members can take for a while.
add labelNoButton text. Defaults to the role name.
add emojiNoEmoji shown on the button.
removen/aSubcommand: take a role off a panel. Members who have it keep it until their timer runs out.
editn/aSubcommand: change any of the create options. off clears duration or closes_in (one must stay), reset clears remove_label, and @everyone clears required_role.
sendn/aSubcommand: post the panel to a channel, replacing any earlier copy.
holdersn/aSubcommand: who holds a role from the panel and when it comes off.
clearn/aSubcommand: take the panel's roles off everyone now.
listn/aSubcommand: every panel with its timing and where it is posted.
deleten/aSubcommand: delete a panel and its posted message.
delete clear_rolesNoAlso take the panel's roles off everyone now. Otherwise they run out on their own.

See Roles.

Who can use it by default: the Admin group and above, plus the server owner and Discord Administrators ยท Discord permission: Manage Roles.

text
/tempreactroles create name:duty duration:8h mode:One role at a time remove_label:Go off duty

#/statschannel

Manages self-updating statistic channels.

OptionRequiredWhat it is
setupn/aSubcommand: create a category with a default set of stat channels in one go. Safe to run twice: it only creates the ones you do not already have.
force-updaten/aSubcommand: immediately refresh this server's statistic channels.
createn/aSubcommand: create a single new statistic channel.
create typeYesWhat to display: Total Members, Online Members, Role Member Count, Members in Voice, Server Boost Count, Banned Member Count, Text Channel Count or Voice Channel Count.
create nameYesThe channel name template. Use {count} where the number should go. Discord caps a channel name at 100 characters once the number is filled in.
create roleNoThe role to count. Only needed for the Role Member Count type.
deleten/aSubcommand: delete a statistic channel.
delete channelYesThe stat channel to delete.

Stat channels stop refreshing while the stats channels module is switched off. FiveUnity needs Manage Channels to create them.

Who can use it by default: the Admin group and above, plus the server owner and Discord Administrators ยท No Discord permission is set, so FiveUnity's permission check does the gating.

text
/statschannel create type:Total Members name:๐Ÿ‘ฅ Members: {count}

#/sticky

Manages sticky messages in channels.

OptionRequiredWhat it is
setn/aSubcommand: set or update a sticky message in a channel.
set channelYesThe channel to set the sticky message in.
set messageNoThe message to stick to the bottom of the channel, up to 2,000 characters. Leave it out to write it in a form instead, which takes line breaks and opens filled with the current sticky.
removen/aSubcommand: remove the sticky message from a channel.
remove channelYesThe channel to remove it from.

The sticky message is re-posted at the bottom of the channel as people talk, so it stays visible. It only does that while sticky messages are switched on under Modules. Setting a sticky in a channel that already has one replaces it: the old copy is deleted and the new one is posted at the bottom.

Who can use it by default: the Admin group and above, plus the server owner and Discord Administrators ยท No Discord permission is set, so FiveUnity's permission check does the gating.

text
/sticky set channel:#support message:Open a ticket rather than asking here.

#/store

Displays the link to the community store.

No options. If no store link is configured you get a private notice instead. Set the Store link field in your community settings, or through /setup. See Community.

Who can use it by default: every member.

text
/store

#/tebex

Manages the Tebex integration.

OptionRequiredWhat it is
setupn/aSubcommand: set up the Tebex integration for the server.
setup methodYesDirect Discord Webhook for simple logging, or Express Server for advanced sync.
setup log-channelNoThe channel to send webhook logs to. Required for the Direct Webhook method.
lookupn/aSubcommand: look up the five most recent purchases for a user.
lookup userYesThe user to look up purchases for.
verifyn/aSubcommand: confirm a purchase code from Express webhook history (and live Tebex when a Game Server secret is accepted).
verify codeYesThe transaction id from the purchase email or control panel (usually starts with tbx-).
forcecheckn/aSubcommand: re-post up to ten purchases from the last 14 days that nobody has marked as processed.

Choosing Express Server gives you a button that opens a private form for your Tebex secret key, so the key never appears as a command option or in your logs. The Direct Webhook method is simpler but does not support /tebex lookup or /tebex verify. See Tebex store.

Who can use it by default: the Senior Admin group and above, plus the server owner and Discord Administrators ยท Discord permission: Administrator.

text
/tebex lookup user:@Customer
/tebex verify code:tbx-xxxxxxxx

#/translate

Translates text privately. Only you see the result.

OptionRequiredWhat it is
textYesWhat to translate, up to 1,500 characters.
toNoThe language to translate into. Start typing a language name and pick one of the suggestions; anything not on the list is refused. Default: your Discord language.

To translate somebody else's message, right-click it (long-press on mobile) โ†’ Apps โ†’ Translate: you get a private translation into your Discord language. Each member can translate once every few seconds. If the translator is switched off under Modules, both say so and do nothing.

Who can use it: everyone.

text
/translate text:ยฟDรณnde estรก el banco? to:en

#/vanity

Manages vanity roles that users can claim if they have a specific phrase in their status.

OptionRequiredWhat it is
setupn/aSubcommand: set up the vanity role system.
setup phraseYesThe phrase members put in their status, up to 100 characters.
setup roleNoThe role to assign. Defaults to a role named "Vanity", created for you if it does not exist. A role FiveUnity cannot hand out is refused with the reason.
setup messageNoCustom message sent when a member gets the role. Use {user} and {role} as placeholders.
setup log-channelNoStaff channel that records each grant and removal.
setup showcase-channelNoPublic channel for the thank-you post. Without it, the saved showcase channel is kept, or a vanity-rewards channel is created.
removen/aSubcommand: remove a vanity role setup.
remove roleYesThe vanity role to remove.
listn/aSubcommand: list all configured vanity roles.

Setup also creates a vanity-rewards showcase channel if the server has not got one and none is picked.

Who can use it by default: the Admin group and above, plus the server owner and Discord Administrators ยท Discord permission: Manage Server.

text
/vanity setup phrase:.gg/yourserver

#/verification

Manage the verification system.

OptionRequiredWhat it is
setupn/aSubcommand: post the verification panel in the channel you run it in.

Pick the verified role first, on Dashboard โ†’ Core โ†’ Verification (or in /setup). The command refuses to post when no verified role is set, or when FiveUnity could not hand it out (the role was deleted, is managed by an integration, or sits above FiveUnity's highest role), and says which. Posting the panel also marks that channel as your verification channel and switches verification on.

Who can use it by default: the Admin group and above, plus the server owner and Discord Administrators ยท Discord permission: Manage Server.

text
/verification setup