1
0
Fork 0
mirror of https://github.com/1disk/edp445.git synced 2024-08-14 22:47:02 +00:00

Status update

This commit is contained in:
Jimi 2022-11-26 16:55:28 +01:00
parent 7dbf15b966
commit 402d01ceba

View file

@ -7,7 +7,15 @@ const botconfig = require('./data/botconfig.json') //Login info for the bot, you
client.on("ready", () => {
console.log(`The bot is online!`)
client.user.setPresence({ status: 'dnd' });
client.user.setActivity(`${client.guilds.cache.size} servers • discord.gg/memee`, {
type: "WATCHING"
});
});
client.on("guildCreate", function(guild){
client.user.setActivity(`${client.guilds.cache.size} servers • discord.gg/memee`, {
type: "WATCHING"
});
});
client.on("message", async (message) => {