项目作者: jankcat
项目描述 :
ShOrT dEsCrIpTiOn Of ThIs RePoSiToRy
高级语言: JavaScript
项目地址: git://github.com/jankcat/mocking-bot-discord.git
mocking-bot-discord
Example

Mocking Criteria
- Listens for
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:

And this:

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
- Clone the repo
- Have docker and docker-compose installed and good-to-go
- Create a bot in the Discord developer console
export DISCORD_TOKEN=YOUR_TOKENdocker-compose up -d