Преглед изворни кода

Add ActivityTypeWatching (3) (#983)

rigormorrtiss пре 3 година
родитељ
комит
460b371cce
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      structs.go

+ 2 - 2
structs.go

@@ -1202,8 +1202,8 @@ const (
 	ActivityTypeGame      ActivityType = 0
 	ActivityTypeStreaming ActivityType = 1
 	ActivityTypeListening ActivityType = 2
-	//	ActivityTypeWatching // not valid in this use case?
-	ActivityTypeCustom ActivityType = 4
+	ActivityTypeWatching  ActivityType = 3
+	ActivityTypeCustom    ActivityType = 4
 )
 
 // Identify is sent during initial handshake with the discord gateway.