Skip to content

a discord bot written in Rust that uses OpenAI's GPT model to generate responses.

License

Notifications You must be signed in to change notification settings

kasugamirai/gpt_discord_bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GPT Discord Bot

Project Description

This is a Discord bot written in Rust that uses OpenAI's GPT model to generate responses.

Installation

First, you need to install Rust and Cargo. You can get the installation guide from the official Rust website.

Then, clone this repository and navigate into the project directory:

git clone https://github.com/kasugamirai/gpt_discord_bot
cd gpt-discord-bot

how to use

edit the run.sh file and set the DISCORD_BOT_TOKEN and OPENAI_API_KEY environment.

sh build.sh
cd output && sh run.sh

example

To interact with the bot, start your message with a period. For example:

.hello world

This will prompt the bot to respond. Enjoy chatting with your new AI-powered Discord bot!

About

a discord bot written in Rust that uses OpenAI's GPT model to generate responses.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published