diff --git a/examples/discordCC.lua b/examples/discordCC.lua index bd9337c..29a25af 100644 --- a/examples/discordCC.lua +++ b/examples/discordCC.lua @@ -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)