๐ Keys Setup
- Set your
OPENAI_API_KEYin your variables.env file. - Go to https://discord.com/developers/applications/ and click on
New Application. - Enter the name for your bot, accept the terms and click on
Create. On the resulting page, enter the details of your bot as you like. - On the left sidebar, click on
Bot. Under the headingPrivileged Gateway Intents, toggle all 3 options to ON position. Save your changes. - Now click on
Reset Tokenand copy the token value. Set it asDISCORD_BOT_TOKENin .env file. - On the left sidebar, click on
OAuth2and go toGeneral. - Set
Authorization MethodtoIn-app Authorization. UnderScopesselectbot. - Under
Bot Permissionsallow the following and then click onSave Changes.
- Now under
OAuth2and go toURL Generator. UnderScopesselectbot. - Under
Bot Permissionsset the same permissions as above. - Now scroll down and copy the
Generated URL. Paste it in a browser window and select the Server where you want to add the bot. - Click on
Continueand authorize the bot. - ๐ The bot has been successfully added to your server. But itโs still offline.
Take the bot online
- docker
- python
๐ Usage Instructions
- Go to the server where you have added your bot.
- You can add data sources to the bot using the slash command:
- You can ask your queries from the bot using the slash command:
- You can chat with the bot using the slash command:
Message.
๐ Happy Chatting! ๐