All of a sudden i'm getting "(node:2286) [DEP0025] DeprecationWarning: sys is deprecated. Use util instead." in my logs

I didn’t change anything I think but my bot will no longer go online and I keep getting " (node:2286) [DEP0025] DeprecationWarning: sys is deprecated. Use util instead." in my logs

its a deprecation error

do you know how to fix it?

sys is deprecated. Use util instead.

I don’t have sys is deprecated, atleast I can’t find it

can you send a screenshot of your package file?

Can you search for “sys”? This is a solution I found.
var sys = require('util');

I didn’t find anything with sis in any file
and putting var sys = require(‘util’); did nothing

Sorry, I think I meant sys

yeah i tried that aswell nothing either

I’m thinking that this could be a code error in one of the packages you used…

If that isn’t the case, I’m not sure…

I didn’t do anything but now the error is gone

bot won’t turn on sitll