Making A Discord Bot Have A Custom Status

Hey I wanted To Add A Custom Status To My Bot But I Dont Know At Which Line Do I Put My Code At Cause I Am New To Discord.JS Though I Did Used To Make Discord.JS Bots But I Forgot Sooo Help Would Be Appreciated Thanks

Are you using dbd.js or Discord.js? You seem to have messages about both. In either case you are communicating “the status” which surely means you tell the bot when the status has changed. That means there is no “which line” exactly.

You can set it upon startup with a hook to client.on(‘ready’) which will give it an initial status. If you have a bot using Discord.js at the moment you are monitoring this event right?