Wolfringo Wolfringo
Wolfringo Wolfringo
Wolfringo (c) 2020 TehGM
DocFX, DiscordFX theme.
Search Results for

    Class PrefixAttribute

    Overwrites prefix specified by CommandsOptions.

    Inheritance
    System.Object
    System.Attribute
    PrefixAttribute
    Namespace: TehGM.Wolfringo.Commands
    Assembly: Wolfringo.Commands.dll
    Syntax
    [AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
    public class PrefixAttribute : Attribute

    Constructors

    | Improve this Doc View Source

    PrefixAttribute(String)

    Declaration
    public PrefixAttribute(string prefix)
    Parameters
    Type Name Description
    System.String prefix

    Prefix for this command. Null means no overwriting.

    Properties

    | Improve this Doc View Source

    PrefixOverride

    Prefix for this command. Null means no overwriting.

    Declaration
    public string PrefixOverride { get; }
    Property Value
    Type Description
    System.String