@@ -1141,3 +1141,8 @@ const (
IntentsGuildPresences
IntentsNone Intent = 0
)
+
+// MakeIntent helps convert a gateway intent value for use in the Identify structure.
+func MakeIntent(intents Intent) *Intent {
+ return &intents
+}
@@ -15,7 +15,3 @@ func SnowflakeTimestamp(ID string) (t time.Time, err error) {
t = time.Unix(timestamp/1000, 0)
return
}
-
-func MakeIntent(intents Intent) *Intent {
- return &intents
-}