Fixed missing arguments for event and delay
This commit is contained in:
parent
01f52daab9
commit
e525b45147
|
@ -125,6 +125,9 @@ local event = command("event",{
|
||||||
perms = {
|
perms = {
|
||||||
"administrator"
|
"administrator"
|
||||||
},
|
},
|
||||||
|
args = {
|
||||||
|
"string"
|
||||||
|
},
|
||||||
exec = function(msg,args,opts)
|
exec = function(msg,args,opts)
|
||||||
return create_event(msg,table.concat(args," "))
|
return create_event(msg,table.concat(args," "))
|
||||||
end
|
end
|
||||||
|
@ -140,6 +143,10 @@ local delay = command("delay",{
|
||||||
{name = "Perms:",value = "any"},
|
{name = "Perms:",value = "any"},
|
||||||
}
|
}
|
||||||
}},
|
}},
|
||||||
|
args = {
|
||||||
|
"string",
|
||||||
|
"string"
|
||||||
|
}
|
||||||
exec = function(msg,args,opts)
|
exec = function(msg,args,opts)
|
||||||
local format = args[1]
|
local format = args[1]
|
||||||
table.remove(args,1)
|
table.remove(args,1)
|
||||||
|
|
Loading…
Reference in New Issue