Search Results for

    Show / Hide Table of Contents

    Interface ISlashCommandModule

    The base that should be used for all slash command modules.

    Namespace: Color_Chan.Discord.Commands.Modules
    Assembly: Color-Chan.Discord.Commands.dll
    Syntax
    public interface ISlashCommandModule

    Methods

    | Improve this Doc View Source

    SetContext(ISlashCommandContext)

    Set the current ISlashCommandContext for a command.

    Declaration
    void SetContext(ISlashCommandContext context)
    Parameters
    Type Name Description
    ISlashCommandContext context

    The new ISlashCommandContext.

    Exceptions
    Type Condition
    System.ArgumentNullException

    When the given context was null.

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