1
0
Fork 0

Status update

This commit is contained in:
Jimi 2022-11-26 16:55:28 +01:00
parent 7dbf15b966
commit 402d01ceba
1 changed files with 12 additions and 4 deletions

View File

@ -5,10 +5,18 @@ const client = new Client(); //New Discord client
const botconfig = require('./data/botconfig.json') //Login info for the bot, you will have to provide your own info there
client.on("ready", () => {
console.log(`The bot is online!`)
client.user.setPresence({ status: 'dnd' });
});
console.log(`The bot is online!`)
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) => {
const DetectMessageType = require('./functions/!DetectMessageType.js')