fix bot activity

This commit is contained in:
SowinskiBraeden committed 2022-11-21 14:19:46 -08:00
1 parent fffd788f0a
commit 4881eadfb5
2 files changed
+5 -7

No files matched your search

+4 -6
View File
@@ -1,11 +1,9 @@
module.exports = async (client) => {
(client.Ready = true),
client.user.setActivity(client.config.Presence.name, {
type: client.config.Presence.type,
})
client.user.setPresence({
status: client.config.Presence.status, // You can show online, idle, and dnd
});
client.user.setActivity(
client.config.Presence.name,
client.config.Presence.type
);
client.log(`Successfully Logged in as ${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();
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "quarksbot",
"version": "13.2.2",
"version": "13.2.3",
"description": "Grand Theft Auto V Roleplay Bot",
"main": "index.js",
"nodemonConfig": {