mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-13 06:59:53 -05:00
ignore dummy command file
This commit is contained in:
parent
0eae1628db
commit
c0a065bcb7
@ -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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user