language entires

This commit is contained in:
Erik 2020-08-06 01:12:44 +03:00
parent f2f82af1bf
commit 3fe45a600e
3 changed files with 61 additions and 9 deletions

View File

@ -58,24 +58,70 @@ Dude stop, {component} doesn't exist!
Commands and settings matching tag `{keyword}`.
For further help on how to use them, see `{prefix}help <component>`.
[MODHELP_TITLE]
**Moderation help menu**
[MODHELP_DESC]
**Galactic Bot** offers extensive moderation tools for servers, small and large, ranging from simple warnings and notes to mutes and tempbans. One of our more recent additions is automod. While not necessarily being a true automod, it'll keep track of moderation escalation for you with some configuration. Automod utilizes configurable modpoints and thresholds, for more information about automod see `{prefix}settings modpoints` and `{prefix}settings automod`.
**Galactic's** moderation commands can be viewed by using `{prefix}commands moderation`. The moderation utility follows a specific syntax for moderation, some parts allow for variation, while others require the arguments to be in specific locations in the command.
**The general syntax is:** `{prefix}<command> @user [time] [reason]`
Arguments that don't follow a strict pattern can be put anywhere **in the reason**. Such arguments are flags (and points, though they don't follow the same syntax as flags, more on that in a bit). For now there aren't many flags used by the moderation utility, though more may come in the future. The flags currently in use are `--force` and `--expires:<time>`, which are used to guide the automod.
[MODHELP_FIELD_1_NAME]
** Moderation flags**
[MODHELP_FIELD_1_VALUE]
`--force` is the flag used to bypass automod, i.e. if you think automod will change your infraction due to a threshold being exceeded pass the `--force` flag to override.
**Ex:** `{prefix}warn @user 2pts obnoxious --force` - this would force the infraction to be a warning even if the points issued would cause the total amount of points to exceed a threshold.
`--expires:<time>` is the flag used to tell the automod that a custom infraction expiration time should be used instead of the defined modpoints expiration value.
**Ex:** `{prefix}warn @user 2pts obnoxious --expires:2 days` - This tells the system that the infraction will expire in 2 days, instead of whatever was configured in the setting.
`--silent` is the flag used to tell the bot not to DM the infraction the user if the bot otherwise was configured to do so.
**Ex:** `{prefix}ban @user really obnoxious --silent` - with default configuration the bot would DM the user when removed from the server, passing the `--silent` flag will stop the bot from doing so.
[MODHELP_FIELD_2_NAME]
** Points**
[MODHELP_FIELD_2_VALUE]
Points are the point values defined either when running the command or in the modpoints setting. Issuing points is fairly simple, as they get picked up from anywhere in the **reason**, so long they follow the correct format. Points follow this pattern: `integer value points|point|pts|pt|p`. Any point values that exceed 100 will default to 100, and any point values that go below 0 will default to 0.
**Ex:** `{prefix}warn @user obnoxious 2 points`
[MODHELP_FIELD_3_NAME]
** Infraction history**
[MODHELP_FIELD_3_VALUE]
Infraction history will always be logged to the bot's database regardless of text channel output. As such GalacticBot provides tools to search logs and filter them to some extent with flags, such as `--filter:warn` or `--exclude:mute`.
When viewing a user's infraction history, the total amount on **unresolved infractions** is shown, and if modpoints are enabled, their unexpired points as well. This does **not** mean that they are not displayed in their history!
[MODHELP_FIELD_4_NAME]
** NOTE**
[MODHELP_FIELD_4_VALUE]
All flags and points will be parsed **out of the reason**, meaning that when issuing them they will not show up in the reason for the infraction. Points will be displayed in the infraction if the modpoints system is enabled and flags don't need to be displayed anywhere.
//Guild command
[C_GUILD_DESCRIPTION]
View data about the server.
[C_GUILD_TEMPLATE]
**{name}**
Server information for **{name}**
{description}
**Owner:** <@{owner}>
**Member count:** {members}
**Members:** {members}/{maxMembers}
**Boost tier:** {tier}
**Boosters:** {boosters}
**Shard ID:** {shard}
**Date created:** {createdAt}
**Server ID:** {id}
**Shard ID:** {shard}
**Channels:** Text {tc} / Voice {vc}
**Server voice region:** {region}
**Channels:** Text {tc} / Voice {vc}
**Channel limit:** {totalChannels}/500
//Commands Command
@ -83,18 +129,19 @@ View data about the server.
Displays all commands and help.
[C_COMMANDS_TITLE]
Available commands
Commands
[C_COMMANDS_TEMPLATE]
Displaying commands for module `{mod}`.
{text}
[C_COMMANDS]
__Commands that are struck through are disabled.__
[C_COMMANDS_FOOTER]
To search by specific module, use {prefix}commands [ module ]
Commands that are struck through are disabled.
[C_COMMANDS]
To search by specific module, use `{prefix}commands [ module ]`.
You can also use `{prefix}commands [ command ]` for more information about the command.
//Prefix Command
[C_PREFIX_DESCRIPTION]

View File

@ -11,6 +11,9 @@ switch({component}) {
break;
}
[NO_RESULT]
**The search returned no results.**
[GENERAL_EXAMPLES]
Example Usage

View File

@ -0,0 +1,2 @@
[S_PREMIUM_DESCRIPTION]
View the server's current premium subscription tier.