-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGatewayIntents.h
78 lines (59 loc) · 1.81 KB
/
GatewayIntents.h
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
#ifndef GATEWAYINTENTS_H
#define GATEWAYINTENTS_H
// From https://discord.com/developers/docs/topics/gateway#gateway-intents
#define GUILDS_INTENT (1 << 0)
// - GUILD_CREATE
// - GUILD_UPDATE
// - GUILD_DELETE
// - GUILD_ROLE_CREATE
// - GUILD_ROLE_UPDATE
// - GUILD_ROLE_DELETE
// - CHANNEL_CREATE
// - CHANNEL_UPDATE
// - CHANNEL_DELETE
// - CHANNEL_PINS_UPDATE
#define GUILD_MEMBERS_INTENT (1 << 1)
// - GUILD_MEMBER_ADD
// - GUILD_MEMBER_UPDATE
// - GUILD_MEMBER_REMOVE
#define GUILD_BANS_INTENT (1 << 2)
// - GUILD_BAN_ADD
// - GUILD_BAN_REMOVE
#define GUILD_EMOJIS_INTENT (1 << 3)
// - GUILD_EMOJIS_UPDATE
#define GUILD_INTEGRATIONS_INTENT (1 << 4)
// - GUILD_INTEGRATIONS_UPDATE
#define GUILD_WEBHOOKS_INTENT (1 << 5)
// - WEBHOOKS_UPDATE
#define GUILD_INVITES_INTENT (1 << 6)
// - INVITE_CREATE
// - INVITE_DELETE
#define GUILD_VOICE_STATES_INTENT (1 << 7)
// - VOICE_STATE_UPDATE
#define GUILD_PRESENCES_INTENT (1 << 8)
// - PRESENCE_UPDATE
#define GUILD_MESSAGES_INTENT (1 << 9)
// - MESSAGE_CREATE
// - MESSAGE_UPDATE
// - MESSAGE_DELETE
// - MESSAGE_DELETE_BULK
#define GUILD_MESSAGE_REACTIONS_INTENT (1 << 10)
// - MESSAGE_REACTION_ADD
// - MESSAGE_REACTION_REMOVE
// - MESSAGE_REACTION_REMOVE_ALL
// - MESSAGE_REACTION_REMOVE_EMOJI
#define GUILD_MESSAGE_TYPING_INTENT (1 << 11)
// - TYPING_START
#define DIRECT_MESSAGES_INTENT (1 << 12)
// - MESSAGE_CREATE
// - MESSAGE_UPDATE
// - MESSAGE_DELETE
// - CHANNEL_PINS_UPDATE
#define DIRECT_MESSAGE_REACTIONS_INTENT (1 << 13)
// - MESSAGE_REACTION_ADD
// - MESSAGE_REACTION_REMOVE
// - MESSAGE_REACTION_REMOVE_ALL
// - MESSAGE_REACTION_REMOVE_EMOJI
#define DIRECT_MESSAGE_TYPING_INTENT (1 << 14)
// - TYPING_START
#endif //GATEWAYINTENTS_H