Using a custom language file
GCommands also allows you to customize the messages it sends. Here's the default language fileopen in new window
new GCommandsClient({
/* ... */
language: "italian", // english, spanish, portuguese, russian, german, czech, slovak, turkish, polish, indonesian, italian, french
ownLanguageFile: require("./message.json"),
});
1
2
3
4
5
2
3
4
5
Copy the default language file, and modify it however you want.
TIP
You can help us out by adding new languages. You can do that by going hereopen in new window, editing the file, and submitting it.