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