Skip to content

Commit

Permalink
remove discord.py version check
Browse files Browse the repository at this point in the history
  • Loading branch information
khakers committed Dec 31, 2023
1 parent 4cd63d8 commit bbff93f
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -1755,16 +1755,6 @@ def main():
except ImportError:
pass

# check discord version
discord_version = "2.3.0"
if discord.__version__ != discord_version:
logger.error(
"Dependencies are not updated, run pipenv install. discord.py version expected %s, received %s",
discord_version,
discord.__version__,
)
sys.exit(0)

# Set up discord.py internal logging
if os.environ.get("LOG_DISCORD"):
logger.debug(f"Discord logging enabled: {os.environ['LOG_DISCORD'].upper()}")
Expand Down

0 comments on commit bbff93f

Please sign in to comment.