A multi-purpose Discord bot that helps you manage your server
If you want to add Toiko to your server, you can use this link
git glone git@github.com:Aiden01/toiko.git
# npm
npm install
# yarn
yarn install
yarn dev
Run yarn format
to make prettier format your code.
- Run the build script
# npm
npm run build
# yarn
yarn build
- Docker
docker-compose up --build -d
Toiko allows you to add custom commands, aka macro. It can be done with $addmacro
.
$addmacro <category> <name> <response>
For example, this will add a macro named hello
in the category fun
and the bot will respond with Hello, world!
.
$addmacro fun hello Hello, world!
$hello
> Hello, world!
You can get a list of all available macros in your server using $listmacros
.
They can also be edited and removed with $editmacro
and $removemacro
.
Feel free to submit PRs if you see any issues or you want to improve the bot!