Closed
Description
Summary
This error occurs when attempting to load one of my cogs.
Reproduction Steps
I have no idea what causes this. I do not use whatever 'bridge' is. Seems to be something slash command related.
Minimal Reproducible Code
No response
Expected Results
The cog to load.
Actual Results
This stack trace
Traceback (most recent call last):
File "/home/crafter/.pyenv/versions/3.9.7/lib/python3.9/site-packages/discord/cog.py", line 715, in _load_from_module_spec
spec.loader.exec_module(lib) # type: ignore
AttributeError: module 'discord.ext' has no attribute 'bridge'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/crafter/.pyenv/versions/3.9.7/lib/python3.9/site-packages/jishaku/features/management.py", line 56, in jsk_load
await discord.utils.maybe_coroutine(method, extension)
discord.errors.ExtensionFailed: Extension 'cogs.moderation' raised an error: AttributeError: module 'discord.ext' has no attribute 'bridge'
It's not an issue with Jishaku by the way. It happens on startup.
Intents
discord.Intents.all()
System Information
- Python v3.9.7-final
- py-cord v2.0.0-beta
- py-cord pkg_resources: v2.0.0b7
- aiohttp v3.8.0
- system info: Linux 5.10.0-9-cloud-amd64 #1 SMP Debian 5.10.70-1 (2021-09-30)
Checklist
- I have searched the open issues for duplicates.
- I have shown the entire traceback, if possible.
- I have removed my token from display, if visible.
Additional Context
This works on my local machine with the same code and version of Pycord, no idea why.