-
Please describe your problem in as much detail as possible: I working with Slashcommands and distube to make a nice music module but if i wanna search with search(string, {safeSearch: true, limit: 15}) it didnt trigger the searchResult and didnt give a Error so my Question is why? and can if fix this i only work with slash commands no message commands.
|
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 2 replies
-
sry for my bad english :( |
Beta Was this translation helpful? Give feedback.
-
It returns an array of |
Beta Was this translation helpful? Give feedback.
-
it didnt return anything? |
Beta Was this translation helpful? Give feedback.
-
can you give me more informations what you mean? |
Beta Was this translation helpful? Give feedback.
-
This method returns a promise of https://distube.js.org/#/docs/DisTube/beta/class/DisTube?scrollTo=search And read events descriptions https://distube.js.org/#/docs/DisTube/beta/class/DisTube?scrollTo=e-searchResult |
Beta Was this translation helpful? Give feedback.
-
thank you for help now i know what you mean haha |
Beta Was this translation helpful? Give feedback.
-
i have a question why is searchSong not a global funktion ? |
Beta Was this translation helpful? Give feedback.
This method returns a promise of
SearchResult
array and doesn't emit any events.https://distube.js.org/#/docs/DisTube/beta/class/DisTube?scrollTo=search
And read events descriptions
https://distube.js.org/#/docs/DisTube/beta/class/DisTube?scrollTo=e-searchResult