From 1a7d9b824f7c3285954f3b233e2663e295c22963 Mon Sep 17 00:00:00 2001 From: Dustin Pianalto Date: Tue, 23 Feb 2021 23:42:02 -0900 Subject: [PATCH] Add view command and update utils --- internal/exts/requests/requests.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/internal/exts/requests/requests.go b/internal/exts/requests/requests.go index d0cadea..11e9cd3 100644 --- a/internal/exts/requests/requests.go +++ b/internal/exts/requests/requests.go @@ -346,6 +346,7 @@ func commentCommandFunc(ctx disgoman.Context, args []string) { commentString = "" } } + commentStrings = append(commentStrings, commentString) for _, c := range channels { if c.Admin { for _, s := range commentStrings { @@ -365,7 +366,7 @@ func commentCommandFunc(ctx disgoman.Context, args []string) { request.ID, discord_utils.GetChannelName(ctx, ctx.Channel.ID), request.Content, - comment.Content, + message, )) } @@ -439,6 +440,7 @@ func viewCommandFunc(ctx disgoman.Context, args []string) { commentString = "" } } + commentStrings = append(commentStrings, commentString) for _, c := range commentStrings { _, _ = ctx.Send(c) }