Esempio n. 1
0
 internal static bool HasAllPrivilegedIntents(this DiscordIntents intents)
 => intents.HasIntent(DiscordIntents.GuildMembers | DiscordIntents.GuildPresences);
Esempio n. 2
0
 internal static bool HasReactionIntents(DiscordIntents intents)
 => intents.HasIntent(DiscordIntents.GuildMessageReactions) || intents.HasIntent(DiscordIntents.DirectMessageReactions);
Esempio n. 3
0
 internal static bool HasTypingIntents(DiscordIntents intents)
 => intents.HasIntent(DiscordIntents.GuildMessageTyping) || intents.HasIntent(DiscordIntents.DirectMessageTyping);
Esempio n. 4
0
 internal static bool HasMessageIntents(DiscordIntents intents)
 => intents.HasIntent(DiscordIntents.GuildMessages) || intents.HasIntent(DiscordIntents.DirectMessages);