this caused a crash somehow lol
This commit is contained in:
parent
fe49284843
commit
48384ef229
@ -18,7 +18,7 @@ end)
|
||||
local function RunCallback(Callback, Interaction, Command, Args)
|
||||
local Success, Return = pcall(Callback, Interaction, Command, Args)
|
||||
if not Success then
|
||||
Interaction:reply('Error encountered when trying to run command: '..Return, true)
|
||||
Interaction:reply('Error encountered when trying to run command: '..tostring(Return), true)
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user