rafaelcastrocouto / HNS.FAQ.BOT

GPT-3 Discord chat bot 🦾
4 stars 5 forks source link

invite link invalid and readme #1

Open ghost opened 4 years ago

ghost commented 4 years ago

the discord invite link is invalid and how can I run the bot on my own server thanks

rafaelcastrocouto commented 4 years ago

Hi! Thanks for the feedback, I fixed the expired invite. To run in your server, follow this 6 steps:

  1. Clone the repository code to your machine;
  2. Change the CHANNEL_ID in main.py to your channel (it's the last part of the discord url);
  3. Create a discord bot and grab the TOKEN - https://discord.com/developers/applications;
  4. Create a .env file in the project root directory with the following content:
    OPENAI=PASTE_YOUR_OPEN_AI_TOKEN_HERE
    DISCORD=PASTE_YOUR_DISCORD_BOT_TOKEN_HERE
  5. Install the dependencies, run main.py;
  6. Follow the authorization link give chat permissions to the bot.

Please tell me if you need further assistance, I'm here to help 😉