A multipurpose bot that makes Discord better for everyone
- A Fully Functional Moderation component: manage your staff, members and permissions all in one bot.
- Support Chatbot (Coming Soon™)
Hadum Features a wide(-ish) set of commands to choose from.
||Get Latency between bot and Discord Servers|
||Flip a coin!|
||Kick a user from your guild|
||Kicks multiple users at a time|
||Permanently Bans a user|
||Bans multiple users at a time|
||Delete messages in the current channel|
Command Line Args
Hadum Features a few CLI args to choose from (more coming soon)
||Skip the ‘Hadum’ loading animation|
||Show error logs in console|
To use them, enter
python main.py /[ARG_FLAG] # Windows python3 main.py -[ARG_FLAG] # Linux/Unix-like/Windows WSL
Hosting on your own machine
So, you edited the code to your own liking and now you want to host it on your own machine? No problem! There are 3 ways of installing the bot:
(NOTE: This is now deprecated, use Docker instead.) For an automatic install, run
bash scripts/install.sh(Linux/Unix or Windows WSL only) in the root directory of the project
For a Docker Installation, run the following command (don’t ignore comments!):
docker run -it $(docker build --build-args token=BOT_TOKEN -q .) # Replace 'BOT_TOKEN' with your token.
Or by following the steps below for a manual installation of the bot:
- Clone the repository using
git clone https://github.com/shadawcraw/Hadum.git cd Hadum # Accessing the project directory
- To install the dependencies, Run in the root folder of the project the following command:
python -m pip --no-cache-dir -r requirements.txt # Windows python3 -m pip3 --no-cache-dir -r requirements.txt # Windows WSL, Linux and UNIX-Like systems (OSX)
In a Bash/ZSH shell or in Windows WSL.
Then, create a file named “.env” in the root folder of the project.
Once that is done, enter the following lines into the .env file created earlier:
TOKEN="[YOUR_TOKEN_HERE]"Remember to put the variable name in ALL CAPS and replace the brackets and the text inside it with your own token.
After that, you’re all set! Run the
run.shfile or enter
python main.pyfor Windows and
python3 main.pyfor Linux and Unix-like systems.
docker image ls to see available images and their IDs