mirror of https://github.com/1disk/edp445.git
Status update
This commit is contained in:
parent
7dbf15b966
commit
402d01ceba
16
index.js
16
index.js
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue