mirror of
https://code.dnix.de/da/flokatirc
synced 2026-07-27 08:39:45 +02:00
Quiz module: Earn points for solved questions.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user