Update comments for Godoc

master
DustyP 6 years ago
parent 1cd3ab321b
commit c051df9b2c

@ -9,10 +9,10 @@ package disgoman
// CommandInvokeFunc is the function type for commands // CommandInvokeFunc is the function type for commands
type CommandInvokeFunc func(Context, []string) error type CommandInvokeFunc func(Context, []string) error
// PrefixesFunc to get prefixes. // PrefixesFunc gets the prefixes for the bot.
type PrefixesFunc func(string) []string type PrefixesFunc func(string) []string
// OnErrorFunc to run on command error // OnErrorFunc runs upon command error
type OnErrorFunc func(Context, string, error) type OnErrorFunc func(Context, string, error)
// Permission type to help with managing permissions for commands // Permission type to help with managing permissions for commands

Loading…
Cancel
Save