This is a Discord application that combats spam-bot posting in the simplest way possible, post in a channel - get banned. This is effective because the spam bot accounts post their ads in all channels that are available to them.
/only-bans
: Manage your (channel) ban list settings/settings
: Manage global settings, like requiring multiple channels to be banned and confirmation settings
Please note, a Discord Application is required for both installation methods.
Also note, the Message Content and Guild Members intents are required! (under the Bot
section)
The quickest, and easiest, way to host/use this bot is by deploying it inside of a Docker container. We recommend Docker Desktop.
- Download the latest release or
git clone [email protected]:mirasaki/discord-onlybans.git
the repo - Rename
/config.example.json
toconfig.json
and provide your configuration - Start the application:
docker compose up
- Install the additional pre-requisites:
- Node.js v16.6.0 or newer
- Download the latest release or
git clone [email protected]:mirasaki/discord-onlybans.git
the repo - Run
npm install
in the project root folder - Rename
/config.example.json
toconfig.json
and provide your configuration - Build the application:
npm run build
- Start the application:
npm run start