Multi-language Discord Bot (v14) example (fr/en) with command & event handler, by Melio.
If you like the project, feel free to put a ⭐ for better referencing ; If you need help, join the support server.
This program is an example of internationalization integration for a Discord Bot.
It's a very simplified example of how to implement several languages in one application.
Again with a focus on simple code, data is stored with SQLite, via the quick.db package.
Of course, you're free to implement any other DBMS (database management system).
The configuration file named .env have to be created and replace exemple.env and content the token of your discord bot, his prefix and your id or the ids of all other owners.
# Bot configuration
PREFIX=BOT_PREFIX
TOKEN=BOT_TOKEN
OWNER=YOUR_DISCORD_ID
$ npm install
$ node index.js
For any errors found, please contact me here or do a pull request.
This repository is licensed under the MIT License. See the LICENSE
file (here) for more information.