mirror of
https://github.com/stijndcl/didier.git
synced 2026-04-23 07:25:47 +02:00
Disable currency for now
This commit is contained in:
parent
dd93080199
commit
3167c99645
1 changed files with 4 additions and 0 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue