jankcat / mocking-bot-discord

ShOrT dEsCrIpTiOn Of ThIs RePoSiToRy

Home Page:http://i.imgflip.com/2eh4fm.jpg

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mocking-bot-discord

Example

ExAmPlE

Mocking Criteria

  • Listens for :mocking: reaction on messages, responds by mocking the message.
  • Example emoji is included in this repo (see: mocking.png). Bot will add mocking emoji on server-join if it does not exist
  • Only responds to the first mocking reaction and reacts with mocking itself after a user does, to prevent repeat mockings
  • Ignores bot reactions & bot messages
  • Only goes back 7 messages per channel to prevent out-of-context mocking
  • Ignores messages over a day old
  • Ignores messages that are just valid URLs, as per https://github.com/ogt/valid-url

Other Things

It does this:

heynow

And this:

yourearockstar

Also:

/prequel some search terms
/guilty

Usage

Add by visiting: https://discordapp.com/oauth2/authorize?client_id=470425725808279573&scope=bot&permissions=1073863744

Roll-your-own

  1. Clone the repo
  2. Have docker and docker-compose installed and good-to-go
  3. Create a bot in the Discord developer console
  4. export DISCORD_TOKEN=YOUR_TOKEN
  5. docker-compose up -d

About

ShOrT dEsCrIpTiOn Of ThIs RePoSiToRy

http://i.imgflip.com/2eh4fm.jpg

License:MIT License


Languages

Language:JavaScript 99.2%Language:Dockerfile 0.8%