-
Notifications
You must be signed in to change notification settings - Fork 0
/
events.json
1113 lines (1113 loc) · 39 KB
/
events.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"CHANNEL_CREATE": {
"event": "Channel Create",
"payload": "channel object",
"description": "Sent when a new guild channel is created, relevant to the current user. The inner payload is a channel object.",
"fields": null
},
"CHANNEL_UPDATE": {
"event": "Channel Update",
"payload": "channel object",
"description": "Sent when a channel is updated. The inner payload is a channel object. This is not sent when the field last_message_id is altered. To keep track of the last_message_id changes, you must listen for Message Create events (or Thread Create events for GUILD_FORUM channels).",
"fields": null
},
"CHANNEL_DELETE": {
"event": "Channel Delete",
"payload": "channel object",
"description": "Sent when a channel relevant to the current user is deleted. The inner payload is a channel object.",
"fields": null
},
"THREAD_CREATE": {
"event": "Thread Create",
"payload": "channel object",
"description": "Sent when a thread is created, relevant to the current user, or when the current user is added to a thread. The inner payload is a channel object.",
"fields": null
},
"THREAD_UPDATE": {
"event": "Thread Update",
"payload": "channel object",
"description": "Sent when a thread is updated. The inner payload is a channel object. This is not sent when the field last_message_id is altered. To keep track of the last_message_id changes, you must listen for Message Create events.",
"fields": null
},
"THREAD_DELETE": {
"event": "Thread Delete",
"payload": "subset of the channel object",
"description": "Sent when a thread relevant to the current user is deleted. The inner payload is a subset of the channel object, containing just the id, guild_id, parent_id, and type fields.",
"fields": null
},
"THREAD_MEMBER_UPDATE": {
"event": "Thread Member Update",
"payload": "thread member object",
"description": "Sent when the thread member object for the current user is updated. The inner payload is a thread member object with an extra guild_id field. This event is documented for completeness, but unlikely to be used by most bots. For bots, this event largely is just a signal that you are a member of the thread. See the threads docs for more details.",
"fields": null
},
"GUILD_UPDATE": {
"event": "Guild Update",
"payload": "guild object",
"description": "Sent when a guild is updated. The inner payload is a guild object.",
"fields": null
},
"GUILD_DELETE": {
"event": "Guild Delete",
"payload": "unavailable guild object",
"description": "Sent when a guild becomes or was already unavailable due to an outage, or when the user leaves or is removed from a guild. The inner payload is an unavailable guild object. If the unavailable field is not set, the user was removed from the guild.",
"fields": null
},
"GUILD_MEMBER_ADD": {
"event": "Guild Member Add",
"payload": "guild member object",
"description": "Sent when a new user joins a guild. The inner payload is a guild member object with an extra guild_id key:",
"fields": null
},
"GUILD_SCHEDULED_EVENT_CREATE": {
"event": "Guild Scheduled Event Create",
"payload": "guild scheduled event object",
"description": "Sent when a guild scheduled event is created. The inner payload is a guild scheduled event object.",
"fields": null
},
"GUILD_SCHEDULED_EVENT_UPDATE": {
"event": "Guild Scheduled Event Update",
"payload": "guild scheduled event object",
"description": "Sent when a guild scheduled event is updated. The inner payload is a guild scheduled event object.",
"fields": null
},
"GUILD_SCHEDULED_EVENT_DELETE": {
"event": "Guild Scheduled Event Delete",
"payload": "guild scheduled event object",
"description": "Sent when a guild scheduled event is deleted. The inner payload is a guild scheduled event object.",
"fields": null
},
"INTEGRATION_CREATE": {
"event": "Integration Create",
"payload": "integration object",
"description": "Sent when an integration is created. The inner payload is a integration object with an additional guild_id key:",
"fields": null
},
"INTEGRATION_UPDATE": {
"event": "Integration Update",
"payload": "integration object",
"description": "Sent when an integration is updated. The inner payload is a integration object with an additional guild_id key:",
"fields": null
},
"INTERACTION_CREATE": {
"event": "Interaction Create",
"payload": "Interaction object",
"description": "Sent when a user in a guild uses an Application Command. Inner payload is an Interaction.",
"fields": null
},
"MESSAGE_CREATE": {
"event": "Message Create",
"payload": "message object",
"description": "Sent when a message is created. The inner payload is a message object.",
"fields": null
},
"MESSAGE_UPDATE": {
"event": "Message Update",
"payload": "message object",
"description": "Sent when a message is updated. The inner payload is a message object.",
"fields": null
},
"STAGE_INSTANCE_CREATE": {
"event": "Stage Instance Create",
"payload": "Stage instance object",
"description": "Sent when a Stage instance is created (i.e. the Stage is now \"live\"). Inner payload is a Stage instance",
"fields": null
},
"STAGE_INSTANCE_DELETE": {
"event": "Stage Instance Delete",
"payload": "Stage instance object",
"description": "Sent when a Stage instance has been deleted (i.e. the Stage has been closed). Inner payload is a Stage instance",
"fields": null
},
"STAGE_INSTANCE_UPDATE": {
"event": "Stage Instance Update",
"payload": "Stage instance object",
"description": "Sent when a Stage instance has been updated. Inner payload is a Stage instance",
"fields": null
},
"USER_UPDATE": {
"event": "User Update",
"payload": "user object",
"description": "Sent when properties about the user change. Inner payload is a user object.",
"fields": null
},
"VOICE_STATE_UPDATE": {
"event": "Voice State Update",
"payload": "voice state object",
"description": "Sent when someone joins/leaves/moves voice channels. Inner payload is a voice state object.",
"fields": null
},
"CHANNEL_PINS_UPDATE": {
"name": "Channel Pins Update",
"payload": null,
"description": "Sent when a message is pinned or unpinned in a text channel. This is not sent when a pinned message is deleted.",
"fields": [
{
"name": "guild_id",
"type": "snowflake",
"description": "the id of the guild",
"optional": true,
"nullable": false
},
{
"name": "channel_id",
"type": "snowflake",
"description": "the id of the channel",
"optional": false,
"nullable": false
},
{
"name": "last_pin_timestamp",
"type": "ISO8601 timestamp",
"description": "the time at which the most recent pinned message was pinned",
"optional": true,
"nullable": true
}
]
},
"THREAD_LIST_SYNC": {
"name": "Thread List Sync",
"payload": null,
"description": "Sent when the current user gains access to a channel.",
"fields": [
{
"name": "guild_id",
"type": "snowflake",
"description": "the id of the guild",
"optional": false,
"nullable": false
},
{
"name": "channel_ids",
"type": "array of snowflakes",
"description": "the parent channel ids whose threads are being synced. If omitted, then threads were synced for the entire guild. This array may contain channel_ids that have no active threads as well, so you know to clear that data.",
"optional": true,
"nullable": false
},
{
"name": "threads",
"type": "array of channel objects",
"description": "all active threads in the given channels that the current user can access",
"optional": false,
"nullable": false
},
{
"name": "members",
"type": "array of thread member objects",
"description": "all thread member objects from the synced threads for the current user, indicating which threads the current user has been added to",
"optional": false,
"nullable": false
}
]
},
"THREAD_MEMBERS_UPDATE": {
"name": "Thread Members Update",
"payload": null,
"description": "Sent when anyone is added to or removed from a thread. If the current user does not have the GUILD_MEMBERS Gateway Intent, then this event will only be sent if the current user was added to or removed from the thread.",
"fields": [
{
"name": "id",
"type": "snowflake",
"description": "the id of the thread",
"optional": false,
"nullable": false
},
{
"name": "guild_id",
"type": "snowflake",
"description": "the id of the guild",
"optional": false,
"nullable": false
},
{
"name": "member_count",
"type": "integer",
"description": "the approximate number of members in the thread, capped at 50",
"optional": false,
"nullable": false
},
{
"name": "added_members",
"type": "array of thread member objects",
"description": "the users who were added to the thread",
"optional": true,
"nullable": false
},
{
"name": "removed_member_ids",
"type": "array of snowflakes",
"description": "the id of the users who were removed from the thread",
"optional": true,
"nullable": false
}
]
},
"GUILD_BAN_ADD": {
"name": "Guild Ban Add",
"payload": null,
"description": "Sent when a user is banned from a guild.",
"fields": [
{
"name": "guild_id",
"type": "snowflake",
"description": "id of the guild",
"optional": false,
"nullable": false
},
{
"name": "user",
"type": "a user object",
"description": "the banned user",
"optional": false,
"nullable": false
}
]
},
"GUILD_BAN_REMOVE": {
"name": "Guild Ban Remove",
"payload": null,
"description": "Sent when a user is unbanned from a guild.",
"fields": [
{
"name": "guild_id",
"type": "snowflake",
"description": "id of the guild",
"optional": false,
"nullable": false
},
{
"name": "user",
"type": "a user object",
"description": "the unbanned user",
"optional": false,
"nullable": false
}
]
},
"GUILD_EMOJIS_UPDATE": {
"name": "Guild Emojis Update",
"payload": null,
"description": "Sent when a guild's emojis have been updated.",
"fields": [
{
"name": "guild_id",
"type": "snowflake",
"description": "id of the guild",
"optional": false,
"nullable": false
},
{
"name": "emojis",
"type": "array",
"description": "array of emojis",
"optional": false,
"nullable": false
}
]
},
"GUILD_STICKERS_UPDATE": {
"name": "Guild Stickers Update",
"payload": null,
"description": "Sent when a guild's stickers have been updated.",
"fields": [
{
"name": "guild_id",
"type": "snowflake",
"description": "id of the guild",
"optional": false,
"nullable": false
},
{
"name": "stickers",
"type": "array",
"description": "array of stickers",
"optional": false,
"nullable": false
}
]
},
"GUILD_INTEGRATIONS_UPDATE": {
"name": "Guild Integrations Update",
"payload": null,
"description": "Sent when a guild integration is updated.",
"fields": [
{
"name": "guild_id",
"type": "snowflake",
"description": "id of the guild whose integrations were updated",
"optional": false,
"nullable": false
}
]
},
"GUILD_MEMBER_REMOVE": {
"name": "Guild Member Remove",
"payload": null,
"description": "Sent when a user is removed from a guild (leave/kick/ban).",
"fields": [
{
"name": "guild_id",
"type": "snowflake",
"description": "the id of the guild",
"optional": false,
"nullable": false
},
{
"name": "user",
"type": "a user object",
"description": "the user who was removed",
"optional": false,
"nullable": false
}
]
},
"GUILD_MEMBER_UPDATE": {
"name": "Guild Member Update",
"payload": null,
"description": "Sent when a guild member is updated. This will also fire when the user object of a guild member changes.",
"fields": [
{
"name": "guild_id",
"type": "snowflake",
"description": "the id of the guild",
"optional": false,
"nullable": false
},
{
"name": "roles",
"type": "array of snowflakes",
"description": "user role ids",
"optional": false,
"nullable": false
},
{
"name": "user",
"type": "a user object",
"description": "the user",
"optional": false,
"nullable": false
},
{
"name": "nick",
"type": "string",
"description": "nickname of the user in the guild",
"optional": true,
"nullable": true
},
{
"name": "avatar",
"type": "string",
"description": "the member's guild avatar hash",
"optional": false,
"nullable": true
},
{
"name": "joined_at",
"type": "ISO8601 timestamp",
"description": "when the user joined the guild",
"optional": false,
"nullable": true
},
{
"name": "premium_since",
"type": "ISO8601 timestamp",
"description": "when the user starting boosting the guild",
"optional": true,
"nullable": true
},
{
"name": "deaf",
"type": "boolean",
"description": "whether the user is deafened in voice channels",
"optional": true,
"nullable": false
},
{
"name": "mute",
"type": "boolean",
"description": "whether the user is muted in voice channels",
"optional": true,
"nullable": false
},
{
"name": "pending",
"type": "boolean",
"description": "whether the user has not yet passed the guild's Membership Screening requirements",
"optional": true,
"nullable": false
},
{
"name": "communication_disabled_until",
"type": "ISO8601 timestamp",
"description": "when the user's timeout will expire and the user will be able to communicate in the guild again, null or a time in the past if the user is not timed out",
"optional": true,
"nullable": true
}
]
},
"GUILD_MEMBERS_CHUNK": {
"name": "Guild Members Chunk",
"payload": null,
"description": "Sent in response to Guild Request Members.\nYou can use the chunk_index and chunk_count to calculate how many chunks are left for your request.",
"fields": [
{
"name": "guild_id",
"type": "snowflake",
"description": "the id of the guild",
"optional": false,
"nullable": false
},
{
"name": "members",
"type": "array of guild member objects",
"description": "set of guild members",
"optional": false,
"nullable": false
},
{
"name": "chunk_index",
"type": "integer",
"description": "the chunk index in the expected chunks for this response (0 <= chunk_index < chunk_count)",
"optional": false,
"nullable": false
},
{
"name": "chunk_count",
"type": "integer",
"description": "the total number of expected chunks for this response",
"optional": false,
"nullable": false
},
{
"name": "not_found",
"type": "array",
"description": "if passing an invalid id to REQUEST_GUILD_MEMBERS, it will be returned here",
"optional": true,
"nullable": false
},
{
"name": "presences",
"type": "array of presence objects",
"description": "if passing true to REQUEST_GUILD_MEMBERS, presences of the returned members will be here",
"optional": true,
"nullable": false
},
{
"name": "nonce",
"type": "string",
"description": "the nonce used in the Guild Members Request",
"optional": true,
"nullable": false
}
]
},
"GUILD_ROLE_CREATE": {
"name": "Guild Role Create",
"payload": null,
"description": "Sent when a guild role is created.",
"fields": [
{
"name": "guild_id",
"type": "snowflake",
"description": "the id of the guild",
"optional": false,
"nullable": false
},
{
"name": "role",
"type": "a role object",
"description": "the role created",
"optional": false,
"nullable": false
}
]
},
"GUILD_ROLE_UPDATE": {
"name": "Guild Role Update",
"payload": null,
"description": "Sent when a guild role is updated.",
"fields": [
{
"name": "guild_id",
"type": "snowflake",
"description": "the id of the guild",
"optional": false,
"nullable": false
},
{
"name": "role",
"type": "a role object",
"description": "the role updated",
"optional": false,
"nullable": false
}
]
},
"GUILD_ROLE_DELETE": {
"name": "Guild Role Delete",
"payload": null,
"description": "Sent when a guild role is deleted.",
"fields": [
{
"name": "guild_id",
"type": "snowflake",
"description": "id of the guild",
"optional": false,
"nullable": false
},
{
"name": "role_id",
"type": "snowflake",
"description": "id of the role",
"optional": false,
"nullable": false
}
]
},
"GUILD_SCHEDULED_EVENT_USER_ADD": {
"name": "Guild Scheduled Event User Add",
"payload": null,
"description": "Sent when a user has subscribed to a guild scheduled event.",
"fields": [
{
"name": "guild_scheduled_event_id",
"type": "snowflake",
"description": "id of the guild scheduled event",
"optional": false,
"nullable": false
},
{
"name": "user_id",
"type": "snowflake",
"description": "id of the user",
"optional": false,
"nullable": false
},
{
"name": "guild_id",
"type": "snowflake",
"description": "id of the guild",
"optional": false,
"nullable": false
}
]
},
"GUILD_SCHEDULED_EVENT_USER_REMOVE": {
"name": "Guild Scheduled Event User Remove",
"payload": null,
"description": "Sent when a user has unsubscribed from a guild scheduled event.",
"fields": [
{
"name": "guild_scheduled_event_id",
"type": "snowflake",
"description": "id of the guild scheduled event",
"optional": false,
"nullable": false
},
{
"name": "user_id",
"type": "snowflake",
"description": "id of the user",
"optional": false,
"nullable": false
},
{
"name": "guild_id",
"type": "snowflake",
"description": "id of the guild",
"optional": false,
"nullable": false
}
]
},
"INTEGRATION_DELETE": {
"name": "Integration Delete",
"payload": null,
"description": "Sent when an integration is deleted.",
"fields": [
{
"name": "id",
"type": "snowflake",
"description": "integration id",
"optional": false,
"nullable": false
},
{
"name": "guild_id",
"type": "snowflake",
"description": "id of the guild",
"optional": false,
"nullable": false
},
{
"name": "application_id",
"type": "snowflake",
"description": "id of the bot/OAuth2 application for this discord integration",
"optional": true,
"nullable": false
}
]
},
"INVITE_CREATE": {
"name": "Invite Create",
"payload": null,
"description": "Sent when a new invite to a channel is created.",
"fields": [
{
"name": "channel_id",
"type": "snowflake",
"description": "the channel the invite is for",
"optional": false,
"nullable": false
},
{
"name": "code",
"type": "string",
"description": "the unique invite code",
"optional": false,
"nullable": false
},
{
"name": "created_at",
"type": "ISO8601 timestamp",
"description": "the time at which the invite was created",
"optional": false,
"nullable": false
},
{
"name": "guild_id",
"type": "snowflake",
"description": "the guild of the invite",
"optional": true,
"nullable": false
},
{
"name": "inviter",
"type": "user object",
"description": "the user that created the invite",
"optional": true,
"nullable": false
},
{
"name": "max_age",
"type": "integer",
"description": "how long the invite is valid for (in seconds)",
"optional": false,
"nullable": false
},
{
"name": "max_uses",
"type": "integer",
"description": "the maximum number of times the invite can be used",
"optional": false,
"nullable": false
},
{
"name": "target_type",
"type": "integer",
"description": "the type of target for this voice channel invite",
"optional": true,
"nullable": false
},
{
"name": "target_user",
"type": "user object",
"description": "the user whose stream to display for this voice channel stream invite",
"optional": true,
"nullable": false
},
{
"name": "target_application",
"type": "partial application object",
"description": "the embedded application to open for this voice channel embedded application invite",
"optional": true,
"nullable": false
},
{
"name": "temporary",
"type": "boolean",
"description": "whether or not the invite is temporary (invited users will be kicked on disconnect unless they're assigned a role)",
"optional": false,
"nullable": false
},
{
"name": "uses",
"type": "integer",
"description": "how many times the invite has been used (always will be 0)",
"optional": false,
"nullable": false
}
]
},
"INVITE_DELETE": {
"name": "Invite Delete",
"payload": null,
"description": "Sent when an invite is deleted.",
"fields": [
{
"name": "channel_id",
"type": "snowflake",
"description": "the channel of the invite",
"optional": false,
"nullable": false
},
{
"name": "guild_id",
"type": "snowflake",
"description": "the guild of the invite",
"optional": true,
"nullable": false
},
{
"name": "code",
"type": "string",
"description": "the unique invite code",
"optional": false,
"nullable": false
}
]
},
"MESSAGE_DELETE": {
"name": "Message Delete",
"payload": null,
"description": "Sent when a message is deleted.",
"fields": [
{
"name": "id",
"type": "snowflake",
"description": "the id of the message",
"optional": false,
"nullable": false
},
{
"name": "channel_id",
"type": "snowflake",
"description": "the id of the channel",
"optional": false,
"nullable": false
},
{
"name": "guild_id",
"type": "snowflake",
"description": "the id of the guild",
"optional": true,
"nullable": false
}
]
},
"MESSAGE_DELETE_BULK": {
"name": "Message Delete Bulk",
"payload": null,
"description": "Sent when multiple messages are deleted at once.",
"fields": [
{
"name": "ids",
"type": "array of snowflakes",
"description": "the ids of the messages",
"optional": false,
"nullable": false
},
{
"name": "channel_id",
"type": "snowflake",
"description": "the id of the channel",
"optional": false,
"nullable": false
},
{
"name": "guild_id",
"type": "snowflake",
"description": "the id of the guild",
"optional": true,
"nullable": false
}
]
},
"MESSAGE_REACTION_ADD": {
"name": "Message Reaction Add",
"payload": null,
"description": "Sent when a user adds a reaction to a message.",
"fields": [
{
"name": "user_id",
"type": "snowflake",
"description": "the id of the user",
"optional": false,
"nullable": false
},
{
"name": "channel_id",
"type": "snowflake",
"description": "the id of the channel",
"optional": false,
"nullable": false
},
{
"name": "message_id",
"type": "snowflake",
"description": "the id of the message",
"optional": false,
"nullable": false
},
{
"name": "guild_id",
"type": "snowflake",
"description": "the id of the guild",
"optional": true,
"nullable": false
},
{
"name": "member",
"type": "member object",
"description": "the member who reacted if this happened in a guild",
"optional": true,
"nullable": false
},
{
"name": "emoji",
"type": "a partial emoji object",
"description": "the emoji used to react - example",
"optional": false,
"nullable": false
}
]
},
"MESSAGE_REACTION_REMOVE": {
"name": "Message Reaction Remove",
"payload": null,
"description": "Sent when a user removes a reaction from a message.",
"fields": [
{
"name": "user_id",
"type": "snowflake",
"description": "the id of the user",
"optional": false,
"nullable": false
},
{
"name": "channel_id",
"type": "snowflake",
"description": "the id of the channel",
"optional": false,
"nullable": false
},
{
"name": "message_id",
"type": "snowflake",
"description": "the id of the message",
"optional": false,
"nullable": false
},
{
"name": "guild_id",
"type": "snowflake",
"description": "the id of the guild",
"optional": true,
"nullable": false
},
{
"name": "emoji",
"type": "a partial emoji object",
"description": "the emoji used to react - example",
"optional": false,
"nullable": false
}
]
},
"MESSAGE_REACTION_REMOVE_ALL": {
"name": "Message Reaction Remove All",
"payload": null,
"description": "Sent when a user explicitly removes all reactions from a message.",
"fields": [
{
"name": "channel_id",
"type": "snowflake",
"description": "the id of the channel",
"optional": false,
"nullable": false
},
{
"name": "message_id",
"type": "snowflake",
"description": "the id of the message",
"optional": false,
"nullable": false
},
{
"name": "guild_id",
"type": "snowflake",
"description": "the id of the guild",
"optional": true,
"nullable": false
}
]
},
"MESSAGE_REACTION_REMOVE_EMOJI": {
"name": "Message Reaction Remove Emoji",
"payload": null,
"description": "Sent when a bot removes all instances of a given emoji from the reactions of a message.",
"fields": [
{
"name": "channel_id",
"type": "snowflake",
"description": "the id of the channel",
"optional": false,
"nullable": false
},
{
"name": "guild_id",
"type": "snowflake",
"description": "the id of the guild",
"optional": true,
"nullable": false
},
{
"name": "message_id",
"type": "snowflake",
"description": "the id of the message",
"optional": false,
"nullable": false
},
{
"name": "emoji",
"type": "partial emoji object",
"description": "the emoji that was removed",
"optional": false,
"nullable": false
}
]
},
"PRESENCE_UPDATE": {
"name": "Presence Update",
"payload": null,
"description": "A user's presence is their current state on a guild. This event is sent when a user's presence or info, such as name or avatar, is updated.",
"fields": [
{
"name": "user",
"type": "user object",
"description": "the user presence is being updated for",
"optional": false,
"nullable": false
},
{
"name": "guild_id",
"type": "snowflake",
"description": "id of the guild",
"optional": false,
"nullable": false
},
{
"name": "status",