Skip to content
This repository has been archived by the owner on Jul 7, 2024. It is now read-only.

Position information on guild threads #4

Open
BSpoones opened this issue Aug 30, 2023 · 0 comments
Open

Position information on guild threads #4

BSpoones opened this issue Aug 30, 2023 · 0 comments

Comments

@BSpoones
Copy link
Owner

Traceback (most recent call last):
  File "/home/container/CutleryBot/lib/core/event_handler.py", line 197, in on_guild_message_create_event
    await logging_funcs.message_create(self.bot,event)
  File "/home/container/CutleryBot/lib/modules/Logging/logging_funcs.py", line 1073, in message_create
    await add_channel_to_db(await bot.rest.fetch_channel(channel_id))
  File "/home/container/CutleryBot/lib/utils/utils.py", line 304, in add_channel_to_db
    position = channel.position
AttributeError: 'GuildPublicThread' object has no attribute 'position'
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant