Table of Contents

Method HasIntent

Namespace
DisCatSharp.Enums
Assembly
DisCatSharp.dll

HasIntent(DiscordIntents, DiscordIntents)

Calculates whether these intents have a certain intent.

public static bool HasIntent(this DiscordIntents intents, DiscordIntents search)

Parameters

intents DiscordIntents

The base intents.

search DiscordIntents

The intents to search for.

Returns

bool