Skip to content

Commit

Permalink
fixed Connection.ID not being a snowflake
Browse files Browse the repository at this point in the history
  • Loading branch information
topi314 committed May 20, 2022
1 parent 7ec4b12 commit 6d84402
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions discord/connection.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
package discord

import "github.com/disgoorg/snowflake/v2"

type Connection struct {
ID snowflake.ID `json:"id"`
ID string `json:"id"`
Name string `json:"name"`
Type ConnectionType `json:"type"`
Revoked bool `json:"revoked,omitempty"`
Expand Down

0 comments on commit 6d84402

Please sign in to comment.