The bot's language and messages
Make the bot speak French or English, or rewrite any of its texts (replies, errors, help…).
On this page
The bot speaks French or English. And all of its texts live in a language file: you can download it, change the sentences you want, and send it back to the bot. It will then speak with your words.
Owners only
These commands are for the bot's owners. They apply to all of the bot's servers.
In short
*set lang english: the bot speaks English;*get lang: the bot sends its language file;*lang customwith the edited file attached: the bot speaks with your words.
Changing the bot's language
*set lang english switches the bot to English, *set lang français puts it back in French (en and fr work too). Everything changes at once: its replies, its games and its help (*help).
A Community server whose primary language, chosen in its Discord settings, is French or English keeps its own: the bot answers there in that language, whatever the bot's language. What the bot sends its owners in DMs stays in the bot's language.
A game keeps its language for all its players. Only a refusal, when a member doesn't play the game or can't afford to join it, and what the bot shows a single player of a game several members share, such as their pick at rock-paper-scissors, are in that member's Discord language, when it is French or English.
Changing a message, step by step
1. Download the file
Type *get lang. The bot sends you the file of its current language; *get lang english sends the English one, *get lang français the French one. If you already have a custom file for that language, it sends that one too: that is the one to edit.
2. Find the sentence
Open the file in a text editor: Windows Notepad is enough, a code editor such as Visual Studio Code is more comfortable.
Search for the sentence with Ctrl + F, typing part of the current message. For the message of *free when there is still time to wait (in English), search for before you can use. You find:
free:
wait: 'You must wait {DURATION} more before you can use this command again'
3. Change the sentence
Change the text between the quotes, for example:
wait: 'Not so fast! Come back in {DURATION} for a new bonus, it''s worth it'
The rules to follow:
- Words in CAPITALS between braces are variables:
{DURATION}becomes the time left to wait. Keep them as they are; you can move them around in the sentence. - An apostrophe is written twice in a text between quotes:
'doesn''t'. Elsewhere (after|-, or in a line without quotes around it), write it normally:doesn't. - For a message over several lines, use
|-then one line per line of text, indented by two spaces:
wait: |-
Not so fast!
Come back in {DURATION} for a new bonus
Your file only needs the sentences you change: the others stay those of its language.
4. Send the file back

Save the file as UTF-8, then send it to the bot as an attachment to the message *lang custom (or reply to the message holding the file with *lang custom).
The bot checks the file before installing it: unknown key, a variable that doesn't exist, an empty or malformed text… If it finds a mistake, it tells you where, and nothing is changed.
*lang custom offgoes back to the original texts;*lang custom onbrings your texts back.
Each language has its own custom file. Without a language, *lang custom acts on the bot's language's; for the other one, give the language before the rest: *lang custom english with the file attached, *lang custom english off. When you change the bot's language, the new language's file applies.
Finding the right message
Can't find the sentence? It probably contains a variable or some formatting. Switch the bot to developer mode with *set lang dev: instead of its texts, it shows the name of each message.
Then do the action whose message you want to change. For example, *free typed too early answers free.wait: that is the wait key, in the free part of the file.
Don't forget
Switch the bot back with *set lang english when you are done: in developer mode, all your servers see the messages' names.
Special sentences
Some sentences change with a number or a word. They have a particular shape to respect.
Plurals
{COUNT, plural,
=0 {0 roles deleted}
=1 {1 role deleted}
other {# roles deleted}
}
COUNT is the variable holding the number, and plural must not be changed. Each line gives the text for a number: =0 for 0, =1 for 1… other is required: it is used for every other number. In the text, # is replaced by the number.
Choices by word
{TEXT, select,
option1 {first option}
option2 {second option}
other {something else}
}
The same idea, with words instead of numbers: the text shown depends on the value of TEXT. other is required here too.
Several versions at random
Give a list instead of a sentence, and the bot picks one at random each time:
wait:
- Not so fast, come back in {DURATION}
- '{DURATION} to wait: the bank is closed'
A line that starts with a brace, or holds a colon followed by a space, must be wrapped in quotes, like the second one above.
If it doesn't work
- The bot refuses the file: read its message, it gives the line and the key at fault. Most often: an apostrophe not doubled in a text between quotes, or a renamed variable.
- Two apostrophes show in a row: the text isn't between quotes, write only one.
- The bot didn't react to the file: it must be attached to the same message as
*lang custom. - My change doesn't show: check that the custom texts are active with
*lang custom on.
Every command
Each command of this guide, with its arguments and who can use it: Every command.