Skip to content

A Discord bot inspired by airhorn.solutions, but with custom sounds

License

Notifications You must be signed in to change notification settings

alephtwo/omgbot

Repository files navigation

omgbot

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:

  1. A sound is chosen for the given command.
  2. If the user issuing the command is in a voice channel, the bot joins that voice channel.
  3. The bot plays the sound in the voice channel or uploads it to the text channel the user issued the command in.
  4. If the bot joined a voice channel to play the sound, it leaves the channel.

Usage

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.

Development Notes

  1. Ensure that npm run lint doesn't report any issues.

About

A Discord bot inspired by airhorn.solutions, but with custom sounds

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published