Skip to content

jideoyelayo1/DiscordMusicBot

Repository files navigation

Discord Bot

Welcome to the Discord Bot repository! This bot is a Python-based bot that uses the YouTubeDL API and Discord API to provide various features to your Discord server.

Introduction

This bot was initially created to help with music, but it has evolved to offer other features as well. The bot can DM you various information and also block certain words. Additionally, it can generate random numbers and play a guessing game with you. It also responds with "PONG" when you say "PING" and vice versa. You can interact with the bot privately or publicly by sending the appropriate commands.

Features

Here are some of the features that are currently available in the bot:

  • CHATGBT: You can interact with OpenAI's Chatgbt in channels
  • Playlist: You can add both YouTube links and search for songs to the playlist. You can view, edit, and delete songs from the playlist. You can also pause, play, skip, rewind, and clear the playlist.
  • Moderation: The bot can remove banned words from channels, mass message everyone, and kick people from the voice channel.
  • Random number generator: You can generate a random number between 0 and any number you choose by saying "?random" or "?odds" followed by a number.
  • Guess the random number game: The bot can play a guessing game with you by generating a random number and challenging you to guess it.

Prerequisites

To run this bot, you will need:
  • Python 3.6 or higher
  • YouTubeDL API
  • Discord API
  • OpenAI API

Installation

  • Clone this repository to your local machine.
  • Install the required packages using the command: pip install -r requirements.txt
  • Create a Discord bot account and get the bot token.
  • Add the bot to your server using the invite link.
  • Create a text file called TOKEN.txt and place your discord token inside
  • Create a text file called openai_key.txt and place your OpenAI token inside

Getting Started

  • Start the bot using the command python bot.py.
  • To see the list of available commands, type ?help in any text channel on your server.
  • Interact with the bot using the available commands.

Contributing

We welcome contributions to this bot! To contribute, please:

Fork the repository.

  • Create a new branch for your changes.
  • Make your changes and commit them.
  • Push your changes to your fork.
  • Create a pull request.

License

This project is licensed under the MIT license. See the LICENSE file for more details.

Contact Information

If you have any questions or would like to provide feedback, please contact the creator of this bot:

Github: jideoyelayo1 Email: JideOyelayo1@Gmail.com https://github.com/jideoyelayo1 You can also reply or DM the bot for more information.

About

Since music bots do not work I want to make one

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages