https://github.com/antoinemcx/multi-language-discord-bot
Multi-language Discord Bot (discord.js 14) exemple (fr/en) with command & event handler.
https://github.com/antoinemcx/multi-language-discord-bot
discordbot discordjs-v14 internationalization-example multilanguage translate-discordbot
Last synced: about 1 year ago
JSON representation
Multi-language Discord Bot (discord.js 14) exemple (fr/en) with command & event handler.
- Host: GitHub
- URL: https://github.com/antoinemcx/multi-language-discord-bot
- Owner: antoinemcx
- License: mit
- Created: 2020-07-30T18:33:53.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-11-23T19:58:16.000Z (over 1 year ago)
- Last Synced: 2025-04-06T05:59:37.591Z (about 1 year ago)
- Topics: discordbot, discordjs-v14, internationalization-example, multilanguage, translate-discordbot
- Language: JavaScript
- Homepage: https://antoinemcx.fr/discord
- Size: 21.5 KB
- Stars: 18
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Multi-Language-Discord-Bot
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.
## About
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](https://www.npmjs.com/package/quick.db) package.
Of course, you're free to implement any other DBMS (database management system).
## Starting the project
### Configuration
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
```
### Installation
```sh
$ npm install
```
### Start the bot
```sh
$ node index.js
```
## More
For any errors found, please contact me [here](https://discord.com/invite/G6WQsMQShZ) or do a pull request.
This repository is licensed under the MIT License. See the `LICENSE` file ([here](LICENSE)) for more information.
###### This repository was made with ❤️ from my [Structure-Discord-Bot](https://github.com/antoinemcx/Structure-Discord-Bot/tree/master) template repository.