Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support new thread and message attributes (position, message_count, total_message_sent)

See original GitHub issue


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:closed
  • Created a year ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

rmblaucommented, Aug 14, 2022

Yes I am, I just got back from family vacation and can take a look at it this week.

Snipy7374commented, Sep 2, 2022

I shall take a look at this.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found