Compare commits
No commits in common. "fe492848438e352e04c56475f479e6036a01f610" and "3d211facf62947336fe3c5becb0536990be8d716" have entirely different histories.
fe49284843
...
3d211facf6
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,7 +1,7 @@
|
|||||||
discordia.log
|
discordia.log
|
||||||
gateway.json
|
gateway.json
|
||||||
apikey.lua
|
apikey.lua
|
||||||
Token.lua
|
token.lua
|
||||||
deps
|
deps
|
||||||
sensdb.lua
|
sensdb.lua
|
||||||
minecraft_data.json
|
minecraft_data.json
|
||||||
|
BIN
exes/luvit
BIN
exes/luvit
Binary file not shown.
@ -30,7 +30,7 @@ function CommandCollector:Collect()
|
|||||||
|
|
||||||
local CommandsContainerPath = self.Prefix..'Commands/'
|
local CommandsContainerPath = self.Prefix..'Commands/'
|
||||||
|
|
||||||
for File in io.popen('ls ./src/'..CommandsContainerPath):lines() do
|
for File in io.popen('dir "./src/'..CommandsContainerPath..'" /b'):lines() do
|
||||||
if File:sub(1, 1) ~= IGNORE_STARTING_FILE_NAME then
|
if File:sub(1, 1) ~= IGNORE_STARTING_FILE_NAME then
|
||||||
local Success, Return = pcall(require, RELATIVE_PATH_TO_COMMANDS..CommandsContainerPath..File)
|
local Success, Return = pcall(require, RELATIVE_PATH_TO_COMMANDS..CommandsContainerPath..File)
|
||||||
if Success then
|
if Success then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user