doki/README.md

40 lines
1.9 KiB
Markdown
Raw Normal View History

2024-08-26 20:00:46 +00:00
<img src="https://git.frzn.dev/fwoppydwisk/doki/raw/branch/master/assets/logo.svg" alt="" height="100"/>
2024-08-15 16:54:57 +00:00
<hr>
2024-11-19 01:35:31 +00:00
<a href="https://git.frzn.dev/fwoppydwisk/doki/releases/latest">
<img src="https://git.frzn.dev/fwoppydwisk/doki/badges/release.svg?style=for-the-badge" alt="">
</a>
2024-11-19 01:30:16 +00:00
<img src="https://git.frzn.dev/fwoppydwisk/doki/badges/stars.svg?style=for-the-badge" alt="">
<br>
2024-08-26 19:23:49 +00:00
A multipurpose Discord bot written in Java.
2024-08-15 19:20:34 +00:00
2024-11-30 16:15:52 +00:00
## Required Environment
- Java 17+ (May work on older versions but untested)
2024-08-15 20:45:54 +00:00
- Maven
### Tested Operating Systems
2024-11-30 16:15:52 +00:00
- macOS 14 & 15 (arm64)
- Windows 10 22H2 (x86_64)
- Debian 12 (x86_64)
2024-09-05 03:18:36 +00:00
---
## Config file schema
```json
{
"token": "your_token"
2024-09-05 03:18:36 +00:00
}
```
---
## Commands
2024-11-30 16:15:52 +00:00
| Command | Description | Arguments |
|-------------------|------------------------------------------------------------------------------|-----------------------------------------------------------|
| `/ping` | Gets the bot's gateway & rest ping | None |
| `/whois` | Gets information about the specified user (message author if none specified) | `[member]` |
| `/timeout set` | Times out a member for a specified amount of time | `[member]`, `[duration]`, `(reason)` |
| `/timeout get` | Gets the current timeout status of the specified member | `[member]` |
| `/timeout cancel` | Cancels the specified users timeout | `[member]`, `(reason)` |
| `/poll` | Creates a poll | `[title]`, `[duration]`, `[options]`, `(multiple-choice)` |