ayn2op / discordo

A lightweight, secure, and feature-rich Discord terminal client.
MIT License
1.92k stars 63 forks source link

Is it possible to view unlimited messages from the past? #402

Closed SebastianMpl closed 1 week ago

SebastianMpl commented 2 weeks ago

Hi, I played a little with discordo and it is simply awesome. However I would like to go back in messages history so that they could be loaded as I go backward. Currently I can set messages_limit which is uint8 go type, so I switched to uint16 and messages_limit 500 but it still don't go as far. Is it made intentionally to not ban users abusing API? Could you please advice?

EDIT: It seems that it occurs in "pure" terminal (CTRL+ALT+F2) where scrolling with touchpad is unavailable. In terminal in GUI I can scroll more messages but the k key still does not go far back.

Thank you,

ayn2op commented 1 week ago

The maximum number of messages that can be fetched from the API at a time is 100. Discord API does have a way to fetch more messages by specifying different parameters, but that’s not implemented in Discordo yet, mainly because the TextView widget used to display the messages is too slow for this application.

SebastianMpl commented 1 week ago

Thank you very much for explanation.