Support new thread and message attributes (position, message_count, total_message_sent)
See original GitHub issueSummary
https://github.com/discord/discord-api-docs/pull/5206
What is the feature request for?
The core library
The Feature
Message.position
, should probably default to None outside of forum channels, or we could think about using -1
so its always an integer.
Thread.message_count
Thread.total_message_sent
However, there is a small implementation detail here:
Should we increment the message_count
and total_message_sent
variables when we receive a message_create
event for the thread? I believe we should.
In addition, when we receive a message_delete event in a thread, we should decrement message_count
if the thread is cached whether or not the message is cached.
Issue Analytics
- State:
- Created a year ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
ReceiveMessage - Amazon Simple Queue Service
Retrieves one or more messages (up to 10), from the specified queue. ... that you structure your code so that it can handle...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes I am, I just got back from family vacation and can take a look at it this week.
I shall take a look at this.