Update discordCC.lua

This commit is contained in:
Robert Jelic
2022-08-06 17:26:40 +02:00
committed by GitHub
parent 80e2ed1c33
commit 323b521ddc

View File

@@ -22,11 +22,12 @@ if(bot_id=="")then
error("Please setup the bot id and servers/channels first!")
end
local filePath = "basalt"
--Basalt configurated installer
local filePath = "basalt.lua" --here you can change the file path default: basalt.lua
if not(fs.exists(filePath))then
shell.run("pastebin run ESs1mg7P packed true "..filePath)
shell.run("pastebin run ESs1mg7P packed true "..filePath:gsub(".lua", "")) -- this is an alternative to the wget command
end
local basalt = require(filePath) -- UI Library
local basalt = require(filePath:gsub(".lua", "")) -- here you can change the variablename in any variablename you want default: basalt
local main = basalt.createFrame():setBackground(colors.lightGray)
local loginFrame = main:addFrame():setBackground(colors.lightGray)