Skip to content

A Simple Anti-Raid Discord Bot

License

Notifications You must be signed in to change notification settings

SmollClover/Yagi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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