forked from Galactic/galactic-bot
147 lines
2.9 KiB
Plaintext
147 lines
2.9 KiB
Plaintext
[GENERAL_COMPONENTS]
|
|
switch({component}) {
|
|
case "command":
|
|
"command";
|
|
break;
|
|
case "setting":
|
|
"setting";
|
|
break;
|
|
case "inhibitor":
|
|
"inhibitor";
|
|
break;
|
|
}
|
|
|
|
[GENERAL_EXAMPLES]
|
|
Example Usage
|
|
|
|
[GENERAL_ALIASES]
|
|
Aliases
|
|
|
|
[GENERAL_ARGUMENTS]
|
|
Arguments
|
|
|
|
[GENERAL_CURRENT]
|
|
Current Settings
|
|
|
|
[GENERAL_SETTINGRESET]
|
|
Successfully reset the setting **{setting}** to the default value.
|
|
|
|
[GENERAL_ADDED]
|
|
added
|
|
|
|
[GENERAL_REMOVED]
|
|
removed
|
|
|
|
[PREMIUM_2]
|
|
Sorry! This is a tier 2 premium feature.
|
|
Current server tier: `{tier}`
|
|
|
|
[MISSING_ARGS]
|
|
Missing arguments.
|
|
|
|
[ON_OFF_TOGGLE]
|
|
switch({toggle}) {
|
|
case true:
|
|
'on';
|
|
break;
|
|
case false:
|
|
'off';
|
|
break;
|
|
}
|
|
|
|
[SET_RESET]
|
|
switch("{set}") {
|
|
case 'reset':
|
|
'reset';
|
|
break;
|
|
case 'set':
|
|
'set';
|
|
break;
|
|
}
|
|
|
|
//Errors
|
|
|
|
[ERR_CHANNEL_RESOLVE]
|
|
Failed to resolve `{resolveable}` to a channel.
|
|
|
|
[ERR_ROLE_RESOLVE]
|
|
Failed to resolve `{resolveable}` to a role.
|
|
|
|
[ERR_MEMBER_RESOLVE]
|
|
Failed to resolve `{resolveable}` to a member.
|
|
|
|
[ERR_USER_RESOLVE]
|
|
Failed to resolve `{resolveable}` to a user.
|
|
|
|
[ERR_INVALID_METHOD]
|
|
Method `{method}` is invalid!
|
|
|
|
//Command Handler
|
|
|
|
[COMMANDHANDLER_TYPES]
|
|
switch("{type}") {
|
|
case "STRING":
|
|
"string";
|
|
break;
|
|
case "INTEGER":
|
|
"integer";
|
|
break;
|
|
case "FLOAT":
|
|
"float";
|
|
break;
|
|
case "BOOLEAN":
|
|
"boolean";
|
|
break;
|
|
case "USER":
|
|
"user";
|
|
break;
|
|
case "MEMBER":
|
|
"member";
|
|
break;
|
|
case "CHANNEL":
|
|
"channel";
|
|
break;
|
|
case "ROLE":
|
|
"role";
|
|
break;
|
|
}
|
|
|
|
[COMMANDHANDLER_TYPE_ERROR]
|
|
Failed to parse a **{type}** value for the argument **{arg}**, try again.
|
|
|
|
[COMMANDHANDLER_NUMBERMAX_ERROR]
|
|
The **{type}** value for the argument **{arg}** must be __less than__ `{max}`. *({min}-{max})*
|
|
|
|
[COMMANDHANDLER_NUMBERMIN_ERROR]
|
|
The **{type}** value for the argument **{arg}** must be __more than__ `{min}`. *({min}-{max})*
|
|
|
|
[COMMANDHANDLER_OPTIONS_ERROR]
|
|
The value for the argument **{arg}** must be one of the following: {options}.
|
|
|
|
[COMMANDHANDLER_COMMAND_ERROR]
|
|
The command **{command}** had issues running. **`{id}`**
|
|
Please provide a screenshot of this error in the *#support* channel here: <{invite}>
|
|
|
|
// Inhibitors
|
|
|
|
[I_CLIENTPERMISSIONS_ERROR]
|
|
The command **{command}** requires the bot to have permissions to use.
|
|
*Missing: {missing}.*
|
|
|
|
[I_DISABLED_ERROR]
|
|
The command **{command}** is currently {globally}disabled.
|
|
|
|
[I_GUILDONLY_ERROR]
|
|
The command **{command}** can only be run in servers.
|
|
|
|
[I_MEMBERPERMISSIONS_ERROR]
|
|
The command **{command}** requires you to have permissions to use.
|
|
*Missing: {missing}.*
|
|
|
|
[I_RESTRICTED_ERROR]
|
|
The command **{command}** can only be run by developers.
|
|
|
|
[I_THROTTLE_ERROR]
|
|
The command **{command}** is currently throttled.
|
|
*You can use this command again in `{remaining}` seconds.*
|