Closed ghost closed 3 years ago
Looks like the pastebin expired. Is your clone up to date?
Oh sry.. here is my paste server.. and yeah its up to date..
That can't be the latest build since lavaplayer is currently at 1.3.76 while you're on lavaplayer 1.3.73. Try pulling and rebuilding your jar.
hm.. alright.. i will try that give me a moment..
Does it work now? 🙂
yeep thx this was my failure...
but what can i do to this..
There has been an API error while loading some tracks. Please try again.
Exception
GoogleJsonResponseException: The request cannot be completed because you have exceeded your <a href="/youtube/v3/getting-started#quota">quota</a>.
CommandContext ID
d00d71d6-d178-455e-8077-09983ffab849
Make sure the YOUTUBE_API_DAILY_QUOTA
property in resources/settings.properties (or for botify 2 the property botify.preferences.youtube_api_daily_quota
in src/main/resources/application.properties) is set to the quota you were given for your YouTube Data API project so that the bot can limit usage of the API accordingly.
it is set to 10000, the normal limit..
When I created my project YouTube gave me 1000000, 10000 is very low. That's worth 100 search requests. Was the quota limit property set correctly the whole time or have you just set it now? Have you seen a message logged by the YouTubeService when exceeding the quota and what's the output of the youtube quota
command? Quota resets at midnight pacific time, if you find yourself hitting the limit in the future you could just further limit the quota limit property so botify stops using the API and falls back to crawling html pages earlier.
Yes I have set the quota limit from the beginning to 10000 and the command shows me this: https://upload.proxyping.de/rCaM7bTzKxW5Ceq.png
Looks good. If you run into a quota limit again in the future consider further lowering the limit. If the quota is 50k or below botify stops using the YouTube API where possible upon reaching 50% of the quota usage (else it's 75%) but note that searching YouTube playlist always requires using the API.
I have another question, the bot is lagging very much but the bot is on a strong server....
Define "strong". What's the JVM's max heap size, how much memory is used (analytics command), what's the CPU usage, do you use the jda-nas native buffer, do you get any packet loss, are you on botify 1 or botify 2 and how many concurrent streams are playing?
Also this has nothing to do with the original issue, mae a separate issue or use the discord in the future.
it runs on an linux system, and no there is no packet loss.. Screenshot of usage: https://suka.blyat.xyz/uploads/16f694f5-a0eb-438f-8929-e0087ce66df2/18hnMBfN_.png
analytics command: https://suka.blyat.xyz/uploads/16f694f5-a0eb-438f-8929-e0087ce66df2/SLFqGAz8_.png
You still haven't answered how many guilds are playing concurrently, if you're using a native buffer (NATIVE_AUDIO_BUFFER
/ botify.preferences.native_audio_buffer
property) and whether you're using botify 1 or 2. And how did you check for packet loss? Can probably rule out CPU or memory usage, provided those screenshots were taken while there was stuttering.
I got this error like if i want to play any track and i did not change anyhting in the code. just the normal setup like bot token etc..
and heres the console error:
https://pastebin.com/k2i3azkG