Table of Contents

Method HasMessageFlag

Namespace
DSharpPlus.Entities
Assembly
DSharpPlus.dll

HasMessageFlag(DiscordMessageFlags, DiscordMessageFlags)

Calculates whether these message flags contain a specific flag.

public static bool HasMessageFlag(this DiscordMessageFlags baseFlags, DiscordMessageFlags flag)

Parameters

baseFlags DiscordMessageFlags

The existing flags.

flag DiscordMessageFlags

The flags to search for.

Returns

bool