Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1e88425853 | ||
|
|
eacdd455f9 | ||
|
|
1e184c97a2 | ||
|
|
8c2bb50637 | ||
|
|
5f20f1b129 |
@@ -34,3 +34,5 @@ spec:
|
||||
secretKeyRef:
|
||||
name: geeksbot
|
||||
key: discord_token
|
||||
nodeSelector:
|
||||
geeks: "yes"
|
||||
|
||||
@@ -171,8 +171,8 @@ func broadcast(ctx disgoman.Context, server geeksbot.Server, message string) {
|
||||
)
|
||||
return
|
||||
}
|
||||
log.Printf("%#v", response)
|
||||
if strings.Contains(response, "Server recieved, But no response!!") {
|
||||
log.Printf("%T - %#v", response, 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),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user