-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
110 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
--- | ||
id: command-syntax | ||
--- | ||
|
||
# Command Syntax | ||
|
||
:::danger | ||
|
||
Do not literally type the `<>` , `[]` etc characters. They are used to denote placeholders and optional arguments. | ||
|
||
::: | ||
|
||
:::note | ||
|
||
If an option is marked dynamic, for example `<foo:dynamic>`. Then you can use dynamic values. (see [Dynamic Values](./dynamic-values)) | ||
|
||
::: | ||
|
||
`<foo>` This is a required argument. | ||
|
||
`<foo|bar>` This is a required agrgument that can be either `foo` or `bar`. | ||
|
||
`<foos...>` This is a required agrgument that can be repeated multiple times. | ||
|
||
`[foo]` This is an optional argument. | ||
|
||
`[foo|bar]` This is an optional argument that can be either `foo` or `bar`. | ||
|
||
`[foo=default]` This is an optional argument with a default value of `default`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Dynamic Values | ||
Throughout these docs you will see some values in a format that will look something like this `{user:username}`. These are dynamic values. | ||
|
||
:::danger | ||
|
||
Not all command support these values, so make sure it says you can use a dynamic value. | ||
|
||
::: | ||
|
||
## Where To Use | ||
You can use these values in any option that has a `:dynamic` in it. For example `<foo:dynamic>`. | ||
|
||
## How To Use | ||
These values are based off of discord values, for example if you wanted to mention a user when they leveled up you could use `{user:mention}` | ||
|
||
## Values | ||
|
||
### User Values | ||
|
||
+ `{user:username}` The user's username | ||
+ `{user:mention}` Mentions the user | ||
+ `{user:nickname}` The user's nickname | ||
|
||
### Levels Values | ||
|
||
+ `{user:level}` The user's level | ||
+ `{user:xp}` The user's xp |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Disable Levels | ||
|
||
:::note | ||
|
||
This command will not work if levels are already disabled on you server | ||
|
||
::: | ||
|
||
|
||
## Usage | ||
`/levels disable` Disables levels on your server. | ||
|
||
:::warning | ||
|
||
This command does not delete any leveling related data, it just makes it so that the leveling system for you server is disabled. To delete leveling data see [deleting you data](../delete-my-data/levels) | ||
|
||
::: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
|
||
# Enbale Levels | ||
|
||
:::note | ||
|
||
This command will not work if levels are already enbaled on you server | ||
|
||
::: | ||
|
||
## Usage | ||
`/levels enable` Enableds levels on your server and sets up with the default config | ||
|
||
## Default Config | ||
### Level Up Message | ||
Congratulations `{user:mention}` you have leveled up to level `{user:level}`!\ | ||
You can change this with [`/levels set-message`](./set-message)\ | ||
You can also disable level up messages with [`/levels disabled-message`](./disable-message) | ||
|
||
### Level Up Channel | ||
By default the level up messages will be sent in the channel that the user levels up in.\ | ||
You can change this with [`/levels set-message-channel`](./set-message-channle) | ||
|
||
### Stack Rewards | ||
By default it sets this to true, which means that as a user gets a new level reward they will keep the old ones they have earned.\ | ||
You can change this with [`/levels stack-rewards`](./stack-rewards) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters