/discord-B10-bot

Bot creted by me, to integrate a discord server and connect with open ai api

Primary LanguageJavaScript

Discord Bot (AI-B10) Project 🤖

discord bot logo


This is a Discord bot project created with JavaScript. The goal of this project is the challenge to integrate openAI api into bot responses when user request.

Features 📊

  • Respond to user commands in Discord channels
  • Perform actions in response to commands, such as sending messages and reacting to messages
  • Handle events, such as users messages.
  • Integrate with open AI Api

Technical Overview 🧐

  • The project uses JavaScript to write the Discord bot and its functionality
  • The Discord.js library is used to connect to the Discord server and manage bot interactions
  • The project dependencies are managed with NPM
  • The bot integrates with the OpenAI API of the Vinci 003 model for natural language processing and conversation.

⚠️ Note: This description does not include actual code, as the goal of this project is to train Discord bot development skills.

Technologies 💻

  • JavaScript
  • Discord.js
  • NPM
  • OpenAI API (Vinci 003 model)

Discord Bot Features

  • Response commands
  • Actions in response to commands
  • Event handling

How to use

To use this Discord bot on your own server, follow these steps:

  1. Clone this repository to your local machine.

  2. Create a new Discord bot application in the Discord Developer Portal.

  3. Add the bot to your Discord server by following the instructions provided in the Discord Developer Portal.

  4. Create a .env file in the project directory and add the following variables: DISCORD_TOKEN= OPENAI_API_KEY=

  5. Run npm install to install the project dependencies.

  6. Run npm start to start the bot.

Once the bot is running, you can test its features in your Discord server by sending commands and interacting with it.

You can test the bot on a Discord server to experience its functionality and integration with the OpenAI API.

Note: You also can invite the deployed bot to your discord server here

Contact 💬

For more information about the project, please feel free to contact me through my LinkedIn profile.