Skip to content

Modules

Translate

React with a flag, reply with a language, or type the command.

Somebody writes in a language you do not read. React to their message with a flag, and the translation appears underneath it. Replying to the message with nothing but the language does the same, and so does the command.

Or just tell the bot#

Say it in chat
dispresso translate bonjour tout le monde
turn off the translator
don't translate in #general
don't translate my messages
is the translator on

The first is a fourth way in, for anybody. The next two are staff switches (Manage Server), the fourth is any member keeping their own messages out of it, and the last says what it does in your server right now. Start with dispresso or mention it. It asks for anything it still needs, writes the same settings the dashboard writes, and the whole list of sentences is on Talk to Dispresso.

The three ways in#

A flag reaction. πŸ‡ͺπŸ‡Έ on a message answers in Spanish, πŸ‡―πŸ‡΅ in Japanese. Most languages answer to several flags, so πŸ‡¬πŸ‡§, πŸ‡ΊπŸ‡Έ and πŸ‡¦πŸ‡Ί all mean English, and πŸ‡§πŸ‡· and πŸ‡΅πŸ‡Ή both mean Portuguese.

A reply that is only a language. Reply with english, espaΓ±ol, to spanish, a flag on its own, or just translate, which means English. A please on the end is fine. Anything longer than a few words is taken as you talking, not as a request.

The command. !translate spanish hello there translates what you typed, and !translate spanish sent as a reply translates the message you replied to. !tr is the short form, /fun translate the slash one, and its language box offers the list as you type.

Two letter codes are risky in a reply

hi, no and it are ordinary English words as well as the codes for Hindi, Norwegian and Italian, so a bare one in a reply is left alone and your message stays a message. Write the language out, or put to in front of it. In the command they work as codes.

What comes back#

One reply under the original, with the flag and the language as its title, the translation as the body, and a footer saying which language it came from and who asked. It never pings anybody.

Ten people pressing the same flag on the same message get one reply between them: the first press claims that message and language for an hour. A different flag on the same message is a separate ask and gets its own card. A message with no text in it, a picture posted on its own, gets a short notice that clears itself instead.

Turning it off, or down#

Translate answers in every server without being switched on, since a flag press and a typed language are both something a member asked for. The first time it answers in your server it tells your staff how to switch it off, once: a line in your log channel if you have one, otherwise one extra sentence under that first card.

Staff (Manage Server) can say any of these, or use the tile in /botdashboard or the Translate page on the dashboard, which has the same switches.

Copy and paste
dispresso turn off the translator        the whole server (also: stop translating, no more translations)
dispresso turn translation back on
dispresso don't translate in #general     never in that channel
dispresso translate only in #international   only in the channels you name
dispresso translate everywhere again      clear both lists
dispresso turn off flag translations      flags off, language replies still work
dispresso only translate replies          the same, said the other way
dispresso translate on both flags and replies

Any member can say dispresso don't translate my messages. Nobody else can translate their messages in that server after that, by flag, reply or command, until they say dispresso you can translate me again. A thread counts as the channel it lives in. In the bot's own DMs there is nothing to configure and it simply works.

Dispresso needs to see the channel, read its history, send messages and embed links, or the flag press goes nowhere. The typed command has a light limit of six a minute each, which the flag and the reply do not share.

Commands#

  • !translatealso /fun translate
    `!translate spanish hello`, or reply to a message with `!translate spanish`.