Enhance your Discord server with this versatile bot that brings both music playback functionality and automated greetings for new members. The bot is built using Discord.py and includes a variety of commands for a more interactive server experience.
- !play song_name: Play a song by name.
- !pause: Pause the currently playing song.
- !resume: Resume the paused song.
- !stop: Stop the current song and leave the voice channel.
- !setgreetingchannels channels:"channel_id_1, channel_id_2, ...": Set greeting channels for new member greetings. (Requires 'use_bot' role)
- !removegreetingchannel channels:"channel_id_1, channel_id_2, ...": Remove greeting channels. (Requires 'use_bot' role)
- !broadcast: Send a broadcast message to a server.
- Format without delay:
!broadcast server:"server_name", message:"your_message"
- Format with delay:
!broadcast server:"server_name", message:"your_message", delay:"DD:HH:SS"
- Format without delay:
- !hello: Greet the bot.
- !ban @user: Ban a user (requires 'ban_members' permission).
- !kick @user: Kick a user (requires 'kick_members' permission).
- !help: Display the help message.
- Clone the repository.
- Install the required Python packages using
pip install -r requirements.txt
. - Download and install FFmpeg.
- Set up your bot token in the code.
- Run the bot script using
python main.py
.
Note:- You have to download FFMPEG in your system for the music feature of the bot, refer to this tutorial.
Feel free to customize and expand upon this bot to suit the needs of your Discord server!
This project is licensed under the MIT License.