Method HasIntent
- Namespace
- DSharpPlus
- Assembly
- DSharpPlus.dll
HasIntent(DiscordIntents, DiscordIntents)
Calculates whether these intents have a certain intent.
public static bool HasIntent(this DiscordIntents intents, DiscordIntents search)
Parameters
intents
DiscordIntentsThe base intents.
search
DiscordIntentsThe intents to search for.
Returns
- bool