Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 1.23 KB

README.md

File metadata and controls

31 lines (21 loc) · 1.23 KB

freeGPT-discord

Discord chatbot and image generator powered by freeGPT.

Support this repository:

  • 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:

DiscordWidget

Getting Started:

  1. Download the Source Code: Start by downloading the bot's source code.

  2. Install Dependencies: Open your terminal and run: pip install -r requirements.txt

  3. 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.
  4. Get your Huggingface token: Go to huggingface.co/settings/tokens and create a token with 'Read' role and copy it.

  5. Add Your Bot Token and Huggingface Token: Paste the copied tokens in bot.py:

HF_TOKEN = "yourHuggingFaceToken"
TOKEN = "yourBotToken"
  1. Run the Bot: Open your terminal and run: python bot.py