A simple anti-raid Discord bot
First, create a bot application here (if you don't know how, look it up with your preferred search engine)
Make sure all intents are enabled
After that, download the latest release here and unzip it in a preferred folder
Windows: Download the latest Ruby+Devkit here
Linux: Install ruby
(on Debian/Ubuntu ruby-full
) with your favorite package manager
MacOS: Don't use the included Ruby with MacOS, install it with homebrew instead brew install ruby
bundle install
(in the AntiRaider
directory)
This may take some time because some gems need to build system native extensions
After that you can run the Ruby file (just double-clicking it should work, if it doesn't or if you use a terminal-based OS use Powershell/CMD or the terminal: ruby antiraider.rb
)