From e525b4514704aa22e09ca09afe0c4f30b976a741 Mon Sep 17 00:00:00 2001 From: Yessiest Date: Wed, 11 May 2022 00:56:03 +0400 Subject: [PATCH] Fixed missing arguments for event and delay --- plugins/cron/init.lua | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/plugins/cron/init.lua b/plugins/cron/init.lua index a7b9f37..5dad099 100644 --- a/plugins/cron/init.lua +++ b/plugins/cron/init.lua @@ -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)