Struct RoleMention
- Namespace
- DisCatSharp.Entities
- Assembly
- DisCatSharp.dll
Allows @role pings to mention in the message.
public readonly struct RoleMention : IMention
- Implements
- Inherited Members
Constructors
- RoleMention(DiscordRole)
Allows the specific role to be mentioned
- RoleMention(ulong)
Allows the specific id to be mentioned
Fields
- All
Allow the mentioning of all roles. Alias to RoleMention constructor.
Properties
- Id
Optional Id of the role that is allowed to be mentioned. If null, then all role mentions will be allowed.