@@ -36,19 +36,13 @@ type Event struct {
36
36
37
37
// A Ready stores all data for the websocket READY event.
38
38
type Ready struct {
39
- Version int `json:"v"`
40
- SessionID string `json:"session_id"`
41
- User * User `json:"user"`
42
- ReadState []* ReadState `json:"read_state"`
43
- PrivateChannels []* Channel `json:"private_channels"`
44
- Guilds []* Guild `json:"guilds"`
39
+ Version int `json:"v"`
40
+ SessionID string `json:"session_id"`
41
+ User * User `json:"user"`
42
+ Guilds []* Guild `json:"guilds"`
43
+ PrivateChannels []* Channel `json:"private_channels"`
45
44
46
- // Undocumented fields
47
- Settings * Settings `json:"user_settings"`
48
- UserGuildSettings []* UserGuildSettings `json:"user_guild_settings"`
49
- Relationships []* Relationship `json:"relationships"`
50
- Presences []* Presence `json:"presences"`
51
- Notes map [string ]string `json:"notes"`
45
+ // TODO: Application and Shard
52
46
}
53
47
54
48
// ChannelCreate is the data for a ChannelCreate event.
@@ -245,12 +239,6 @@ type GuildScheduledEventUserRemove struct {
245
239
GuildID string `json:"guild_id"`
246
240
}
247
241
248
- // MessageAck is the data for a MessageAck event.
249
- type MessageAck struct {
250
- MessageID string `json:"message_id"`
251
- ChannelID string `json:"channel_id"`
252
- }
253
-
254
242
// MessageCreate is the data for a MessageCreate event.
255
243
type MessageCreate struct {
256
244
* Message
@@ -314,16 +302,6 @@ type Resumed struct {
314
302
Trace []string `json:"_trace"`
315
303
}
316
304
317
- // RelationshipAdd is the data for a RelationshipAdd event.
318
- type RelationshipAdd struct {
319
- * Relationship
320
- }
321
-
322
- // RelationshipRemove is the data for a RelationshipRemove event.
323
- type RelationshipRemove struct {
324
- * Relationship
325
- }
326
-
327
305
// TypingStart is the data for a TypingStart event.
328
306
type TypingStart struct {
329
307
UserID string `json:"user_id"`
@@ -337,20 +315,6 @@ type UserUpdate struct {
337
315
* User
338
316
}
339
317
340
- // UserSettingsUpdate is the data for a UserSettingsUpdate event.
341
- type UserSettingsUpdate map [string ]interface {}
342
-
343
- // UserGuildSettingsUpdate is the data for a UserGuildSettingsUpdate event.
344
- type UserGuildSettingsUpdate struct {
345
- * UserGuildSettings
346
- }
347
-
348
- // UserNoteUpdate is the data for a UserNoteUpdate event.
349
- type UserNoteUpdate struct {
350
- ID string `json:"id"`
351
- Note string `json:"note"`
352
- }
353
-
354
318
// VoiceServerUpdate is the data for a VoiceServerUpdate event.
355
319
type VoiceServerUpdate struct {
356
320
Token string `json:"token"`
0 commit comments