mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2024-12-23 00:03:09 +02:00
fix: don't give useless #unknown-channel
in ticket close logs
This commit is contained in:
parent
0d1cb90e7e
commit
d7ae5c0c9e
@ -1092,7 +1092,7 @@ module.exports = class TicketManager {
|
|||||||
action: 'close',
|
action: 'close',
|
||||||
target: {
|
target: {
|
||||||
id: ticket.id,
|
id: ticket.id,
|
||||||
name: channel.toString(),
|
name: `[${ticket.number}]`,
|
||||||
},
|
},
|
||||||
userId: closedBy,
|
userId: closedBy,
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user