We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3d485e7 commit fe763d0Copy full SHA for fe763d0
1 file changed
main.go
@@ -16,9 +16,11 @@ func main() {
16
log.Fatal(err)
17
}
18
19
- client := tempest.NewClient(tempest.ClientOptions{
+ client := tempest.NewHTTPClient(tempest.HTTPClientOptions{
20
PublicKey: os.Getenv("DISCORD_PUBLIC_KEY"),
21
- Token: os.Getenv("DISCORD_BOT_TOKEN"),
+ BaseClientOptions: tempest.BaseClientOptions{
22
+ Token: os.Getenv("DISCORD_BOT_TOKEN"),
23
+ },
24
})
25
26
//client.RegisterCommand(commands.HelloCommand)
0 commit comments