Can I show the search results from the searchbar in my bot?


I want to add an autocomplete function for my bot on discord.
In the end I only need all possible search results and the corresponding link to the website.

Hope this was understandable and hope for feedback

That sounds like a fun project!

Trezy has a nice walkthrough of building a Discord Chatbot for Algolia (Searching through Dev Documentation Straight from Discord, Powered by Algolia | I’d start there.

If you want to tie it into interactions with your autocomplete interface, I’d suggest building an autocomplete plugin – you can register the events you want to act on and integrate directly wit the Discord APIs. (This is how things like the query suggestions and analytics/insights plugins work.

Plugins are documented here: Plugins | Autocomplete | Algolia