fix bot activity

This commit is contained in:
SowinskiBraeden committed 2022-11-21 14:21:42 -08:00
1 parent 3ce08793c9
commit cb118a886f
1 file changed
+4 -6
+4 -6
View File
@@ -1,11 +1,9 @@
module.exports = async (client) => { module.exports = async (client) => {
(client.Ready = true), (client.Ready = true),
client.user.setActivity(client.config.Presence.name, { client.user.setActivity(
type: client.config.Presence.type, client.config.Presence.name,
}) client.config.Presence.type
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(`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.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(); client.RegisterSlashCommands();