Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 1.01 KB

README.md

File metadata and controls

28 lines (19 loc) · 1.01 KB

freeGPT-discord

Discord chatbot and image generator powered by freeGPT.

Support this repository:

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