Skip to content

Commit 6f3877c

Browse files
committed
implement missing interfaces to have strong component typing
1 parent 4d28ba8 commit 6f3877c

14 files changed

+308
-392
lines changed

_examples/componentsv2/example.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,12 @@ import (
1212
"github.com/disgoorg/disgo/discord"
1313
"github.com/disgoorg/disgo/events"
1414
"github.com/disgoorg/disgo/gateway"
15+
"github.com/disgoorg/snowflake/v2"
1516
)
1617

1718
var (
18-
token = os.Getenv("disgo_token")
19+
token = os.Getenv("disgo_token")
20+
guildID = snowflake.GetEnv("disgo_guild_id")
1921
)
2022

2123
func main() {

0 commit comments

Comments
 (0)