Skip to content

Commit

Permalink
🚑️ No commands working due to incorrect usage of Context
Browse files Browse the repository at this point in the history
  • Loading branch information
zachlagden committed Sep 2, 2024
1 parent fa7d5d9 commit 8aea8f4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
2 changes: 0 additions & 2 deletions config.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,3 @@
# Load the custom configuration from "custom_config.ini" into the CUSTOM_CONFIG parser.
# This allows the script to merge or override the main configuration with user-provided settings.
CUSTOM_CONFIG.read("custom_config.ini")

print("PREFIX: `" + CONFIG["BOT"]["prefix"] + "`")
3 changes: 0 additions & 3 deletions rickbot/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,6 @@ class RickContext(commands.Context):
Custom context class for the bot, used to override or extend the default context behavior.
"""

def __init__(self, **attrs):
super().__init__(db=bot_db, **attrs)


class RickBot(commands.Bot):
"""
Expand Down

0 comments on commit 8aea8f4

Please sign in to comment.