interaction-bot.com Blog Visit interaction-bot.com
Discord Bot Slash Command Builder — Interaction Bot

Interaction Bot Slash Command Builder

Build valid slash commands for translation, TTS, STT, setup, and settings — copy-paste ready for Discord.

Generated Command
Select parameters to build a command
CommandDescriptionExample
Translation
/translate <text> <target> Translate text into a target language. Source language is auto-detected. /translate Hello! es
/translate <text> <source> <target> Translate text from a known source language to a target language. /translate Bonjour fr en
/translation stats Show translation usage statistics for the server. /translation stats
Text-to-Speech
/tts <text> Read text aloud in the current voice channel using default language. /tts Welcome everyone
/tts <text> <language> Read text aloud in a specific language voice. /tts Hola a todos es
Speech-to-Text
/stt <voice_channel> <text_channel> Start transcribing a voice channel into a text channel. /stt General #voice-log
/stt <voice_channel> <text_channel> <language> Transcribe with a specific recognition language. /stt General #voice-log ja
Setup
/setup translation Walk through auto-translation setup: languages, channels, roles. /setup translation
/setup tts Configure text-to-speech channels and voice settings. /setup tts
/setup stt Configure speech-to-text transcription channels. /setup stt
/setup moderation Configure auto-moderation filters and actions. /setup moderation
Settings
/settings exclude-role <role> Skip translating messages from a specific role (e.g., moderators). /settings exclude-role @Moderator
/settings reactions Toggle emoji reactions on translated messages on or off. /settings reactions
/settings language <code> Set the default server language for translation and TTS. /settings language en
Language
/language <code> Set your personal preferred language for all bot interactions. /language ja
/language list List all supported language codes. /language list

How Interaction Bot Slash Commands Work

Interaction Bot uses Discord's native slash command system. When you type / in any channel where the bot is present, Discord shows every available command with inline help text. You do not need to memorize syntax or check a cheat sheet. The command builder above generates the exact string you type into Discord to trigger each feature.

The bot runs on over 55,000 servers and serves more than 1.5 million members, according to the Interaction Bot website. It combines translation, text-to-speech, speech-to-text, AI question answering, and moderation under a single set of slash commands — no prefix characters to remember, no separate bots to manage.

Coding interface showing how Discord bots are built with slash commands
Credit: Coding Javascript, Wikimedia Commons, via Flickr

What Each Command Does (and What People Get Wrong)

/translate — Manual Translation

/translate is the on-demand translation command. You supply the text and a target language code, and the bot replies with the translation. The source language is auto-detected, so you do not need to know what language the original text is in. The two-argument form /translate Hello! es covers most use cases.

A common mistake is assuming the bot only supports a handful of languages. Interaction Bot's translation engine covers over 100 languages. Another is treating /translate as the primary way to use the bot. The setup guide on interaction-bot.com makes clear that /translate is the fallback for one-off needs. Automatic channel translation and flag-reaction translation handle the majority of real-world usage, running in the background without anyone typing a command.

/tts — Text-to-Speech

/tts reads typed text aloud in a Discord voice channel. It is distinct from Discord's built-in /tts command, which reads one message at a time and only in the channel where it was sent. Interaction Bot's version supports over 30 languages, reads in the correct language voice (Spanish text gets a Spanish voice, not approximated English), and can be configured to run continuously on designated channels through /setup tts.

People sometimes expect TTS output to go to the same text channel they typed in. It does not. The bot needs to be in a voice channel to speak, and you or the bot must be connected to one. If you get no audio, check that the bot has the Connect and Speak permissions in your voice channel.

/stt — Speech-to-Text

/stt transcribes a voice channel conversation into a text channel in real time. Each transcribed line is tagged with the speaker's Discord name. This is especially useful for logging meetings, making gaming sessions accessible to members who are deaf or hard of hearing, and letting moderators monitor voice discussions without joining the call.

A feature people overlook: you can pair STT with Interaction Bot's translation engine. A voice conversation in French can be transcribed and translated into English in the same text channel, letting members who speak different languages follow the same discussion.

/setup — Guided Configuration

/setup is the wizard command. Rather than memorizing every configuration flag, you run /setup translation, /setup tts, /setup stt, or /setup moderation and follow the interactive prompts. The bot asks which channels to apply the feature to, which languages to use, and which roles (if any) to exclude. This is the fastest way to get a feature working on a new server.

/settings — Fine-Tuning

Once a feature is running, /settings lets you adjust individual options without re-running the full setup wizard. Settings documented on the Interaction Bot blog include /settings exclude-role @Moderator to prevent moderator messages from being translated, and /settings reactions to toggle emoji reactions on translated messages.

/language — Personal Preference

/language sets your personal preferred language for all bot interactions. When you run /language ja, the bot replies to you in Japanese, translates messages into Japanese by default when you use flag reactions, and uses Japanese TTS voices. This is a per-member setting, not a server-wide one, so each member controls their own experience.

Language codes use the two-letter ISO 639-1 standard: en, es, fr, de, ja, ko, pt, ru, zh, and over 100 more.
Source code interface representing the engine behind Discord bot commands
Credit: Source code security plugin, Wikimedia Commons, via Flickr

Why a Command Builder Matters for Server Admins

Most Discord bot documentation is a wall of text. A server admin evaluating Interaction Bot for a 500-person multilingual community does not want to read three pages to figure out how to translate a message. The command builder above gives them the exact string they need, right now, for the exact action they want to take.

For communities that link to this tool in their #resources or #bot-help channels, it also reduces the number of "how do I…" questions moderators have to answer. A new member who wants to hear messages read aloud does not need to learn every TTS parameter. They select TTS from the dropdown, fill in their text, and paste the result.

Roduz's walkthrough of setting up Interaction Bot shows the translation commands in action on a live server. At about 2:45, the video demonstrates how /setup translation walks a server admin through the full configuration:

Video: "How to setup Interaction bot Discord | Translate" by Roduz on YouTube

Language Codes Quick Reference

All Interaction Bot commands that accept a language use the two-letter ISO 639-1 code. Here are the most commonly used ones:

CodeLanguageCodeLanguage
enEnglishjaJapanese
esSpanishkoKorean
frFrenchptPortuguese
deGermanruRussian
zhChinesearArabic
itItaliannlDutch
plPolishtrTurkish