Cheese Bot is a fun and interactive Discord bot that brings humor and interesting facts to your Discord server. With simple commands, users can enjoy cheesy jokes, learn fascinating facts about cheese, and more. Cheese Bot is built using Python and the Discord.py library, showcasing the power of bots to enhance online communities with entertainment and engagement.
- Cheesy Jokes : Crack cheesy jokes that will make everyone laugh.
- Cheese Facts : Share fascinating and fun facts about cheese.
- Rock, Paper, Scissors: Challenge Cheese Bot to a game of Rock, Paper, Scissors.
- Set Reminder: Make the bot give you reminders for your specific tasks.
And a lot of Interactive Commands to interact with Cheese Bot.
Cheese Bot is designed to add a touch of fun and engagement to any Discord server. By providing users with entertaining jokes and interesting cheese-related facts, Cheese Bot encourages interaction and community building. The bot is easy to use and integrates seamlessly into any server, making it a delightful addition for cheese enthusiasts and casual users alike.
Building Cheese Bot was an excellent learning experience that covered several key areas:
- Bot Development: Learned how to create and manage a Discord bot using the Discord.py library.
- API Interaction: Gained experience with handling API calls and managing asynchronous requests.
- User Interaction: Developed skills in creating interactive and user-friendly commands.
- Environment Management: Implemented best practices for managing environment variables and dependencies.
- Project Structuring: Learned how to structure a Python project for clarity and maintainability
- Setup:
Started by setting up a new Python project and creating a virtual environment.
Installed the required libraries, including Discord.py for bot development. - Bot Creation:
Registered a new bot on the Discord Developer Portal and obtained a token.
Used the Discord.py library to initialize the bot and set up basic event handling. - Command Development:
Created various commands such as ?cheesebot, ?joke, and ?fact.
Implemented logic for each command to provide jokes and facts from predefined lists.
Added a Rock, Paper, Scissors game to demonstrate more interactive features. Created a lot of commands for discord - Testing and Deployment:
Tested the bot locally to ensure all commands worked as expected.
Invited the bot to a private Discord server for further testing. - Documentation:
Created a comprehensive README file to document the project's purpose, features, and setup instructions.
The project file named main.py is actually a copy file which doesnt include the bot token and other api keys so as to keep the sensitive info of myself private.
- Prerequisites
Python 3.6 or higher
Discord.py library - Installation
- Clone the repository:
git clone https://github.com/EpicNesh26/Cheese-Bot.git
- Install the required packages that are mentioned in the requirements.txt:
pip install -r requirements.txt
- Set up your Discord bot token in a .env file(can be skipped unless you decide to make it open source):
DISCORD_TOKEN=your_discord_token_here
- Change the channel ID to your designated server channel.
- Run the bot in the terminal and it will go online on the server:
python main.py
- Clone the repository:
- Fork the repository.
- Clone your forked repository:
git clone https://github.com/EpicNesh26/Cheese-Bot.git
- Make your changes directly on the main branch.
- Commit your changes:
git commit -m "Added New Features"
- Push your changes to your forked repository:
git push origin main
- Create a Pull Request from your repository to the original repository.
This project is licensed under the MIT License - see the LICENSE file for details.
- Thanks to the Discord.py community for their excellent library and support.
- Inspired by all the cheese lovers out there.
To test the bot and see it in action, join our Discord server: https://discord.gg/m99KYTZb