Skip to content

Commit

Permalink
Update guildCreate.js
Browse files Browse the repository at this point in the history
  • Loading branch information
barkloaf committed Jan 22, 2019
1 parent 00bbe4b commit 0fc8bea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions events/guildCreate.js
Expand Up @@ -3,8 +3,8 @@ let moment = require("moment")
require("moment-timezone");
require("moment-duration-format");

module.exports.run = async (guild, client) => {
module.exports.run = async (client, guild) => {
client.db.createGuild(guild);
console.log("[" + clc.blue("INFO") + "] " + `New guild: "${guild.name}" (ID: ${guild.id})`);
client.cmdHook.send("`[" + `${moment().format('DD/MM/YYYY] [HH:mm:ss')}` + "]`" + "[**" + "INFO" + "**] " + `New guild: \`${guild.name}\` (ID: ${guild.id})`)
client.cmdHook.send("`[" + `${moment().format('DD/MM/YYYY] [HH:mm:ss')}` + "]`" + "[**" + "INFO" + "**] " + `New guild: \`${guild.name}\` (ID: ${guild.id})`)
}

0 comments on commit 0fc8bea

Please sign in to comment.