Giter VIP home page Giter VIP logo

Comments (14)

sebm253 avatar sebm253 commented on July 17, 2024 1

it means that each time your bot gets added or removed from a server, the server count will be updated on all bot lists. if you want to use that instead, check the readme. i don't know how big your bot is but keep in mind that large bots with fast guild flow are more likely to hit the ratelimit of at least one of the bot lists with event based updating, where the automatic stats posting comes in more effective

from botlisthandler.

RealMarvn avatar RealMarvn commented on July 17, 2024 1

ok thx for your fast help

from botlisthandler.

sebm253 avatar sebm253 commented on July 17, 2024

are you by any chance testing the handler locally, where the bot id is different than the one of the production bot? if not, then i'm sorry that you're experiencing this in production - though i don't have really much info to work with to try to figure out what's wrong

from botlisthandler.

RealMarvn avatar RealMarvn commented on July 17, 2024

I already tested it locally...I`ll test that on my server...1s

from botlisthandler.

RealMarvn avatar RealMarvn commented on July 17, 2024

Nope 403 is also on my server.

from botlisthandler.

RealMarvn avatar RealMarvn commented on July 17, 2024

May this error is also with the same problem...Top GG sends a 403 and discord boats sent this.... Maby they belong together? 2021-04-15 10:42:21,365 <ERROR> <OkHttp https://discord.boats/... > <[]> <{}> < dev.mlnr.blh.core.api.BotListHandler> There was an error while updating the stats for bot list DBOATS java.net.SocketTimeoutException: timeout at okhttp3.internal.http2.Http2Stream$StreamTimeout.newTimeoutException(Http2Stream.kt:677) ~[okhttp-4.9.1.jar:?] at okhttp3.internal.http2.Http2Stream$StreamTimeout.exitAndThrowIfTimedOut(Http2Stream.kt:686) ~[okhttp-4.9.1.jar:?] at okhttp3.internal.http2.Http2Stream.takeHeaders(Http2Stream.kt:143) ~[okhttp-4.9.1.jar:?] at okhttp3.internal.http2.Http2ExchangeCodec.readResponseHeaders(Http2ExchangeCodec.kt:96) ~[okhttp-4.9.1.jar:?] at okhttp3.internal.connection.Exchange.readResponseHeaders(Exchange.kt:106) ~[okhttp-4.9.1.jar:?] at okhttp3.internal.http.CallServerInterceptor.intercept(CallServerInterceptor.kt:79) ~[okhttp-4.9.1.jar:?] at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109) ~[okhttp-4.9.1.jar:?] at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.kt:34) ~[okhttp-4.9.1.jar:?] at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109) ~[okhttp-4.9.1.jar:?] at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.kt:95) ~[okhttp-4.9.1.jar:?] at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109) ~[okhttp-4.9.1.jar:?] at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.kt:83) ~[okhttp-4.9.1.jar:?] at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109) ~[okhttp-4.9.1.jar:?] at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.kt:76) ~[okhttp-4.9.1.jar:?] at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109) ~[okhttp-4.9.1.jar:?] at okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp(RealCall.kt:201) ~[okhttp-4.9.1.jar:?] at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:517) [okhttp-4.9.1.jar:?] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) [?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) [?:?] at java.lang.Thread.run(Thread.java:832) [?:?]

from botlisthandler.

RealMarvn avatar RealMarvn commented on July 17, 2024

Also BOTS_FOR_DISCORD with code 404

from botlisthandler.

sebm253 avatar sebm253 commented on July 17, 2024

did you even add your bot to the bot lists and were they approved? because those errors would explain that - if you did, then it's using a different bot id

from botlisthandler.

RealMarvn avatar RealMarvn commented on July 17, 2024

Nope. It is added on topGG and BotsForDiscord ... I accidently switched the DiscordBoats and BotsForDiscord Token. But after that TopGG threw an 403 and BotsForDiscord threw and 404: "Failed to update the stats for bot list BOTS_FOR_DISCORD with code 404"
My DiscordBoats is not approved and the token was from BotsForDiscord so pls forget the error above with DiscordBoats.

from botlisthandler.

RealMarvn avatar RealMarvn commented on July 17, 2024

What do you mean with using a different bot id?

from botlisthandler.

sebm253 avatar sebm253 commented on July 17, 2024

i meant that maybe you were testing it locally, which would use the test bot's id which obviously isn't on the bot lists - however you said you also tested this on your server with the production bot, so that's probably not the issue. can you recheck all tokens? i don't see an issue on the handler's side

from botlisthandler.

RealMarvn avatar RealMarvn commented on July 17, 2024

Oh shit. I had a wrong DiscordBot Token!. One Sec

from botlisthandler.

RealMarvn avatar RealMarvn commented on July 17, 2024

One question while my Bot is loading all servers...What is posting event based? Everytime a new Guild comes in it updates or what`?

from botlisthandler.

RealMarvn avatar RealMarvn commented on July 17, 2024

Its working. Sry it was a problem on my side

from botlisthandler.

Related Issues (5)

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.