Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5f20f1b129 | ||
|
|
8a9373637f | ||
|
|
b1f705746e | ||
|
|
8893cc62f4 | ||
|
|
0bc5953c65 | ||
|
|
821ede69cf |
@@ -2,6 +2,7 @@ package arcon
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
"log"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/dustinpianalto/disgoman"
|
"github.com/dustinpianalto/disgoman"
|
||||||
@@ -170,7 +171,8 @@ func broadcast(ctx disgoman.Context, server geeksbot.Server, message string) {
|
|||||||
)
|
)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if response == "Server recieved, But no response!!" {
|
log.Printf("%T - %#v", response, response)
|
||||||
|
if strings.Contains(response, "Server recieved, But no response!!") {
|
||||||
_, _ = 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),
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user