Merge pull request #74 from mgsi100/master

Include transcript files and archive links in log messages
This commit is contained in:
Isaac 2020-12-03 22:02:26 +00:00 committed by GitHub
commit 3d6c4901d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -161,11 +161,11 @@ module.exports = {
res.embed = embed;
try {
dm.send(res).then();
dm.send(res);
if (config.logs.discord.enabled) client.channels.cache.get(config.logs.discord.channel).send(res);
} catch (e) {
message.channel.send('❌ Couldn\'t send DM');
message.channel.send('❌ Couldn\'t send DM or transcript log message');
}
}
}