Compare commits

...
4 Commits
Author SHA1 Message Date
Dustin Pianalto 1e88425853 force bot to run on node with label
CI / build (push) Has been cancelled
2021-07-19 13:06:16 -08:00
Dustin Pianalto eacdd455f9 force bot to run on node with label
CI / build (push) Has been cancelled
2021-07-19 12:49:57 -08:00
Dustin Pianalto 1e184c97a2 Test broadcast response
CI / build (push) Has been cancelled
2021-06-30 22:00:38 -08:00
Dustin Pianalto 8c2bb50637 Test broadcast response
CI / build (push) Has been cancelled
2021-06-30 21:54:35 -08:00
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -34,3 +34,5 @@ spec:
secretKeyRef:
name: geeksbot
key: discord_token
nodeSelector:
geeks: "yes"
+1 -1
View File
@@ -172,7 +172,7 @@ func broadcast(ctx disgoman.Context, server geeksbot.Server, message string) {
return
}
log.Printf("%T - %#v", response, response)
if strings.Contains(response, "Server recieved, But no response!!") {
if strings.Contains(response, "Server received, But no response!!") {
_, _ = ctx.Session.ChannelMessageEdit(ctx.Channel.ID, msg.ID,
fmt.Sprintf("**%s Broadcast Successful**", server.Name),
)