ignore dummy command file

This commit is contained in:
deathbybandaid 2019-05-08 12:47:47 -04:00
parent 0eae1628db
commit c0a065bcb7

View File

@ -57,6 +57,7 @@ def setup(bot):
for pathname in os.listdir(directory): for pathname in os.listdir(directory):
path = os.path.join(directory, pathname) path = os.path.join(directory, pathname)
if (os.path.isfile(path) and path.endswith('.py') and not path.startswith('_')): if (os.path.isfile(path) and path.endswith('.py') and not path.startswith('_')):
if pathname not in ["SpiceBot_dummycommand.py"]:
filepathlist.append(str(path)) filepathlist.append(str(path))
# CoreTasks # CoreTasks