Class AllowedMentionsOptions
Inherited Members
Namespace: Discore.Http
Assembly: Discore.dll
Syntax
public class AllowedMentionsOptions
Properties
| Name | Description |
|---|---|
| Parse | Gets or sets the list of allowed mention types to parse from the content. |
| RepliedUser | Gets or sets, for replies, whether to mention the author of the message being replied to (default false). |
| Roles | Gets or sets the list of role IDs to mention (max of 100). |
| Users | Gets or sets the list of user IDs to mention (max of 100). |
Methods
| Name | Description |
|---|---|
| SetParse(IList<AllowedMentionType>) | Sets the list of allowed mention types to parse from the content. |
| SetRepliedUser(bool?) | Sets, for replies, whether to mention the author of the message being replied to. |
| SetRoles(IList<Snowflake>) | Sets the list of role IDs to mention (max of 100). |
| SetUsers(IList<Snowflake>) | Sets the list of user IDs to mention (max of 100). |