This commit is contained in:
Alex Brow 2020-03-23 09:53:27 -04:00
parent 794d590767
commit 83a533d8ee
No known key found for this signature in database
GPG Key ID: F48926893F475C25
1 changed files with 13 additions and 15 deletions

View File

@ -11,7 +11,7 @@ const config = require("./config.json");
// config.token contains the bot's token
// config.prefix contains the message prefix.
//Activity setting
client.on("ready", () => {
// This event will run if the bot starts, and logs in, successfully.
console.log(`Bot has started, with ${client.users.cache.size} users, in ${client.channels.cache.size} channels of ${client.guilds.cache.size} guilds.`);
@ -19,7 +19,6 @@ client.on("ready", () => {
// docs refer to as the "ClientUser".
client.user.setActivity(`${client.users.cache.size} of you horrible people`,{ type: 'LISTENING' });
});
client.on("guildCreate", guild => {
// This event triggers when the bot joins a guild.
console.log(`New guild joined: ${guild.name} (id: ${guild.id}). This guild has ${guild.memberCount} members!`);
@ -39,9 +38,8 @@ client.on("guildDelete", guild => {
console.log(`I have been removed from: ${guild.name} (id: ${guild.id})`);
client.user.setActivity(`${client.users.cache.size} of you horrible people`,{ type: 'LISTENING' });
});
//osseley stop
//Actual command stuff
client.on("message", async message => {
// This event will run on every single message received, from any channel or DM.