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

[Streams] discord.NotFound error on load #2227

Closed
Tobotimus opened this issue Oct 11, 2018 · 1 comment
Closed

[Streams] discord.NotFound error on load #2227

Tobotimus opened this issue Oct 11, 2018 · 1 comment
Labels
Status: Accepted We want this Type: Bug Unexpected behavior, result, or exception. In case of PRs, it is a fix for the foregoing.
Milestone

Comments

@Tobotimus
Copy link
Member

This was reported as an error received by a user when trying to load streams:

Exception during loading of cog
Traceback (most recent call last):
  File "/home/jjay/rewrite/lib/python3.6/site-packages/redbot/core/core_commands.py", line 100, in _load
    await bot.load_extension(spec)
  File "/home/jjay/rewrite/lib/python3.6/site-packages/redbot/core/bot.py", line 228, in load_extension
    await lib.setup(self)
  File "/home/jjay/rewrite/lib/python3.6/site-packages/redbot/cogs/streams/__init__.py", line 6, in setup
    await cog.initialize()
  File "/home/jjay/rewrite/lib/python3.6/site-packages/redbot/cogs/streams/streams.py", line 74, in initialize
    self.streams = await self.load_streams()
  File "/home/jjay/rewrite/lib/python3.6/site-packages/redbot/cogs/streams/streams.py", line 629, in load_streams
    msg = await chn.get_message(raw_msg["message"])
  File "/home/jjay/rewrite/lib/python3.6/site-packages/discord/abc.py", line 844, in get_message
    data = await self._state.http.get_message(channel.id, id)
  File "/home/jjay/rewrite/lib/python3.6/site-packages/discord/http.py", line 211, in request
    raise NotFound(r, data)
discord.errors.NotFound: NOT FOUND (status code: 404): Unknown Message
@Tobotimus Tobotimus added Type: Bug Unexpected behavior, result, or exception. In case of PRs, it is a fix for the foregoing. V3 Status: Accepted We want this labels Oct 11, 2018
@Tobotimus Tobotimus added this to the RC 2 milestone Oct 11, 2018
Tobotimus added a commit to Tobotimus/Red-DiscordBot that referenced this issue Oct 11, 2018
Tobotimus added a commit that referenced this issue Oct 15, 2018
@Tobotimus
Copy link
Member Author

Resolved by #2228.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Accepted We want this Type: Bug Unexpected behavior, result, or exception. In case of PRs, it is a fix for the foregoing.
Projects
None yet
Development

No branches or pull requests

1 participant