Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions backend/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
from app.core.orchestration.queue_manager import AsyncQueueManager
from app.database.weaviate.client import get_weaviate_client
from integrations.discord.bot import DiscordBot
from discord.ext import commands
from discord import errors as discord_errors
# DevRel commands are now loaded dynamically (commented out below)
# from integrations.discord.cogs import DevRelCommands

Expand Down Expand Up @@ -48,7 +48,7 @@ async def start_background_tasks(self):
# --- Load commands inside the async startup function ---
try:
await self.discord_bot.load_extension("integrations.discord.cogs")
except (ImportError, commands.ExtensionError) as e:
except (ImportError, discord_errors.ExtensionFailed) as e:
logger.error("Failed to load Discord cog extension: %s", e)

# Start the bot as a background task.
Expand Down
1 change: 0 additions & 1 deletion backend/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,6 @@ proto-plus==1.26.1
protobuf>=3.20.2,<4.0
ptyprocess==0.7.0
pure_eval==0.2.3
py-cord==2.6.2 # Latest version to minimize deprecation warnings
pyasn1==0.6.1
pyasn1_modules==0.4.2
pycodestyle==2.13.0
Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ requires-python = ">=3.10,<3.14"
dependencies = [
"supabase (>=2.13.0,<3.0.0)",
"fastapi (>=0.115.11,<0.116.0)",
"py-cord (>=2.6.1,<3.0.0)",
"pygithub (>=2.6.1,<3.0.0)",
"slack-sdk (>=3.34.0,<4.0.0)",
"sentence-transformers (>=3.4.1,<4.0.0)",
Expand Down