lang stuff

This commit is contained in:
Erik 2020-07-26 23:08:30 +03:00
parent 7036b9abff
commit 36cde5aa01
2 changed files with 4 additions and 1 deletions

View File

@ -16,7 +16,7 @@ class LocaleLoader {
template(locale, index) {
// console.log(String.raw`${this.languages[locale][index]}`);
return (this.languages[locale] ? this.languages[locale][index] : `Locale \`${locale}\` does not exist.`) || `Entry \`${locale}:${index}\` does not exist.`;
return (this.languages[locale] ? this.languages[locale][index] : `Locale \`${locale}\` does not exist.`) || `Language entry \`${locale}:${index}\` does not exist.`;
}

View File

@ -50,6 +50,9 @@ __**{component} HELP**__
Shows information about the bot and component usage.
To show help for commands `{prefix}help [command]`
[C_HELP_404]
Dude stop, {component} doesn't exist!
//Guild command
[C_GUILD_DESCRIPTION]