Search Results for

    Show / Hide Table of Contents

    Class SlashCommandConfiguration

    This holds all the configurations for the slash commands.

    Inheritance
    Object
    SlashCommandConfiguration
    Inherited Members
    System.Object.Equals(System.Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Object.ToString()
    Namespace: Color_Chan.Discord.Commands.Configurations
    Assembly: Color-Chan.Discord.Commands.dll
    Syntax
    public class SlashCommandConfiguration

    Properties

    | Improve this Doc View Source

    EnableAutoGetChannel

    Whether or not Channel should be auto loaded on command requests. Default: false.

    Declaration
    public bool EnableAutoGetChannel { get; set; }
    Property Value
    Type Description
    Boolean
    | Improve this Doc View Source

    EnableAutoGetGuild

    Whether or not Guild should be auto loaded on command requests. Default: false.

    Declaration
    public bool EnableAutoGetGuild { get; set; }
    Property Value
    Type Description
    Boolean
    | Improve this Doc View Source

    EnableAutoSync

    Whether or not the slash commands auto sync feature is enabled. Default: true.

    Declaration
    public bool EnableAutoSync { get; set; }
    Property Value
    Type Description
    Boolean
    | Improve this Doc View Source

    SendDefaultErrorMessage

    Whether or not the command handler should send a default error message when a slash command returned unsuccessfully. Default: false.

    Declaration
    public bool SendDefaultErrorMessage { get; set; }
    Property Value
    Type Description
    Boolean
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX