Dustin Pianalto 489d96594c
Some checks failed
CI / build (push) Has been cancelled
Add prefix commands
2021-01-24 00:24:07 -09:00

12 lines
249 B
Go

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,
}
}