- A PostgreSQL database
- Your bot token
You need to copy the config-template
folder's content in dev-config
,
and edit the config.json
, with your bot token, prefixes, owner ID and the database details.
No need to keep the logback.xml
, only logback-test.xml
is necessary.
Your file tree should look like this:
./
└── examples/
├── dev-config/
│ ├── config.json
│ └── logback-test.xml
├── src/
│ └── ..
└── pom.xml
You can then just run the Main
class.
If you are seeking for a bot you can set up yourself, you can look at the bot template.
- A ban command which can be declared using annotations or manually, see
SlashBanDetailedFront#onDeclare
- A ban command with full localization support
- A ban command with an aggregate parameter, see
aggregate
inSlashBanDetailedFront#onDeclare
- A choose command using varargs
- An alternative handler when a text command is used incorrectly (help command replacement)
- A choose command which autocompletes your sentence with previous words, on
SlashSentence#onSentencePartAutocomplete
- A choose command using inline classes, with
SlashSentence.SentenceParts