A less serious Discord bot, powered by NodeJS and Discord.js
- !play : Music playback of videos and playlists from YouTube, with queue management features.
- !v : Sound file playback (intended for memes).
- !russianroulette : Disconnect a random person from the channel.
You can run this just like any other NodeJS project, but it needs these two items:
- A .env file for storing bot settings
- An audio folder, whose path is defined in .env.
You need NodeJS and NPM installed to run this bot.
If you're having having issues when installing Discord Opus audio, make sure you're on the latest NPM version.
You'll also need to obtain a bot token through Discord Developer Portal.
Once you've cloned this repo, create a .env file in the folder above, containing these settings and an audio folder next to it.
Your folder should resemble this:
- .env
- audio
- terrible-meme-bot (contains this repo)
and your .env should look something like this:
PROCESS_TITLE=tmb
LOCAL_AUDIO_DIR=../audio
DISCORD_TOKEN=[YOUR TOKEN HERE]
DEFAULT_COMMAND_PREFIX=!
DEFAULT_BOT_TIMEOUT_MINUTES=10
Then run
cd terrible-meme-bot
npm install
npm start
This project is open to contributions! Please make sure your build runs locally, has no linting errors, passes CI checks before you open a pull request.
Cheers!