Status Handler
Status handler lets you load multiple statuses which are within 1 file.
Setup: Status Handler
...// Initialize a Handler for structured command handlingconst handler = new Handler( { client: client, readyLog: true }, { // Additional Handler configuration options go here }, __dirname);
handler.loadStatuses('/file.js') // needs to be a file
Create a file in your root directory where your index is.
This is a bit different, You need to specify the status inside statuses option.
Structure
module.exports = { statuses: [ { name: "Emi Suffering", type: "watching", status: "idle", time: 1 }, { name: "Ado", type: "Listening", status: "dnd", time: 1 }] // we use nested obj in array to put statuses}