Class MessageFlagExtensions
Inheritance
System.Object
MessageFlagExtensions
Namespace: DSharpPlus
Assembly: cs.temp.dll.dll
Syntax
public static class MessageFlagExtensions
Methods
HasMessageFlag(MessageFlags, MessageFlags)
Calculates whether these message flags contain a specific flag.
Declaration
public static bool HasMessageFlag(this MessageFlags baseFlags, MessageFlags flag)
Parameters
Type | Name | Description |
---|---|---|
MessageFlags | baseFlags | The existing flags. |
MessageFlags | flag | The flags to search for. |
Returns
Type | Description |
---|---|
System.Boolean |