This commit is contained in:
parent
fe2e28357a
commit
821ede69cf
@ -2,6 +2,7 @@ package arcon
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
"log"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/dustinpianalto/disgoman"
|
"github.com/dustinpianalto/disgoman"
|
||||||
@ -170,6 +171,7 @@ func broadcast(ctx disgoman.Context, server geeksbot.Server, message string) {
|
|||||||
)
|
)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
log.Printf(response)
|
||||||
if response == "Server recieved, But no response!!" {
|
if 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),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user