mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-10 21:50:59 -05:00
ignore dummy command file
This commit is contained in:
parent
0eae1628db
commit
c0a065bcb7
@ -57,7 +57,8 @@ def setup(bot):
|
||||
for pathname in os.listdir(directory):
|
||||
path = os.path.join(directory, pathname)
|
||||
if (os.path.isfile(path) and path.endswith('.py') and not path.startswith('_')):
|
||||
filepathlist.append(str(path))
|
||||
if pathname not in ["SpiceBot_dummycommand.py"]:
|
||||
filepathlist.append(str(path))
|
||||
|
||||
# CoreTasks
|
||||
ct_path = os.path.join(main_dir, 'coretasks.py')
|
||||
|
||||
Loading…
Reference in New Issue
Block a user