This is an open-source Discord bot project developed using Python and Discord.py. The bot includes various features and integrations to enhance the functionality and user experience on Discord servers.
- Welcome and Leave Messages: Greets new members and bids farewell to leaving members.
- Customizable Prefix: Allows setting a custom prefix for bot commands on each server.
- Role Management: Assigns roles to members based on reactions or commands.
- Leveling System: Tracks and displays user levels based on activity.
- Moderation: Implements image and link moderation, member count tracking, and more.
- YouTube Notifications: Notifies about new videos from specified YouTube channels.
-
Clone the repository
-
Create and activate a virtual environment
python -m venv venv
source venv/bin/activate
(Linux/MacOS) orvenv\Scripts\activate
(Windows)
-
Install requirements:
pip install -r requirements.txt
-
Set up Firebase:
- Go to Firebase Console:
https://console.firebase.google.com/
- Click on Add Project.
- Enter a Project Name and click on Continue.
- After creating the app, you will be redirected to your project console.
- Click on the gear icon on the left side of the console and select Project Settings.
- Click on Service Accounts and then select python.
- Click on Generate New Private Key and confirm by clicking on Generate Key.
- Go to Firebase Console:
-
Add your bot token in
config.py
-
Run the bot:
python main.py
- npm install in /Frontend Folder
- npm run dev to run it in localhost
$setwelcomechannel
- Set the welcome channel$setleavechannel
- Set the leave channel$setprefix
- Set custom prefix$createCAT
- Create a category$clear
- Clear messages$checkpermissions
- Check bot permissions$lvl
- Check your level$rank
- Check your rank$lvlsys enable
- Enable leveling system$lvlsys disable
- Disable leveling system
The bot uses Firestore for:
- Storing server prefixes
- Level system data
- Welcome/leave channels
- Other data
The bot can be deployed to Heroku or any other hosting platform that supports Python applications.
Contributions are welcome! Please open an issue or submit a pull request if you would like to contribute to this open source project.
Let me know if you would like me to expand or modify anything in this open source README draft. I'd be happy to help further polish it for your repository!