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
|
||||
{
|
||||
"token": "your_token",
|
||||
"prefix": "oki!",
|
||||
"mariadb": {
|
||||
"host": "127.0.0.1",
|
||||
"user": "db_user",
|
||||
"password": "db_password",
|
||||
"database": "doki_prod"
|
||||
}
|
||||
"prefix": "oki!"
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -31,9 +25,8 @@ A multipurpose Discord bot written in Java.
|
|||
## Commands
|
||||
|
||||
| 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 |
|
||||
| `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 |
|
||||
| `mute` | Mutes a member for a specified amount of time | `[user ping]`, `[timeout duration]` | None |
|
|
@ -9,37 +9,10 @@
|
|||
},
|
||||
"prefix": {
|
||||
"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": [
|
||||
"token",
|
||||
"prefix",
|
||||
"mariadb"
|
||||
"prefix"
|
||||
]
|
||||
}
|
Loading…
Reference in a new issue