-
-
Notifications
You must be signed in to change notification settings - Fork 3
i18n
LucasAlt edited this page Jul 18, 2022
·
3 revisions
You can add languages to the robot so that it is translated and accessible to everyone!
To do this, nothing could be simpler, just copy the file ./lang/en.js then rename it following the ISO 639-1 nomenclature.
Once the file is copied, you can translate all the emojis.
β Attention, if you want to add an emoji that is not present in the following list. Please create an issue for each emoji you want to add.
export const emojis = [
{
id: 'spookybot', // Do not delete this emoji in you translation file
emoji: '761602615326146590',
words: ['spooky'],
},
...
] {
id: '', // Emoji unique ID (see list below)
emoji: '', // Emoji (see list below)
words: ['', '', ''], // Array of word that need to trigger the reaction
}| Emoji | ID |
|---|---|
| Custom SpookyBot emoji | spookybot |
| π½ | alien |
| π¦ | bat |
| 𦴠| bone |
| π§ | brain |
| π§Ή | broom |
| π¬ | candy |
| π» | ghost |
| π | lollipop |
| π | pumpkin |
| π | skull |
| π§ | vampire |
| π§ββοΈ | witch |
| π§ββοΈ | zombie |