Disable currency for now

pull/122/head
stijndcl 2022-09-25 14:06:54 +02:00
parent dd93080199
commit 3167c99645
1 changed files with 4 additions and 0 deletions

View File

@ -125,6 +125,10 @@ class Didier(commands.Bot):
# Allow checking against initial extensions more easily
full_name = parent_path + file
# The currency cog is disabled
if "currency" in file:
continue
# Only take Python files, and ignore the ones starting with an underscore (like __init__ and __pycache__)
# Also ignore the files that we have already loaded previously
if file.endswith(".py") and not file.startswith("_") and not full_name.startswith(self.initial_extensions):