Skip to content

Proce2/discord-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discord-Bot

A Discord bot that uses GPT-4 to respond to user messages in a conversational manner. Easy to extend and adapt for various use cases.

Getting Started

Prerequisites

  • Node.js v14+ installed on your machine.
  • A Discord bot token (stored in a .env file as BOT_TOKEN).
  • An OpenAI API key (stored in a .env file as OPENAI_API_KEY).

Installation

  1. Clone the repository.

  2. Navigate to the project directory.

  3. Install the required dependencies:

    npm install

Usage

  1. Set up your .env file with the necessary credentials:

    BOT_TOKEN=<your-discord-bot-token>
    OPENAI_API_KEY=<your-openai-api-key>
    
  2. Start the bot:

    npm start
  3. Add the bot to your Discord server, and it will start responding to messages.

Roadmap

  • Add multiple ways to interact with the bot in the chat.
  • Introduce a feature to help the bot search for music in a holistic manner.
  • Integrate external APIs to enable music playback through the bot.
  • Implement unit and integration tests to verify individual component functionality and ensure they work well together.

About

A bot that integrates GPT-4 to respond to Discord user inputs.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published