DenoDDeno
Powered by
πŸŽ€π”Έβ„•π”Ύπ”Όπ•ƒ π”»π•†π•ƒπ•ƒπ”½π”Έβ„‚π”ΌπŸŽ€πŸ‡΅πŸ‡ΈοΏ½
Denoβ€’2y agoβ€’
5 replies
πŸŽ€π”Έβ„•π”Ύπ”Όπ•ƒ π”»π•†π•ƒπ•ƒπ”½π”Έβ„‚π”ΌπŸŽ€πŸ‡΅πŸ‡Έ

Event Loop for a bot

Supposing I had a function in a script for a bot that gives me all the tweets a user has posted on X.com (sharkey, actually, but lets just say x), how would I make some kind of an event listener on a server that listens for mentions of the bot's account? I was thinking about making an infinite loop but that seems wildly inefficient.
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,934Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Event loop resolving prematurely
raaymaxRraaymax / help
2y ago
Deno event loop and gui application
ExidexEExidex / help
3y ago
Detect when the event loop is finished in a Worker
Γ“scarÓÓscar / help
2y ago
Is it possible to embed `deno_core` with a self-managed event loop?
linrongbin16Llinrongbin16 / help
2y ago