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
DiscordMessageFlagsThe existing flags.
flag
DiscordMessageFlagsThe flags to search for.