MentionPolicy
Namespace: Meshmakers.Octo.MeshAdapter.Nodes.Load
High-level mention-filtering policy for ToDiscord@1. Applied by setting the
Discord allowed_mentions.parse field appropriately.
public enum MentionPolicy
Inheritance Object → ValueType → Enum → MentionPolicy
Implements IComparable, ISpanFormattable, IFormattable, IConvertible
Fields
| Name | Value | Description |
|---|---|---|
| None | 0 | No mentions in the message ping anyone (default). Sends parse: []. |
| Users | 1 | Only user mentions (<@id>) can ping. Sends parse: ["users"]. |
| Roles | 2 | Only role mentions (<@&id>) can ping. Sends parse: ["roles"]. |
| UsersAndRoles | 3 | User and role mentions can ping; @everyone/@here is suppressed. Sends parse: ["users","roles"]. |
| All | 4 | All mentions ping, including @everyone and @here. Omits allowed_mentions; matches Discord's default. |
| Custom | 5 | Use the raw object resolved from AllowedMentionsPath. |