Class SlashCommandConfiguration
This holds all the configurations for the slash commands.
Inherited Members
System.Object.Equals(System.Object)
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Color_Chan.Discord.Commands.Configurations
Assembly: Color-Chan.Discord.Commands.dll
Syntax
public class SlashCommandConfiguration
Properties
| Improve this Doc View SourceEnableAutoGetChannel
Whether or not Channel should be auto loaded on command requests. Default: false.
Declaration
public bool EnableAutoGetChannel { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
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 |
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 |
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 |