Note
This bot is for documentation purposes
- A PostgreSQL database
- Your bot token
Go to /test-files/examples
from the project root, duplicate the config-template
folder as dev-config
,
and edit the config.json
, with your bot token, prefixes, owner ID and the database details.
You can then run the Main
class.
- 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