yikes
This commit is contained in:
@ -18,9 +18,6 @@ end)
|
||||
local function RunCallback(Callback, Interaction, Command, Args)
|
||||
local Success, Return = pcall(Callback, Interaction, Command, Args)
|
||||
if not Success then
|
||||
if type(Return) == "table" then
|
||||
table.foreach(Return, print)
|
||||
end
|
||||
Interaction:reply('Error encountered when trying to run command: '..tostring(Return), true)
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user