We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Important
Since the deployment is done, the only thing needed is BOT credentials. Here are the steps inspired from previous issue ticket #27
NOTE These variables are essential for the bot to function correctly. Please provide them to @prakashchoudhary07
NOTE The URL is essential for the bot to function correctly. Please get them from @prakashchoudhary07
To set up a discord you first need to create an application (basically a bot), here are the steps to follow:
Visit Discord Application
Click on the "New Application" Button
Fill in your Application Name
Now here you will see your newly created application, click on it, and this should open "General Information"
If you scroll down, you will se PUBLIC KEY, copy it and place it in environment as DISCORD_PUBLIC_KEY
environment
Now to create BOT_TOKEN, click on BOT > Reset Token
Once you have the token, place it against BOT_TOKEN in the environment
Now, we will be creating an invite URL and for that, you need to click on OAuth2 > bot
Now as soon as you click on the bot, a section to choose bot permission from, will show up
Check the following options
Once you select all the bot permissions, scroll a bit down and you will see "Generated URL"
Copy and paste that URL into the browser, and a prompt will come up that will ask you to select your own "Discord Server"
Once you add the Bot to your server, copy the "Server Id", by right-clicking on the server avatar. Now place this id in environment against GUILD_ID
Paste the URL of Discord Service running on Prod (e.g., https://<subdomain>.<domain>.com or https://<host>:<port>).
https://<subdomain>.<domain>.com
https://<host>:<port>
Open the General Information section of your bot in the Discord Developer Portal by clicking on bot's avatar or on name.
Paste the copied URL into the Interactions Endpoint URL field and hit on save button.
This URL is where Discord will send interaction events for your bot, such as commands or button clicks.
That’s it! 🚀 Your bot is ready to handle interactions. Try running a /hello command to test it out!
/hello
The text was updated successfully, but these errors were encountered:
All the steps here have been completed successfully. ✅
Sorry, something went wrong.
ankushdharkar
No branches or pull requests
Important
Since the deployment is done, the only thing needed is BOT credentials. Here are the steps inspired from previous issue ticket #27
Please follow these steps to create BOT (and credentials)
Discord Bot Setup
ENV Vars Prakash needs
Vars you will get from Prakash
Getting Started
To set up a discord you first need to create an application (basically a bot), here are the steps to follow:
Visit Discord Application
Click on the "New Application" Button
![Screenshot 2024-11-08 at 1 52 53 AM](https://private-user-images.githubusercontent.com/56365512/384127974-380657ca-89b4-4053-96c9-6b73632d382c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NDAwMzg1MTUsIm5iZiI6MTc0MDAzODIxNSwicGF0aCI6Ii81NjM2NTUxMi8zODQxMjc5NzQtMzgwNjU3Y2EtODliNC00MDUzLTk2YzktNmI3MzYzMmQzODJjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMjAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjIwVDA3NTY1NVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWVlOGU4MDJjZGE2NTJhYWRlNTI4YjA1YWFiYjhmODc4OTNiNjhkNjI2YTg4NmJhODc0OWJlZDQ0MWIzYzJlNjAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.VnaxNa4I0mP02h5IAf6kbJCw0fa_D3R-RCki__7IaIQ)
Fill in your Application Name
![Screenshot 2024-11-08 at 1 52 53 AM](https://private-user-images.githubusercontent.com/56365512/384129643-688bd69d-fcca-4a80-8780-9ab18bfc5037.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NDAwMzg1MTUsIm5iZiI6MTc0MDAzODIxNSwicGF0aCI6Ii81NjM2NTUxMi8zODQxMjk2NDMtNjg4YmQ2OWQtZmNjYS00YTgwLTg3ODAtOWFiMThiZmM1MDM3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMjAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjIwVDA3NTY1NVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWY0MzkxNzBlZWYzZmY0MzlkNzE2ZGFlNDFhODU4Y2ViNTc2YmFhYzZmYzE3YWNhOTY4ZDY4OTgyNDZlM2NmZTYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.9kh901PAj9Ph2zs2eQOuyBvJrCd3ZihzQnRGniMQf9c)
Now here you will see your newly created application, click on it, and this should open "General Information"
If you scroll down, you will se PUBLIC KEY, copy it and place it in
environment
as DISCORD_PUBLIC_KEYNow to create BOT_TOKEN, click on BOT > Reset Token
![Screenshot 2024-11-08 at 2 07 40 AM](https://private-user-images.githubusercontent.com/56365512/384130842-201f9e51-a44a-43af-9c96-4eaf453d02b0.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NDAwMzg1MTUsIm5iZiI6MTc0MDAzODIxNSwicGF0aCI6Ii81NjM2NTUxMi8zODQxMzA4NDItMjAxZjllNTEtYTQ0YS00M2FmLTljOTYtNGVhZjQ1M2QwMmIwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMjAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjIwVDA3NTY1NVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTViM2NmOWE3ZmQ3MTM3MDM4ZGU4M2QxNmVmMmZmNDZlZTlhYzVjYWZmZjQxNGI5MmE3ZjgxNTkzYWI2MDJlNDcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.I200HNO-1NGOz2gQHGRyoZ_sSO2mZsOc1-qATuXMPCE)
Once you have the token, place it against BOT_TOKEN in the
environment
Now, we will be creating an invite URL and for that, you need to click on OAuth2 > bot
![Screenshot 2024-11-13 at 11 40 21 PM](https://private-user-images.githubusercontent.com/56365512/385900419-aebad7fe-aa82-45de-bb17-25dc0fff0e5f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NDAwMzg1MTUsIm5iZiI6MTc0MDAzODIxNSwicGF0aCI6Ii81NjM2NTUxMi8zODU5MDA0MTktYWViYWQ3ZmUtYWE4Mi00NWRlLWJiMTctMjVkYzBmZmYwZTVmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMjAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjIwVDA3NTY1NVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWZmYjlmYjBkZjFhNzkyMWY1ZTA1ZWIxM2NjMmNkMmVmZTg3ZTQwOTI3OWIwZjFhMzkwMWQ1MDE0NDY2MjljNjgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.DE-GBZZFRVZPiYiQ4GHHWkIDuvLqkRuspwG1P8S3qq4)
Now as soon as you click on the bot, a section to choose bot permission from, will show up
![Screenshot 2024-11-14 at 10 53 20 AM](https://private-user-images.githubusercontent.com/56365512/386055462-b6fc4afb-4de4-449c-bf39-f8a0b4d3de06.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NDAwMzg1MTUsIm5iZiI6MTc0MDAzODIxNSwicGF0aCI6Ii81NjM2NTUxMi8zODYwNTU0NjItYjZmYzRhZmItNGRlNC00NDljLWJmMzktZjhhMGI0ZDNkZTA2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMjAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjIwVDA3NTY1NVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTYwZWI2YTQ3YzcyNDA4NDVhNWJlMjgzNjM0NWQ4ODg2MDYwMTI1ZGFkNGJmODQ2ZDdkNzUxOWIwOTZkMTYwNzAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.SHQybDJiJ6yRD79kGrkIZb5AOidNqfKvfmlMsDpPJII)
Check the following options
Once you select all the bot permissions, scroll a bit down and you will see "Generated URL"
![Screenshot 2024-11-14 at 10 58 30 AM](https://private-user-images.githubusercontent.com/56365512/386056452-bbff4c6d-4ef5-46fd-89c7-9acf31c11cdd.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NDAwMzg1MTUsIm5iZiI6MTc0MDAzODIxNSwicGF0aCI6Ii81NjM2NTUxMi8zODYwNTY0NTItYmJmZjRjNmQtNGVmNS00NmZkLTg5YzctOWFjZjMxYzExY2RkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMjAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjIwVDA3NTY1NVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTI1NmFjYjlkNTFkMzM2ODExZWE0ZGM1NmQzNjYwOGM2NzU2OTI2ZmJjY2M4MWJlOTNjMDk0YjM3ODFlNjI4NDcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.vJosZ_cdkeJhUroBRAgL5S_wteXUPUsDsGg7uyC5hVo)
Copy and paste that URL into the browser, and a prompt will come up that will ask you to select your own "Discord Server"
![Screenshot 2024-11-14 at 11 00 45 AM](https://private-user-images.githubusercontent.com/56365512/386056991-322caf6d-af84-4752-88db-0ce64e080d6d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NDAwMzg1MTUsIm5iZiI6MTc0MDAzODIxNSwicGF0aCI6Ii81NjM2NTUxMi8zODYwNTY5OTEtMzIyY2FmNmQtYWY4NC00NzUyLTg4ZGItMGNlNjRlMDgwZDZkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMjAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjIwVDA3NTY1NVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWI2YjZjMzQ4YjU4ZGRkN2E3ZTc2MTE0Njk4YzZkZTk3M2MyNmNjMWFiMjE0NGQ1ZmY4ZWMyN2MxMTQwMGE5ODImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.YjjzwfyqhhWFZW9porBkNHdtD3TKZrelUUYPpjyAPTc)
Once you add the Bot to your server, copy the "Server Id", by right-clicking on the server avatar. Now place this id in
environment
against GUILD_IDSteps to Configure the Interactions Endpoint
Paste the URL of Discord Service running on Prod (e.g.,
https://<subdomain>.<domain>.com
orhttps://<host>:<port>
).Open the General Information section of your bot in the Discord Developer Portal by clicking on bot's avatar or on name.
Paste the copied URL into the Interactions Endpoint URL field and hit on save button.
That’s it! 🚀 Your bot is ready to handle interactions. Try running a
/hello
command to test it out!The text was updated successfully, but these errors were encountered: