Note: This uses the latest version of discord.js (Version 14 currently)
Deletes QR codes automiatcally from not staff-members of the server (checked by Manage Messages permission). Will log all deletions to bot console.
This bot begins working as soon as it has been added to a server. It scans all attachments and embedded images. It will also present this information alongside total server count and ping when tagged.
The bot has one confirgurable setting, which is to enable a logging channel for the bot whenever it deletes a message. You can use the slash command /setlogchannel
and specify either a channel to set the logging channel or "none" to remove it. You will need the Administrator
permission to see this command.
If you would like to run this bot, follow these instructions.
- Download and install Node.JS
- Download this repository as a zip.
- Unzip the downloaded archive
- In the root folder, create
env.json
and fill it with the following contents:
{
"TOKEN": "your-bot-token-here"
}
- Open a new terminal window at the root folder and run
npm install
- Run
node index.js
to start the bot.