mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2025-09-02 16:41:25 +03:00
archives
This commit is contained in:
@@ -149,7 +149,11 @@ module.exports = {
|
||||
}];
|
||||
}
|
||||
|
||||
if (fs.existsSync(`user/transcripts/raw/${ticket.get('channel')}.log`))
|
||||
if (
|
||||
fs.existsSync(`user/transcripts/raw/${ticket.get('channel')}.log`)
|
||||
&&
|
||||
fs.existsSync(`user/transcripts/raw/entities/${ticket.get('channel')}.json`)
|
||||
)
|
||||
embed.addField('Web archive', `${await archive.export(Ticket, channel)}`);
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user