updated script search logic
This commit is contained in:
parent
1f86269bbb
commit
bd675bdd32
@ -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")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user