hollowstrawberry / crab-cogs

Red Discord bot cogs for the Crab friend group
GNU General Public License v3.0
16 stars 3 forks source link

ImageLog seems to only log Staff #46

Open JakeFrosty opened 2 months ago

JakeFrosty commented 2 months ago

up until the recent update, image logging worked for both staff and regular users, now only staff get logged. I also get these logs (see attachment below) from the docker container

I would appreciate some insight as to why this is happening, I'm also on the latest version of the PhasecoreX red discord bot Image and the latest version of this repo if that helps

image

image

hollowstrawberry commented 2 months ago

I should take a look. As for the Not Founds, it's probably because it seems discord has been deleting images from their cache faster recently, so often it can't grab the image

JakeFrosty commented 2 months ago

I should take a look. As for the Not Founds, it's probably because it seems discord has been deleting images from their cache faster recently, so often it can't grab the image

thanks I appreciate it, it seems like Dyno is working just fine for image logging, so maybe it's a Red/cog specific problem? (maybe with latency of grabbing the image?) although I'm shooting blames blindly here

JakeFrosty commented 1 month ago

It seems that your diagnosis is right and that Discord is recently deleting images from their caches faster than bots can retrieve them.

Sometimes it can cache a single image but the rest are not retrievable.

All bots seem to suffer from this same problem for the last 3 weeks now and I was wondering if a band-aid solution like an Image reposter is an option?