Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] topic cog broken #304

Closed
tigattack opened this issue Feb 17, 2025 · 0 comments · Fixed by #306
Closed

[BUG] topic cog broken #304

tigattack opened this issue Feb 17, 2025 · 0 comments · Fixed by #306
Labels
cog-topic Issues related to the topic cog.

Comments

@tigattack
Copy link
Member

tigattack commented Feb 17, 2025

[2025-02-17 15:47:09] [ERROR] red: Package loading failed
Traceback (most recent call last):
  File "/redbot/.local/lib/python3.11/site-packages/redbot/core/core_commands.py", line 189, in _load
    await bot.load_extension(spec)
  File "/redbot/.local/lib/python3.11/site-packages/redbot/core/bot.py", line 1708, in load_extension
    lib = spec.loader.load_module()
          ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap_external>", line 605, in _check_name_wrapper
  File "<frozen importlib._bootstrap_external>", line 1120, in load_module
  File "<frozen importlib._bootstrap_external>", line 945, in load_module
  File "<frozen importlib._bootstrap>", line 290, in _load_module_shim
  File "<frozen importlib._bootstrap>", line 721, in _load
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/redbot/data/cogs/CogManager/cogs/topic/__init__.py", line 3, in <module>
    from .topic import Topic
  File "/redbot/data/cogs/CogManager/cogs/topic/topic.py", line 5, in <module>
    class Topic(commands.Cog):
  File "/redbot/data/cogs/CogManager/cogs/topic/topic.py", line 11, in Topic
    def _is_valid_channel(self, channel: discord.abc.Messageable | discord.interactions.InteractionChannel | None):
                                                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'discord.interactions' has no attribute 'InteractionChannel'

Ref. #264

@tigattack tigattack added bug Something isn't working cog-topic Issues related to the topic cog. and removed bug Something isn't working labels Feb 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cog-topic Issues related to the topic cog.
Projects
None yet
1 participant