#How to log all request sent by bot ?

1 messages · Page 1 of 1 (latest)

past flame
#

How to log all request sent by bot ?

simple raptor
#

print what you want to print or write it to a log file

proven grove
simple raptor
#

i mean depends on what exactly they want, but they have yet to specify that

past flame
#

a event to log all request http sent by the bot

simple raptor
#

what do you actually want to log

#

i think if you log absolutely everything you'll have an absolutely unusable log file soon enough

proven grove
#

Like there might have something like that

#

But it will just spam ur log

past flame
#

My problem is that my bot has a ratelimit every 5 minutes, I would like to know which server / user has a ratelimit my bot with which call.

past flame
#

thanks you

#

Your event don't work

simple raptor
#

pycord should handle ratelimits fine on its own

simple raptor
#

read before complaining

past flame
#

... sorry

simple raptor
past flame
#

He have with AutoShardedBot ?

simple raptor
#

why not lol

#

its just a subclass of Client at one point

past flame
#

should I put it in the Client variable initialization or in bot.run?

#

Find it

proven grove
#

mb message didn’t load before