Discord chatbot and image generator powered by freeGPT.
- ⭐ Star the project: Star this and the freeGPT repository. It means a lot to me! 💕
- 🎉 Join my Discord Server: Chat with me and others. Join here:
-
Download the Source Code: Start by downloading the bot's source code.
-
Install Dependencies: Open your terminal and run:
pip install -r requirements.txt
-
Application Setup:
- Create a new application on the Discord Developer Portal.
- In the app's settings, enable the
message content
intent and copy the token.
-
Get your Huggingface token: Go to huggingface.co/settings/tokens and create a token with 'Read' role and copy it.
-
Add Your Bot Token and Huggingface Token: Paste the copied tokens in bot.py:
HF_TOKEN = "yourHuggingFaceToken"
TOKEN = "yourBotToken"
- Run the Bot: Open your terminal and run:
python bot.py