go-openai-discord

command module
v0.0.0-...-0e3862f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 12, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

README

go-openai-discord

Golang implementation of OpenAI chatbot as discord bot

deploy

create .env file and replace the placeholders with your credentials

OPENAI_API_KEY=<OPENAI API KEY>
DISCORD_BOT_TOKEN=<DISCORD BOT TOKEN>

Try your bot:

go run main.go
Docker

Build a container:

docker build -t openai-discord .

Run the container:

docker run --env-file .env openai-discord

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL