Test broadcast response
Some checks are pending
CI / build (push) Waiting to run

This commit is contained in:
Dustin Pianalto 2021-06-30 21:10:53 -08:00
parent b1f705746e
commit 8a9373637f

View File

@ -172,7 +172,7 @@ func broadcast(ctx disgoman.Context, server geeksbot.Server, message string) {
return
}
log.Printf("%#v", response)
if response == "Server recieved, But no response!! \n " {
if strings.Contains(response, "Server recieved, But no response!!") {
_, _ = ctx.Session.ChannelMessageEdit(ctx.Channel.ID, msg.ID,
fmt.Sprintf("**%s Broadcast Successful**", server.Name),
)