irslackd icon indicating copy to clipboard operation
irslackd copied to clipboard

No channel history

Open orhun opened this issue 3 years ago • 4 comments

I just started using irslackd and all of my buffers are empty. Is there a way to fetch the chat history after connecting?

orhun avatar Aug 15 '21 22:08 orhun

No one's written that feature yet but it's possible. The closest thing that exists presently is @slack history -l <num_events> which should return chat history for a given conversation, albeit in raw format.

adsr avatar Aug 16 '21 04:08 adsr

@slack history -l <num_events>

How exactly do we do that? Is it a plugin command?

orhun avatar Aug 16 '21 11:08 orhun

You can type that in any channel. It won't get sent as a chat line.

adsr avatar Aug 16 '21 23:08 adsr

Ah thanks, it's working fine. Is it limited to 1000 events?

orhun avatar Aug 17 '21 11:08 orhun

As implemented, it is indeed limited to one conversations.history call which is 1000 according to docs.

adsr avatar Sep 13 '22 02:09 adsr