Giter VIP home page Giter VIP logo

Comments (17)

Yucked avatar Yucked commented on August 27, 2024

Did you follow the Readme and wiki?

from victoria.

Amoo0001 avatar Amoo0001 commented on August 27, 2024

Yes, very carefully. I found an application called Lavalink, is this the same Lavalink? Do I need to run this application also?
https://github.com/Frederikam/Lavalink

from victoria.

Amoo0001 avatar Amoo0001 commented on August 27, 2024

Oh! I missed a part of the Wiki! I might not need help anymore, I'm so sorry. Let me see if I can get it to work, and I'll close this if so.

from victoria.

Amoo0001 avatar Amoo0001 commented on August 27, 2024

Ok search isn't crashing anymore now that I'm running Lavalink, but it's not returning any results for any query. Do I need to customize application.yml somehow? I know YAML but I'm not sure what needs to be changed.

from victoria.

Amoo0001 avatar Amoo0001 commented on August 27, 2024

I got it to work, thanks for pointing me back to the Wiki... I was very careful but I was operating on little sleep and I missed a paragraph that was rather important! Thanks again and sorry for the noise.

Take care <3

  • Amy

from victoria.

Yucked avatar Yucked commented on August 27, 2024

No worries! I'm glad you figured it out. πŸ‘β˜ΊοΈ

from victoria.

djthegr8 avatar djthegr8 commented on August 27, 2024

having the same problem.....
It keeps saying Waiting x seconds before attempt #x

from victoria.

Yucked avatar Yucked commented on August 27, 2024

@djthegr8 This problem usually happens if:

  1. You downloaded and ran Lavalink.jar without download application.yml
  2. The application.yml is not in the same directory as lavalink.jar
  3. You specified a different port and host in application.yml and didn't change it in LavaConfig
  4. You started Lavalink.jar programmatically e.g Process.Start("java -jar Lavalink.jar") and didn't specify WorkingDirectory for ProcessStartInfo

from victoria.

djthegr8 avatar djthegr8 commented on August 27, 2024

I used the PartyBot test, and i do have application.yml.example in the same folder (is that wrong?)

from victoria.

djthegr8 avatar djthegr8 commented on August 27, 2024

application.yml != application.yml.example or something?

from victoria.

Yucked avatar Yucked commented on August 27, 2024

You should rename it to application.yml instead of application.yml.example.

from victoria.

djthegr8 avatar djthegr8 commented on August 27, 2024

Explains..lemme test it
Thx a ton (nice lib btw)

from victoria.

Yucked avatar Yucked commented on August 27, 2024

Let me know how it goes. And, thank you! Glad you like it.

from victoria.

djthegr8 avatar djthegr8 commented on August 27, 2024

Yay it worked! Thx

from victoria.

djthegr8 avatar djthegr8 commented on August 27, 2024

Btw does it only work on links?

from victoria.

Yucked avatar Yucked commented on August 27, 2024

No, you can also use raw queries such as "The Weeknd Valerie", etc.

Although, there are 3 methods. SearchAsync searches links only. SearchYouTubeAsync & SearchSoundCloudAsync handle raw queries.

You can sum them into one line though:

var searchResult = await (Uri.IsWellFormedUriString(query, UriKind.Absolute) ? SearchAsync(query) : SearchYouTubeAsync(query));

from victoria.

valen030 avatar valen030 commented on August 27, 2024

No, you can also use raw queries such as "The Weeknd Valerie", etc.

Although, there are 3 methods. SearchAsync searches links only. SearchYouTubeAsync & SearchSoundCloudAsync handle raw queries.

You can sum them into one line though:

var searchResult = await (Uri.IsWellFormedUriString(query, UriKind.Absolute) ? SearchAsync(query) : SearchYouTubeAsync(query));

Hi, my bot was able to join and leave according to command but i have a problem with this line
var search = Uri.IsWellFormedUriString(query, UriKind.Absolute) ? await _lavaNode.SearchAsync(query) : await _lavaNode.SearchYouTubeAsync(query);

which is executed when "play" command.
The error i get is "No connection could be made because the target machine actively refused it."

from victoria.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.