Compare commits
2 commits
Author | SHA1 | Date | |
---|---|---|---|
64d059dbf9 | |||
086843e858 |
2 changed files with 8 additions and 42 deletions
13
README.md
13
README.md
|
@ -16,13 +16,7 @@ A multipurpose Discord bot written in Java.
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"token": "your_token",
|
"token": "your_token",
|
||||||
"prefix": "oki!",
|
"prefix": "oki!"
|
||||||
"mariadb": {
|
|
||||||
"host": "127.0.0.1",
|
|
||||||
"user": "db_user",
|
|
||||||
"password": "db_password",
|
|
||||||
"database": "doki_prod"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -31,9 +25,8 @@ A multipurpose Discord bot written in Java.
|
||||||
## Commands
|
## Commands
|
||||||
|
|
||||||
| Command | Description | Arguments | Aliases |
|
| Command | Description | Arguments | Aliases |
|
||||||
|---------------|------------------------------------------------------------------------------|---------------|---------|
|
|---------|------------------------------------------------------------------------------|-------------------------------------|---------|
|
||||||
| `leaderboard` | Gets the leaderboard for the current guild | None | `lb` |
|
|
||||||
| `rank` | Gets the rank of the specified user (message author if none specified) | `[user ping]` | None |
|
|
||||||
| `about` | Gets information about the bot | None | None |
|
| `about` | Gets information about the bot | None | None |
|
||||||
| `ping` | Gets the bot's gateway & rest ping | None | None |
|
| `ping` | Gets the bot's gateway & rest ping | None | None |
|
||||||
| `whois` | Gets information about the specified user (message author if none specified) | `[user ping]` | None |
|
| `whois` | Gets information about the specified user (message author if none specified) | `[user ping]` | None |
|
||||||
|
| `mute` | Mutes a member for a specified amount of time | `[user ping]`, `[timeout duration]` | None |
|
|
@ -9,37 +9,10 @@
|
||||||
},
|
},
|
||||||
"prefix": {
|
"prefix": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
|
||||||
"mariadb": {
|
|
||||||
"type": "object",
|
|
||||||
"properties": {
|
|
||||||
"host": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"user": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"password": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"database": {
|
|
||||||
"type": "string"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": [
|
|
||||||
"host",
|
|
||||||
"user",
|
|
||||||
"password",
|
|
||||||
"database"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"levelling": {
|
|
||||||
"type": "boolean"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
"token",
|
"token",
|
||||||
"prefix",
|
"prefix"
|
||||||
"mariadb"
|
|
||||||
]
|
]
|
||||||
}
|
}
|
Loading…
Reference in a new issue