A versatile Discord bot designed to enhance server experiences with a variety of interactive features, built using Python and discord.py
.
-
Bot Setup
- Automate tasks within your environment with easy setup.
-
Command Integration
- Process specific commands for efficient interaction.
-
Environment Configuration
- Load environment variables for necessary settings.
-
ChatGPT Integration
- Get intelligent responses to queries through ChatGPT.
-
Conversation History
- Maintain context with stored conversation history.
-
Database Storage
- Ensure persistent and easily retrievable data with database storage.
-
Welcome Message
- Greet new members to make them feel welcomed.
-
Inspirational Quotes
- Receive random quotes to boost motivation.
-
Support the Creator
- Use the "Buy Me a Coffee" feature to support development.
-
New Year Celebration
- Celebrate with a special message on New Year's Day.
-
Birthday Celebration
- Receive a celebratory message on your birthday.
-
Task Reminders
- Set reminders to manage tasks effectively.
-
Recurring Reminders
- Set recurring reminders for consistent task management.
-
Command Usage
- Use simple commands like
/ping
for straightforward communication.
- Use simple commands like
- Python 3.8+
discord.py
library- Discord account
-
Clone the repository:
git clone https://github.com/Bluette1/bot_buddy.git cd bot_buddy
-
Install dependencies:
pip install -r requirements.txt
-
Set up your
.env
file with your Discord bot token:TOKEN=your_discord_bot_token CLIENT_ID=the_discord_client_id BOT_OWNER_ID=owner_discord_id OPENAI_API_KEY=your_open_ai_api_key BOT_ID=bot_id
-
Run the bot:
python bot.py
-
Run tests:
PYTHONPATH=./ pytest tests/
Add BotBuddy to your Discord server using the invite link. Use commands to interact with the bot, such as:
/ping
: Responds with "pong"./quote
: Receive an inspirational quote.!remind [task] at [24_hr_format_time]
: Set a reminder for a task.!birthday [Month] [Day]
: Get a birthday message.
Contributions are welcome! Please fork the repository and submit a pull request. User Stories
This project is licensed under the MIT License.
For any questions or feedback, please contact [email protected].
Feel free to modify as needed!