Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

invite link invalid and readme #1

Open
ak9250 opened this issue Aug 7, 2020 · 1 comment
Open

invite link invalid and readme #1

ak9250 opened this issue Aug 7, 2020 · 1 comment

Comments

@ak9250
Copy link

ak9250 commented Aug 7, 2020

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

@rafaelcastrocouto
Copy link
Owner

rafaelcastrocouto commented Aug 7, 2020

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 😉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants