From ab30d463a6226ad0e33087034e2f27a013c079cc Mon Sep 17 00:00:00 2001 From: Dustin Pianalto Date: Mon, 6 Apr 2020 11:54:09 -0800 Subject: [PATCH] Update comments for Godoc --- types.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/types.go b/types.go index 06e7d47..adf824f 100644 --- a/types.go +++ b/types.go @@ -6,13 +6,13 @@ package disgoman * Disgoman (c) 2020 Dusty.P/dustinpianalto */ -// Function to invoke for command +// CommandInvokeFunc is the function type for commands type CommandInvokeFunc func(Context, []string) error -// Function to get prefixes +// PrefixesFunc to get prefixes. type PrefixesFunc func(string) []string -// Function to run on command error +// OnErrorFunc to run on command error type OnErrorFunc func(Context, string, error) // Permission type to help with managing permissions for commands