This commit is contained in:
2023-03-29 06:25:48 -05:00
parent 04ede9e207
commit 5ac8131d39
2 changed files with 2 additions and 0 deletions

View File

@@ -13,6 +13,7 @@ RUN go build -o bot
ENV TOKEN=${DISCORD_TOKEN}
ENV BOTPREFIX="!"
ENV ChannelID=${ChannelID}
ENV OPENAI_API_KEY=${OPENAI_API_KEY}
# Run the bot binary
CMD ["./bot"]

View File

@@ -29,6 +29,7 @@ type configStruct struct {
Token string `json : "Token"`
BotPrefix string `json : "BotPrefix"`
ChannelID string `json : "ChannelID"`
apiKey string `json : "OPEN_API_KEY"`
}
type jingleBellsResponse struct {