command-loader #6

Merged
alex_orid merged 15 commits from command-loader into master 2020-10-02 19:31:47 +00:00
Showing only changes of commit bd675bdd32 - Show all commits

View File

@ -48,7 +48,7 @@ def get_base_dir() -> str:
current = split[len(split) - 1]
if current == 'commands':
return check_dir(cwd)
if current == 'Praxis_Bot':
elif current == 'Praxis_Bot' or current == 'Praxis':
return check_dir(os.path.join(current, "commands"))
else:
print("could not find working directory for Praxis_Bot/commands")