Create a .env
file to store the following credentials:
TOKEN
- Your Discord bot tokenSERVER_ID
- The ID of your Discord serverCLIENT_ID
- The bot's client ID (can be found in the Discord Developer Dashboard)GOOGLE_API_KEY
- Your Google API key (if required)
You can deploy the bot using Railway or any other preferred hosting platform.
For a step-by-step guide, follow this tutorial:
🔗 How to Build and Deploy a Discord Bot
-
Add the bot to your server by following this guide:
🔗 How to Build and Deploy a Discord Bot -
Use the bot by typing the command
\ask
and bot will process your request and reply within approximately 10 seconds.