Skip to content

fac29b/PlaylistBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PlaylistBot

This project is a Discord bot built with Node.js that utilizes the ChatGPT API for chatbot interactions. Additionally, the bot integrates with Spotify's API to provide music-related functionalities.

Table of Contents

Introduction

The Discord ChatBot with Spotify Integration aims to enhance your Discord server by providing an interactive chatbot experience powered by ChatGPT. Additionally, users can enjoy Spotify music functionalities directly within the Discord server.

Features

  • Discord based chatbot
  • ChatGPT-powered chatbot interactions
  • Spotify API integration for music-related commands

Getting Started

Prerequisites

Make sure you have the following prerequisites:

  • Node.js installed
  • Discord bot token
  • Spotify API credentials
  • OpenAI API key

Installation

  1. Clone the repository:

    git clone https://github.com/your-username/your-repo.git

    Install dependencies:

    npm install

Configuration

Create a .env file in the root of your project:

TOKEN=your-discord-token
OPENAI_KEY=your-openai-api-key
SPOTIFY_CLIENT_ID=your-spotify-client-id
SPOTIFY_CLIENT_SECRET=your-spotify-client-secret
SPOTKEY=your-spotify-client-secret

Replace your-discord-token, your-spotify-client-id, your-spotify-client-secret, and your-openai-api-key with your actual tokens and keys.

Usage

To run the Discord bot, use the following command:

npm start

Ensure the bot is invited to your Discord server and has the necessary permissions.

File Structure

Awaiting more organisation!

Contributing

Feel free to contribute to this project. If you have suggestions or find issues, please submit them through the GitHub repository's issue tracker. Pull requests are also welcome.

Contributors

PlaylistBot was developed collaboratively by Feargh and fintonius.

Thank you for reading!

About

A Discord bot built with Node.js that utilizes the ChatGPT API for chatbot interactions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •