This bot is released as open-source under GNU-GPL 3. Read on for info about how to run your own copy
I'm hooks gone hooky, a bot that detects when a webhook mentions anyone and deletes it. I do this in an attempt to stop raiding, as most legitimate webhook uses won't mention anybody, and most illegitimate ones will. I'm called hooks gone hooky as all your hooks will be quitting work early if they get hijacked.
If the bot's here with manage webhooks and the ability to read messages, it's already enabled. You can optionally enable manage messages and we'll delete any suspicious messages as well as removing the webhook.
You can exclude a webhook by turning off our permissions to manage webhooks in its channel. If you do that we won't delete it even if it starts spampinging everyone... You're on your own from here...
We log your guild ID, the message that triggered our system (including name and profile picture of the hook) and the hook's ID each time we suspect a raid. This is to help us see a pattern in responses and hopefully find out who the raiders are. If you don't like that, don't use our bot
Come join our guild on discord
You can invite the official ClicksMinutePer copy or follow the below instructions to run your own copy
- Install nodejs v14.9.0 and install git on your system
- Clone this repository and move into the created directory
git clone https://github.com/Minion3665/hooks-gone-hooky
cd hooks-gone-hooky
- Install the required modules
npm install
- Create a file called
token.json
, and write your token into it surrounded by speech marks For example, if your token wastoken
, you would put into the file
"token"
- Run the bot
node index.js