-
Effortlessly handle "disruptive" members on your server using the simple
kick
andban
features for effective moderation control. -
For the previously mentioned commands, you may optionally include a reason for why the user was kicked or banned from the server.
-
The bot enables smooth audio playback and queuing of various formats on Discord through the use of FFmpeg integration with
play
andqueue
commands. -
Control your music easily with commands like
pause
,resume
, andstop
from the bot. -
Jump to the next song in the queue using the
skip
command. -
Stay in the know with the
song
command, effortlessly revealing the currently playing track. (one of the coolest feature) -
The
queue list
command efficiently presents a comprehensive list of all songs currently in the queue. -
The
queue shuffle
command allows users with the ability to rearrange their queues, adding an element of fun and spontaneity to their playlist management. -
The
queue clear
command enables users to delete all songs from the list, making room for new additions. -
The
queue remove
command enables users to remove any song in queue as long as the user provides the right index number. -
Quickly find songs with minimal information, such as the name of the artist or a keyword in the song title.
- Sets a welcoming tone in your server with automatic member greetings from the bot upon arrival and departure, offering a friendly atmosphere.
- Identifies whether there are any users in the voice channel. If no users are detected, the bot will disconnect automatically and clear out the queue.
- Identifies any profanity in user messages and remove them. To "educate" users on our policy against swearing, a replacement message will be sent.
PS : I haven't deployed it. Check "Installation and Launch Guide"
- Download and install Git.
- Download and install Python.
- Install the packages.
- Clone this repo using : "git clone https://github.com/Dragos20Tech/Discord-Bot.git"
- Get to the Discord Developer Portal and generate an API key of your own.
- Run the bot using an IDE like JetBrains PyCharm or VS Code or using the terminal : "python main.py"
pip install discord.py
pip install PyNaCl
pip install ffmpeg
pip install better-profanity
-
discord.py is a Python library that provides an interface for interacting with the Discord API. It allows developers to create Discord bots and applications, enabling communication and automation within the Discord platform.
-
PyNaCl is a Python binding to the Networking and Cryptography (NaCl) library. It provides a simple interface for performing cryptographic operations, such as encryption and decryption, and is commonly used for secure communication in Python applications.
-
FFmpeg is a powerful multimedia processing tool that can be used to convert, stream, and manipulate audio and video files. In Python, the ffmpeg package is often used to interact with the FFmpeg library, allowing developers to integrate multimedia capabilities into their applications.
-
better-profanity is a Python library designed to filter and moderate profanity in text. It provides a straightforward way to identify and replace offensive language, making it useful for applications where content moderation is necessary, such as chatbots or community forums.
- It would be excellent to program the bot to play tunes using the spotipy library.
- It would be nice if the bot could identify the user who most recently requested it to play a song and relocate to that user's channel in case the user switches channels.
- It would be beneficial if the bot could detect when the song is finished, assuming the queue is empty, and immediately disconnect from the voice channel.
- It would be great to have a command that loops the current song.
loop
- It would be AMAZING to have a user-friendly interface for managing music and server administration tasks.