From c051df9b2c42b1b12692b268a8629e1cea08dc4d Mon Sep 17 00:00:00 2001 From: Dustin Pianalto Date: Mon, 6 Apr 2020 19:38:34 -0800 Subject: [PATCH] Update comments for Godoc --- types.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types.go b/types.go index adf824f..2c514dd 100644 --- a/types.go +++ b/types.go @@ -9,10 +9,10 @@ package disgoman // CommandInvokeFunc is the function type for commands type CommandInvokeFunc func(Context, []string) error -// PrefixesFunc to get prefixes. +// PrefixesFunc gets the prefixes for the bot. type PrefixesFunc func(string) []string -// OnErrorFunc to run on command error +// OnErrorFunc runs upon command error type OnErrorFunc func(Context, string, error) // Permission type to help with managing permissions for commands