Skip to content
This repository has been archived by the owner on Dec 7, 2021. It is now read-only.

Alex-CD/terrible-meme-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

terrible-meme-bot

A less serious Discord bot, powered by NodeJS and Discord.js

Build Maintainability Test Coverage

NOTE: This project has moved to gitlab, and this page has been archived

Features

  • !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.

Setup

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.

Prerequisites

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.

Installing locally (or deploying manually)

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 

Contributions

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!

About

A less serious discord bot.

Resources

License

Stars

Watchers

Forks

Packages

No packages published