TextChannel.last_message always gives LookupError #12

Closed
opened 2026-02-15 23:16:13 -05:00 by yindo · 0 comments
Owner

Originally created by @4444dogs on GitHub (Jul 5, 2022).

Describe the bug
When attempting to use TextChannel.last_message you always get LookupError

To Reproduce

  1. Create a Command
  2. Inside of that command add await ctx.send(TextChannel.last_message.content)

Expected behavior
It should just return the last message in a channel as long there is one.

Library version

Name: revolt.py
Version: 0.1.8
Summary: Python wrapper for the revolt.chat API
Home-page: https://github.com/revoltchat/revolt.py
Author: Zomatee
Author-email: me@zomatree.live
License: MIT
Location: c:\users\lee\appdata\local\programs\python\python310\lib\site-packages
Requires: aenum, aiohttp, typing-extensions, ulid-py
Required-by:
Originally created by @4444dogs on GitHub (Jul 5, 2022). **Describe the bug** When attempting to use `TextChannel.last_message` you always get `LookupError` **To Reproduce** 1. Create a Command 2. Inside of that command add `await ctx.send(TextChannel.last_message.content)` **Expected behavior** It should just return the last message in a channel as long there is one. **Library version** ``` Name: revolt.py Version: 0.1.8 Summary: Python wrapper for the revolt.chat API Home-page: https://github.com/revoltchat/revolt.py Author: Zomatee Author-email: me@zomatree.live License: MIT Location: c:\users\lee\appdata\local\programs\python\python310\lib\site-packages Requires: aenum, aiohttp, typing-extensions, ulid-py Required-by: ```
yindo added the bug label 2026-02-15 23:16:13 -05:00
yindo closed this issue 2026-02-15 23:16:13 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: stoatchat/python-client-sdk#12