diff --git a/commands/setChannel.js b/commands/setChannel.js index f2b9f10..96da365 100644 --- a/commands/setChannel.js +++ b/commands/setChannel.js @@ -1,5 +1,4 @@ const { MessageEmbed } = require('discord.js'); -const exists = require('../util/Exists'); module.exports = { name: "setchannel", diff --git a/events/ready.js b/events/ready.js index 8e37bb3..36a5f0e 100644 --- a/events/ready.js +++ b/events/ready.js @@ -1,12 +1,12 @@ module.exports = async (client) => { (client.Ready = true), - client.user.setPresence({ - status: client.config.Presence.status, // You can show online, idle, and dnd - activity: { - name: client.config.Presence.name, + client.user.setActivity(client.config.Presence.name, { type: client.config.Presence.type, - }, - }); - client.log("Successfully Logged in as " + client.user.tag); // You can change the text if you want, but DO NOT REMOVE "client.user.tag" + }) + client.user.setPresence({ + status: client.config.Presence.status, // You can show online, idle, and dnd + }); + client.log(`Successfully Logged in as ${client.user.tag}`); // You can change the text if you want, but DO NOT REMOVE "client.user.tag" + client.log(`Ready to serve in ${client.channels.cache.size} channels on ${client.guilds.cache.size} servers, for a total of ${client.users.cache.size} users.`) client.RegisterSlashCommands(); }; \ No newline at end of file