Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1e184c97a2 | ||
|
|
8c2bb50637 | ||
|
|
5f20f1b129 | ||
|
|
8a9373637f | ||
|
|
b1f705746e | ||
|
|
8893cc62f4 | ||
|
|
0bc5953c65 | ||
|
|
821ede69cf |
@@ -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("%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