mirror of
https://github.com/MedzikUser/go-cdn
synced 2024-08-15 03:19:36 +00:00
discord: Fixed watch channels
This commit is contained in:
parent
87c7dc4f8f
commit
36ea49e9ac
2 changed files with 2 additions and 2 deletions
|
@ -1,3 +1,3 @@
|
||||||
package config
|
package config
|
||||||
|
|
||||||
var Version = "1.1.0"
|
var Version = "1.1.1"
|
||||||
|
|
|
@ -21,7 +21,7 @@ func findChannel(channel string) bool {
|
||||||
func handleMsg(s disgord.Session, data *disgord.MessageCreate) {
|
func handleMsg(s disgord.Session, data *disgord.MessageCreate) {
|
||||||
m := data.Message
|
m := data.Message
|
||||||
|
|
||||||
if findChannel(m.ChannelID.String()) {
|
if !findChannel(m.ChannelID.String()) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue