omgbot is a Discord bot inspired by the Discord team's original example bot, airhorn.solutions.
It provides a set of commands, each mapped to "short" sound clips. When a command is issued, the following occurs:
- A sound is chosen for the given command.
- If the user issuing the command is in a voice channel, the bot joins that voice channel.
- The bot plays the sound in the voice channel or uploads it to the text channel the user issued the command in.
- If the bot joined a voice channel to play the sound, it leaves the channel.
Set your API token as the expected environment variable:
DISCORD_TOKEN=your-api-key
Then run npm start
.
start.sh
accomplishes the same task but endeavors to make doing so easier on
a production box.
- Ensure that
npm run lint
doesn't report any issues.