Command | Discription |
---|---|
/wiki <foo> |
Search foo on Wikipedia |
/eval <expr> |
Evaluate a JS code |
/join [--channel] |
Join VC you currently joined in then speak messages from the guild |
/leave [--channel] |
Leave from the voice channel |
> <keyword> or > <message id> |
Quote a message from the same channel |
<message URL> |
Quote a message |
Always | Detect your haiku |
First, install dependencies with yarn
yarn
Then edit .env
to set environment variables.
DISCORD_TOKEN=your discord api token here
VOICETEXT_TOKEN=and your voicetext's token here
Then using Forever which puts Node.js job on background to run bot as a daemon.
yarn run start
Using following command to kill the bot
yarn run stop
Alternatively, you could use Foreman which does exact same thing.
foreman start
- Node.js >= 10
- Yarn
- ffmpeg