Skip to content

Commit

Permalink
Update guildDelete.js
Browse files Browse the repository at this point in the history
  • Loading branch information
austinhuang0131 authored Sep 28, 2019
1 parent 2e585a7 commit 783e0d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Events/guildDelete.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const auth = require("../Configuration/auth.js");

module.exports = async guild => {
let name = guild.name.replace(/(\*|`|_|~)/, "\\$1").replace(/discord\.(gg|io|me|li)\/([\w\d])+/g, "**Invite Link Censored**").replace(/@(everyone|here)/g, "@\u200b$1");
client.log(`📥 Left guild \`${guild.id}\`(${name}). Currently in ${client.guilds.size} servers on cluster ${client.shard.id}`);
client.log(`:outbox_tray: Left guild \`${guild.id}\`(${name}). Currently in ${client.guilds.size} servers on cluster ${client.shard.id}`);
let numbers = await r.table("Numbers").filter({ guild: guild.id });
let mailboxes = await r.table("Mailbox").filter({ guild: guild.id });

Expand Down

0 comments on commit 783e0d7

Please sign in to comment.