Compare commits

...

2 commits

Author SHA1 Message Date
64d059dbf9
Update README.md 2024-10-25 00:43:05 +01:00
086843e858
Remove DB from config schema 2024-10-25 00:40:51 +01:00
2 changed files with 8 additions and 42 deletions

View file

@ -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 |

View file

@ -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"
]
}