fix create request command
Some checks failed
CI / build (push) Has been cancelled

This commit is contained in:
Dustin Pianalto 2021-01-25 02:27:56 -09:00
parent 764ceb79ec
commit b6f90b61c5

View File

@ -95,7 +95,7 @@ func requestCommandFunc(ctx disgoman.Context, args []string) {
} }
_, err = ctx.Send(fmt.Sprintf("%s The admin have recieved your request.\n "+ _, err = ctx.Send(fmt.Sprintf("%s The admin have recieved your request.\n "+
"If you would like to close or add a comment to this request please reference ID `%v`", "If you would like to close or add a comment to this request please reference ID `%v`",
ctx.Message.Author.Mention, request.ID, ctx.Message.Author.Mention(), request.ID,
)) ))
if err != nil { if err != nil {
discord_utils.SendErrorMessage(ctx, "There was an error sending the message. The request was created.", err) discord_utils.SendErrorMessage(ctx, "There was an error sending the message. The request was created.", err)