Test broadcast response

This commit is contained in:
Dustin Pianalto 2021-06-30 21:00:43 -08:00
parent b7446e0307
commit 12acd92a02

View File

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