Fixed missing arguments for event and delay

This commit is contained in:
Yessiest 2022-05-11 00:56:03 +04:00
parent 01f52daab9
commit e525b45147
1 changed files with 7 additions and 0 deletions

View File

@ -125,6 +125,9 @@ local event = command("event",{
perms = {
"administrator"
},
args = {
"string"
},
exec = function(msg,args,opts)
return create_event(msg,table.concat(args," "))
end
@ -140,6 +143,10 @@ local delay = command("delay",{
{name = "Perms:",value = "any"},
}
}},
args = {
"string",
"string"
}
exec = function(msg,args,opts)
local format = args[1]
table.remove(args,1)