todo
This commit is contained in:
parent
9adf9925af
commit
9330c04ccd
2
bot.go
2
bot.go
@ -92,6 +92,8 @@ func fillCharmap(nick string, cat string, item string, val string) {
|
|||||||
func handleMessage(nick string, msg string, conn *irc.Connection) {
|
func handleMessage(nick string, msg string, conn *irc.Connection) {
|
||||||
var args = findArguments(msg)
|
var args = findArguments(msg)
|
||||||
|
|
||||||
|
// TODO: Check if mode is enabled and if command can be applied.
|
||||||
|
|
||||||
if strings.HasPrefix(msg, ".set") && len(args) == 4 {
|
if strings.HasPrefix(msg, ".set") && len(args) == 4 {
|
||||||
if nick == dunmas {
|
if nick == dunmas {
|
||||||
fillCharmap(args[0], args[1], args[2], args[3])
|
fillCharmap(args[0], args[1], args[2], args[3])
|
||||||
|
Loading…
Reference in New Issue
Block a user