Update comments for Godoc

This commit is contained in:
Dustin Pianalto 2020-04-06 11:54:09 -08:00
parent d30d567dcb
commit ab30d463a6

View File

@ -6,13 +6,13 @@ package disgoman
* Disgoman (c) 2020 Dusty.P/dustinpianalto * Disgoman (c) 2020 Dusty.P/dustinpianalto
*/ */
// Function to invoke for command // CommandInvokeFunc is the function type for commands
type CommandInvokeFunc func(Context, []string) error type CommandInvokeFunc func(Context, []string) error
// Function to get prefixes // PrefixesFunc to get prefixes.
type PrefixesFunc func(string) []string type PrefixesFunc func(string) []string
// Function to run on command error // OnErrorFunc to run on 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