mirror of
https://gitlab.durp.info/durfy/apps/durpot.git
synced 2026-05-07 07:50:32 -05:00
test update
This commit is contained in:
parent
588b6d9fa3
commit
21ce2d0609
3 changed files with 135 additions and 132 deletions
23
model/model.go
Normal file
23
model/model.go
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
package model
|
||||
|
||||
type ConfigStruct struct {
|
||||
Token string `json:"Token"`
|
||||
BotPrefix string `json:"BotPrefix"`
|
||||
ChannelID string `json:"ChannelID"`
|
||||
ApiKey string `json:"OPEN_API_KEY"`
|
||||
}
|
||||
|
||||
type JingleBellsResponse struct {
|
||||
Message string `json:"message"`
|
||||
Subtitle string `json:"subtitle"`
|
||||
}
|
||||
|
||||
type DadJokeResponse struct {
|
||||
ID string `json:"id"`
|
||||
Joke string `json:"joke"`
|
||||
Status int `json:"status"`
|
||||
}
|
||||
|
||||
type YomamaJokeResponse struct {
|
||||
Joke string `json:"joke"`
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue