Skip to content
This repository has been archived by the owner on Dec 26, 2022. It is now read-only.

🐛 ValueError: 'THREE_DAY_THREAD_ARCHIVE' is not a valid GuildFeature #278

Closed
Sigmanificient opened this issue Nov 30, 2021 · 0 comments · Fixed by #352
Closed

🐛 ValueError: 'THREE_DAY_THREAD_ARCHIVE' is not a valid GuildFeature #278

Sigmanificient opened this issue Nov 30, 2021 · 0 comments · Fixed by #352
Assignees
Labels
bug Something isn't working

Comments

@Sigmanificient
Copy link
Member

future: <Task finished name='Task-1' coro=<update_channels() done, defined at /home/container/mcoding_bot/tasks/update_channels.py:79> exception=ValueError("'THREE_DAY_THREAD_ARCHIVE' is not a valid GuildFeature")>
Traceback (most recent call last):
  File "/home/container/mcoding_bot/tasks/update_channels.py", line 94, in update_channels
    await self.get_guild(self.config.mcoding_server)
  File "/home/container/venv/lib/python3.8/site-packages/pincer/client.py", line 777, in get_guild
    return await Guild.from_id(self, guild_id)
  File "/home/container/venv/lib/python3.8/site-packages/pincer/objects/guild/guild.py", line 426, in from_id
    return Guild.from_dict(construct_client_dict(client, data))
  File "/home/container/venv/lib/python3.8/site-packages/pincer/objects/guild/guild.py", line 1556, in from_dict
    return super().from_dict(data)
  File "/home/container/venv/lib/python3.8/site-packages/pincer/utils/api_object.py", line 252, in from_dict
    return cls(**dict(map(
  File "<string>", line 64, in __init__
  File "/home/container/venv/lib/python3.8/site-packages/pincer/utils/api_object.py", line 209, in __post_init__
    attr_value = [
  File "/home/container/venv/lib/python3.8/site-packages/pincer/utils/api_object.py", line 210, in <listcomp>
    self.__attr_convert(attr_item, classes[0])
  File "/home/container/venv/lib/python3.8/site-packages/pincer/utils/api_object.py", line 168, in __attr_convert
    return convert(
  File "/home/container/venv/lib/python3.8/site-packages/pincer/utils/conversion.py", line 62, in convert
    return MISSING if value is MISSING else handle_factory()
  File "/home/container/venv/lib/python3.8/site-packages/pincer/utils/conversion.py", line 60, in handle_factory
    return factory(value)
  File "/usr/local/lib/python3.8/enum.py", line 339, in __call__
    return cls.__new__(cls, value)
  File "/usr/local/lib/python3.8/enum.py", line 662, in __new__
    raise ve_exc
ValueError: 'THREE_DAY_THREAD_ARCHIVE' is not a valid GuildFeature
@trag1c trag1c added the bug Something isn't working label Dec 1, 2021
@Lunarmagpie Lunarmagpie self-assigned this Jan 5, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants