Raider
A discord bot to delete all channels , roles , custom emojis and ban all members from a discord server. In short raiding a server.
Install / Use
/learn @kry0sc0pic/RaiderREADME
Raider
A discord bot to delete all channels , roles , custom emojis and ban all members from a discord server. In short raiding a server.
<br>Disclaimer:
This is for educational purposes only. Use this only if you have the consent of the server owner. I am not responsible for any damage done by this bot.
Setup
-
Create a new app on the Developer Portal
-
Make sure to enable the
Membersintent on the portal -
Download repo using
git clone https://github.com/kry0sc0pic/Raider.git -
Open the raider folder
-
Open the
config.jsonfile -
Copy and paste the code block and fill in necessary details
TOKENbot token from the developer pageTRIGGERTrigger word to initiate deletionINVITE_LINKInvite link for the bot with required permissions integer , used to invite bot to the server to be deletedBAN_MESSAGEMessage used as reason for banNEW_NAMEName the server name has to be edited to beIMAGE_PATHPath to the new server icon you want
{
"TOKEN": "<YOUR-BOT-TOKEN>",
"TRIGGER": "<TRIGGER-WORD>",
"INVITE_LINK": "<INVITE-LINK>",
"BAN_MESSAGE": "<BAN-REASON>",
"NEW_NAME": "<NEW-SERVER-NAME>",
"IMAGE_PATH": "<PATH-TO-NEW-LOGO-FILE>"
}
Install Dependencies
With virtual environment
- Install virtualenv module
pip install virtualenv(only required for using virtual environments) - Create a new virtual environment with
virtualenv venv(optional) - Activate with
.\venv\Scripts\activatefor windows - Activate with
source ./venv/bin/activatefor macOS and linux - Follow Steps for w/o env
Without virtual environment
- Install dependecies with
pip install -r requirements.txtorpip3 install -r requirements.txt - Run the bot using
python bot.pyorpython3 bot.py
Use the bot
-
Invite the bot to the server with the invite link printed out in the console. Note: This requires you to have the
Manage Serverpermissions on the server -
Grant all permissions the bot requires or else some operations of the bot may fail
-
Find the role for your bot (same as bot username) in
Server Settings >> Roles -
Move it up to the highest possible position in the role hiearchy
-
Give any other necessary roles to the bot to view channels etc.
-
Wait for you or anyone else to type the trigger message in any of the channels and let the bot do its work
Deploying to Heroku
- Only use this if you want your bot to be online at all times
- In the project folder create a
Procfilewithout any file extensions or use the one included - Open the file and copy the following text:
worker: python bot.pyand paste it in. - Create a new application on Heroku and follow the steps on the deploy tab.
License
MIT
Related Skills
node-connect
343.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
90.0kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
343.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
343.1kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
