Power of ChatGPT in your Discord server or DM with a simple mention.
Created to help the developers of Lodestone to aid in their development of the project.
It is much faster than the free version of ChatGPT, and it costs way less than 20$ a month.
Also texting a bot in discord is much easier than using a website IMO.
- Install the Rust toolchain from here
- Clone the repo
- Run
cargo build --release
- While that is building, create a Discord bot and an OpenAI account. First
google search gave me this
(https://www.ionos.com/digitalguide/server/know-how/creating-discord-bot/),
make sure to enable
MESSAGE CONTENT INTENT
in the bot settings on the discord developer portal. - Fill out the .env file with your Discord ot and OpenAI token
- Fill in init.txt with the text you want to start the bot with
- Run
cargo run --release
or./target/release/cordgpt
@mention the bot in a channel or direct message with a prompt.