Documentation ¶
Index ¶
- func GetAlias(ctx context.Context) []string
- func GetArgs(ctx context.Context) []string
- func GetErr(ctx context.Context) error
- func GetMsg(ctx context.Context) *discordgo.Message
- func GetPrefix(ctx context.Context) string
- func GetSes(ctx context.Context) *discordgo.Session
- func WithAlias(ctx context.Context, aliases []string) context.Context
- func WithArgs(ctx context.Context, args []string) context.Context
- func WithErr(ctx context.Context, err error) context.Context
- func WithMsg(ctx context.Context, msg *discordgo.Message) context.Context
- func WithPrefix(ctx context.Context, prefix string) context.Context
- func WithSes(ctx context.Context, ses *discordgo.Session) context.Context
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetErr ¶
GetErr returns a Command Err from Context, not to be confused with the default Context error.
func WithPrefix ¶
WithPrefix attaches a Command Prefix to Context.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.