mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2024-11-05 04:13:08 +02:00
Merge pull request #74 from mgsi100/master
Include transcript files and archive links in log messages
This commit is contained in:
commit
3d6c4901d0
@ -160,12 +160,12 @@ 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');
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -227,4 +227,4 @@ module.exports = {
|
||||
});
|
||||
|
||||
}
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user