Quiz module: Earn points for solved questions.

This commit is contained in:
Andreas Neue
2016-03-20 23:01:04 +01:00
parent cc4050e87e
commit 41164153c8
5 changed files with 72 additions and 32 deletions
+2
View File
@@ -8,6 +8,7 @@ package modules
import (
"strings"
"time"
"github.com/sorcix/irc"
)
@@ -20,6 +21,7 @@ var (
)
func Init(ch chan string, mods, params string) {
time.Sleep(5 * time.Second)
SayCh = ch
for mod, _ := range MsgFuncs {
if !contains(strings.Split(mods, ","), mod) {