Separate archives channel

This commit is contained in:
Isaac (eartharoid)
2020-12-03 22:55:57 +00:00
parent 3d6c4901d0
commit 6846a57a71
2 changed files with 6 additions and 5 deletions

View File

@@ -163,7 +163,7 @@ module.exports = {
try {
dm.send(res);
if (config.logs.discord.enabled) client.channels.cache.get(config.logs.discord.channel).send(res);
if (config.transcripts.channel.length > 1) client.channels.cache.get(config.transcripts.channel).send(res);
} catch (e) {
message.channel.send('❌ Couldn\'t send DM or transcript log message');
}