mirror of https://github.com/velour/catbase.git
Quieting down the console
This commit is contained in:
parent
273b41fa3f
commit
0970ee980f
|
@ -195,7 +195,6 @@ func (b *Bot) Filter(message Message, input string) string {
|
|||
blacklist := make(map[string]bool)
|
||||
blacklist["$and"] = true
|
||||
for len(varname) > 0 && !blacklist[varname] {
|
||||
fmt.Printf("Trying to match '%s'\n", varname)
|
||||
var result []Variable
|
||||
b.varColl.Find(bson.M{"variable": varname}).All(&result)
|
||||
if len(result) == 0 {
|
||||
|
|
|
@ -179,7 +179,6 @@ func (p *BeersPlugin) reportCount(nick, channel string, himself bool) {
|
|||
}
|
||||
}
|
||||
p.Bot.SendMessage(channel, msg)
|
||||
fmt.Println("I should have reported a beer count!")
|
||||
}
|
||||
|
||||
func (p *BeersPlugin) puke(user *bot.User, channel string) {
|
||||
|
|
Loading…
Reference in New Issue