← go back

I made a new feature:

@wasteof_bot recents to return latest posts in wasteof.money. But it is horribly slow due to time taken in API request (1.7 seconds for 2 requests)

It works by making a set of @ratio and @zu feeds and then converting to a list, then sorting by recent and then taking the first 15 posts and showing (5 if on /chat).

The 2 requests it makes is of 1.7 seconds total which makes it the slowest command of the bot.

Also use @wasteof_bot recents beta for getting beta links

Sep 24, 2022, 10:27 AM (edited)
6 1 12

Comments