Compare commits

...
3 Commits
Author SHA1 Message Date
Dustin Pianalto 8893cc62f4 Test broadcast response
CI / build (push) Has been cancelled
2021-06-30 20:56:51 -08:00
Dustin Pianalto 0bc5953c65 Test broadcast response
CI / build (push) Has been cancelled
2021-06-30 14:51:04 -08:00
Dustin Pianalto 821ede69cf Test broadcast response
CI / build (push) Has been cancelled
2021-06-30 14:34:03 -08:00
+3 -1
View File
@@ -2,6 +2,7 @@ package arcon
import (
"fmt"
"log"
"strings"
"github.com/dustinpianalto/disgoman"
@@ -170,7 +171,8 @@ func broadcast(ctx disgoman.Context, server geeksbot.Server, message string) {
)
return
}
if response == "Server recieved, But no response!!" {
log.Printf("%#v", response)
if response == "Server recieved, But no response!!\n" {
_, _ = ctx.Session.ChannelMessageEdit(ctx.Channel.ID, msg.ID,
fmt.Sprintf("**%s Broadcast Successful**", server.Name),
)