Discore
Show / Hide Table of Contents

Class AllowedMentionsOptions

Inheritance
object
AllowedMentionsOptions
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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).

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX