Maya-AI-bot 🤖❤️ Meet Maya, your delightful OpenAI companion! With a perfect blend of charisma and knowledge, Maya is here to provide you with answers and entertainment. Get ready for engaging conversations as we explore the world together.
Prerequisites: Make sure you have the latest versions of Node.js and NPM installed.
Node.js: Latest version NPM: Latest version Installation Steps: In your project directory, initialize NPM using the following command:
bash Copy code npm init -y Open your VSCode terminal and run the following command:
bash Copy code npm install discord.js openai dotenv Add your Discord bot token and OpenAI token into the .env file.
Upgrade your OpenAI API plan from free to a higher tier for an enhanced experience.
Invite Maya to you discord: https://discord.com/oauth2/authorize?client_id=1184503984405352600&permissions=8&scope=bot
Configuration: In the mayabot.js file: Update line 14 with your desired channelId where Maya will respond: javascript Copy code const CHANNELS = ['Your_Channel_ID_Here']; Run Your Bot: In the VSCode terminal, run the following command to start Maya:
bash Copy code node mayabot.js Now you're all set! Enjoy your interactions with Maya. Have fun! 😊🌟