Am I allowed to log errors in discord

So I want to use datastores for data, and i save in playerremoving and bindtoclose, So i want to log data failure if it failed saving data, so i used discord because every other logging services would wipe logs every 3 days, i dont want that, so what if i log data in situations that you can’t do anything to save data again? like for example bindtoclose, once it fails you cant save data again so i want to keep a logger just in case, but the tos was clear, discord is not a logging service and i would get banned if i log so, but i do still respect the ratelimits but i still kind of fear about getting banned. is it allowed?

It litterally says in Discord’s TOS to not use their services for logging/external log purposes. Read up on that. Also consider using MemoryStoreService.

https://developer.roblox.com/en-us/articles/memory-store

1 Like

that wipes data in 30 days

I still do respect the ratelimits and i already know that they clearly stated it, will i still get banned

1 Like

If you insist, I will link you to webhook.lewistehminerz.dev . It is a proxy with limits that works in game. I have intergrated it into 2 modules on my profile but not for logging lol. Kinda hypocritical of me.

I personally use discord to log any errors with datastore issues and other issues.

1 Like

ook just one more thing, does webhook.lewistehminerz.dev block you completely that you cant use requests in it anymore when you reach the rate limits?

I have no idea, it will take a lot of requests to find out. However, roblox has limits to HTTP requests themselves. It might be added to a queue else I will work on intergrating one.

then ill need to add a ratelimit thing myself, thanks for solving

Yet another thread on developers wanting to use Discord to log. I don’t know what the obsession is - you’re not allowed to do it and it’s not an adequate logging service. You should use actual logging software like Sentry which allows you to better aggregate and inspect errors.

Won’t be surprised if your webhook gets blocked at some point. :man_shrugging:

2 Likes

that literally wipes my logs every 3 days and i do not like that

3 days seems like an overexaggeration. Data retention for free accounts is 30 days – you can compare the benefits between plans via the Sentry Pricing page. GitHub also provides an extension of services if you have the student bundle (obviously you need to be a student for it).

It is paid software though and I get it may not fit your budget especially if you aren’t working on a serious project pulling any capital. Dedicated logging software provides you tooling to make error logs sufficiently useful (overall analytics, inspecting the error itself, easier diagnosis). Discord has never been built with the intention of developer use, it’s a real time chat room.

I’m not demanding that you switch but I simply think that developers obsessing over trying to use Discord for any sort of logging is lazy systems design when existing software exists for this purpose.

2 Likes

though, i still dont like 30 days because i get very inactive these days

and im also not willing to pay as im poor to buy any of those

i understand, but when there are softwares specifically for that purpose, they will obviously ask for money

It still is better than using discord for error logging. Both colbert and ZR1C8 are correct in saying it is not allowed.

Sentry is 100% your best bet, if you get very inactive, I have no idea why you are wanting to do this in the first place.

i still dont have money for these programs yet, so im using discord

the phrase of inactive is unrelated; i can still see logs in discord without it wiped because i can still get back anytime.