mirror of
https://gitlab.durp.info/durfy/apps/durpot.git
synced 2026-05-07 07:50:32 -05:00
updates
This commit is contained in:
parent
04ede9e207
commit
5ac8131d39
2 changed files with 2 additions and 0 deletions
|
|
@ -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"]
|
||||
1
main.go
1
main.go
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue