Search Results for

    Show / Hide Table of Contents

    Interface ISlashCommandGuildBuildService

    Holds all the methods to build ISlashCommandInfo for guilds only.

    Namespace: Color_Chan.Discord.Commands.Services.Builders
    Assembly: Color-Chan.Discord.Commands.dll
    Syntax
    public interface ISlashCommandGuildBuildService

    Methods

    | Improve this Doc View Source

    GetCommandGuilds(MethodInfo, Boolean)

    Get a System.Collections.Generic.IEnumerable<T> of SlashCommandGuildAttribute for a specific command.

    Declaration
    IEnumerable<SlashCommandGuildAttribute> GetCommandGuilds(MethodInfo command, bool includeParentAttributes = true)
    Parameters
    Type Name Description
    System.Reflection.MethodInfo command

    The command method that will be used to find the SlashCommandGuildAttributes.

    System.Boolean includeParentAttributes

    Whether or not to include the parents attributes.

    Returns
    Type Description
    System.Collections.Generic.IEnumerable<SlashCommandGuildAttribute>

    A System.Collections.Generic.IEnumerable<T> of SlashCommandGuildAttribute for the given command.

    | Improve this Doc View Source

    GetCommandGuilds(Type)

    Get a System.Collections.Generic.IEnumerable<T> of SlashCommandGuildAttribute for a specific SlashCommandModule

    Declaration
    IEnumerable<SlashCommandGuildAttribute> GetCommandGuilds(Type commandModule)
    Parameters
    Type Name Description
    System.Type commandModule

    The command module that will be used to find the SlashCommandGuildAttribute s.

    Returns
    Type Description
    System.Collections.Generic.IEnumerable<SlashCommandGuildAttribute>

    A System.Collections.Generic.IEnumerable<T> of SlashCommandGuildAttribute for the given SlashCommandModule

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