remove warnings in vsc

This commit is contained in:
tommy aka doge 2022-11-07 12:21:00 -05:00
parent 48067e6862
commit 3e2cf95a20
3 changed files with 4 additions and 3 deletions

View File

@ -1,6 +1,7 @@
{
"robloxLsp.diagnostics.globals": [
"goto",
"nd"
"nd",
"io"
]
}

View File

@ -1,7 +1,7 @@
local discordia=require('discordia')
local commands=require('./../commands.lua')
discordia.extensions()
function wait(n)c=os.clock t=c()while c()-t < n do end;end
function wait(n)local c=os.clock local t=c()while c()-t < n do end;end
commands:Add('restart',{},"restart bot [dev]", function(t)
if t.message.author==t.t[1].owner then
t.message:addReaction('👍')

View File

@ -1,6 +1,6 @@
local http = require('coro-http')
local json = require('json')
function wait(n)c=os.clock t=c()while c()-t<=n do end;end
function wait(n)local c=os.clock local t=c()while c()-t<=n do end;end
--[[
1: method
2: url