diff --git a/main.js b/main.js index eb1ba29..9ee1f80 100644 --- a/main.js +++ b/main.js @@ -35,6 +35,15 @@ for (const folder of commandFolders) { } client.once(Events.ClientReady, readyClient => { + try { + client.user.setPresence({ activities: [{ name: 'Use /help - MBot' }], status: 'idle' }); + console.log(informationStatus + `Activity has been set to '${client.user.presence.activities}'`); + console.log(informationStatus + `Status has been set to ${client.user.presence.status}`); + } catch (error) { + console.log(errorStatus + "Something went wrong with setting the status! Debug information below."); + console.error(error); + } + console.log(informationStatus + "Client is online!"); });