update presence
This commit is contained in:
1 parent
9edb6b98d7
commit
e1c599d3c6
2 files changed
+7
-8
No files matched your search
@@ -1,5 +1,4 @@
|
|||||||
const { MessageEmbed } = require('discord.js');
|
const { MessageEmbed } = require('discord.js');
|
||||||
const exists = require('../util/Exists');
|
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
name: "setchannel",
|
name: "setchannel",
|
||||||
|
|||||||
+7
-7
@@ -1,12 +1,12 @@
|
|||||||
module.exports = async (client) => {
|
module.exports = async (client) => {
|
||||||
(client.Ready = true),
|
(client.Ready = true),
|
||||||
client.user.setPresence({
|
client.user.setActivity(client.config.Presence.name, {
|
||||||
status: client.config.Presence.status, // You can show online, idle, and dnd
|
|
||||||
activity: {
|
|
||||||
name: client.config.Presence.name,
|
|
||||||
type: client.config.Presence.type,
|
type: client.config.Presence.type,
|
||||||
},
|
})
|
||||||
});
|
client.user.setPresence({
|
||||||
client.log("Successfully Logged in as " + client.user.tag); // You can change the text if you want, but DO NOT REMOVE "client.user.tag"
|
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();
|
client.RegisterSlashCommands();
|
||||||
};
|
};
|
||||||
Reference in new issue
Block a user