almeidx / discord-ban-sync

Sync bans across multiple Discord servers
Apache License 2.0
6 stars 5 forks source link
banning discord selfhostable sync

Discord Ban Sync

Table of Contents


Overview

This repository houses a bot that automatically synchronizes bans between multiple Discord servers.


Local setup

This setup assumes you have Git, and Node.js setup on your machine. This project requires Node.js version 20.17.0 or higher, and uses the pnpm package manager, so you should have basic knowledge about how to use them.

Cloning repository

Note: If you don't have corepack enabled, you can do it with corepack enable.

Setting up the env variables locally

The guild ids should be comma separated, e.g. GUILD_IDS=493351982887862283,513338222810497041

Running the bot locally

Then:

To check if the bot is working, you can run the /ping slash command.

Updating the bot


Author

discord-ban-sync © almeidx, released under the Apache 2.0 license.

GitHub @almeidx