hiltvisions.blogg.se

Discord chat bot ai
Discord chat bot ai











discord chat bot ai

Now goto Project settings & Service accounts. This'll also set the Default GCP Resource Location & you can't change it later. Select a Firestore location nearest to your Server / VPS. Select Start in production mode & click Next Give it a name and click Continueĭisable Google Analytics & Click Create Projectįrom the side-bar goto Build & then Firestore Database. Goto Firebase Console: (No Card Required)Ĭlick on Create a project or Add project. Knowledge Cutoff and Current Date is always sent. You can change it to anything you want to change the bot's behaviour as your requirements. SYSTEM_MESSAGE - This is the Initial Prompt that is sent to the Model. MODEL - Name of the Model you want to use. UWU - Toggle Figlet & Gradient-String decoration. But you can set 3rd party equivalent endpoint too.ĭEBUG - Toggle Debug Messages. If you change the port, make sure to change it in the Dockerfile as well.ĭISCORD_MAX_RESPONSE_LENGTH - Max 2000, recomended 1900.ĪPI_ENDPOINT - Set default for endpoint. OPENAI_API_KEY - Get OpenAI API Key from here.

discord chat bot ai

You can add as many as you want in proper format. Values: true or falseĭM_WHITELIST_ID= - Set Discord user IDs of users only who can use bot from dm. Environment Variables Setup: (expand/collapse)ĭISCORD_CLIENT_ID - Client ID of the bot from OAuth2 section.ĭISCORD_BOT_TOKEN - Token of the bot from Bot section.ĭIRECT_MESSAGES - Toggle Direct Messages.Example Bot Invite URL (Replace BOT_CLIENT_ID with your bot's Client ID) :.Privileged Gateway Intents: PRESENCE, SERVER MEMBERS, MESSAGE CONTENT Create New Application (BOT) from Discord Developer Portal and invite that bot to your Discord Server with:.Atleast 1vCPU, 0.25GB RAM & 0.5GB Storage for the Bot.reset-chat - Start A Fresh Chat Session/Thread. ping - Check Websocket Heartbeat & Roundtrip Latency. ✨ Chalk, Figlet & Gradient-String for decoration. 💥 Uses Firestore Database for persistent chat history storage & logs. 🔄 Use /reset-chat to Start a new Conversation / Thread. 🧵 Continue Conversation in DM or using /ask

discord chat bot ai

🔑 Direct Message (DM) the bot to get answer / response privately (switchable). 🔥 Use slash command /ask to ask questions in any channel. This BOT uses ChatGPT API & Firebase Firestore Database. A Discord BOT Powered By OpenAI's ChatGPT.













Discord chat bot ai