Add prefix commands

This commit is contained in:
Dustin Pianalto
2021-01-24 00:24:07 -09:00
parent 454cced2a7
commit 081b21d58c
4 changed files with 119 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
package discord_utils
import "github.com/dustinpianalto/disgoman"
func SendErrorMessage(ctx disgoman.Context, msg string, err error) {
ctx.CommandManager.ErrorChannel <- disgoman.CommandError{
Context: ctx,
Message: msg,
Error: err,
}
}