Skip to content

Commit fe763d0

Browse files
committed
feat: update to new tempest version
1 parent 3d485e7 commit fe763d0

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

main.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,11 @@ func main() {
1616
log.Fatal(err)
1717
}
1818

19-
client := tempest.NewClient(tempest.ClientOptions{
19+
client := tempest.NewHTTPClient(tempest.HTTPClientOptions{
2020
PublicKey: os.Getenv("DISCORD_PUBLIC_KEY"),
21-
Token: os.Getenv("DISCORD_BOT_TOKEN"),
21+
BaseClientOptions: tempest.BaseClientOptions{
22+
Token: os.Getenv("DISCORD_BOT_TOKEN"),
23+
},
2224
})
2325

2426
//client.RegisterCommand(commands.HelloCommand)

0 commit comments

Comments
 (0)