Browse Source

Merge branch 'development' of git.adawesome.tech:git/bots/awesomemod into development

master
Abheek Dhawan 4 years ago
parent
commit
6147d0d6ef
  1. 3
      index.js

3
index.js

@ -99,8 +99,9 @@ async function startLogs(message) {
}]
}).then(channel => {
// Add the ID of the "#bot-logs" channel to the database
message.reply(`channel ${channel} created!`)
collection.updateOne({ guild_id: message.guild.id }, { $set: { "bot_logs_id": `${channel.id}` } });
});
}).catch(message.reply(`unable to create channel :(`));
}
}
});

Loading…
Cancel
Save