/Yagi

A Simple Anti-Raid Discord Bot

Primary LanguageJavaScriptCreative Commons Zero v1.0 UniversalCC0-1.0

Yagi

An Anti-Raid Bot for Discord Servers with simplistic logic

This Bot was designed for personal use. There's no guarantee for it to be stable when used by someone else and I will not provide any Support for running/using this Project


This Bot is designed to be really simple. So simple infact, that it should be a good starting point to get an idea on how to detect a Raid on a Discord Server.

The Logic is not designed to be really indepth with checking a Users messages and the frequenzy of how often he messages, instead it focuses on how many Users join in a given timespan.


Setup

  • Create a file called .env and add your Bot Token to it
    • TOKEN=SampleToken
  • Invite the Bot to your Discord Server
  • Install packages yarn
  • Start with node main.js