Browse Source

Fix formatting for code

master
Abheek Dhawan 4 years ago
parent
commit
ee1b1474b0
  1. 1
      index.js

1
index.js

@ -69,6 +69,7 @@ client.on("guildCreate", async guild => {
});
client.on("guildDelete", async guild => {
// If the bot is removed from a guild or the guild is deleted, the bot deletes the old data
collection.deleteOne({ "guild_id": `${guild.id}` }, (error, result) => {
if (error) {
console.error;

Loading…
Cancel
Save