mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2024-12-22 15:53:08 +02:00
fix(archives): role and member bug
This commit is contained in:
parent
7812e62776
commit
30883032b7
@ -32,8 +32,8 @@ module.exports = class TicketArchiver {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const channels = message.mentions.channels;
|
const channels = message.mentions.channels;
|
||||||
const members = [...message.mentions.members];
|
const members = [...message.mentions.members.values()];
|
||||||
const roles = [...message.mentions.roles];
|
const roles = [...message.mentions.roles.values()];
|
||||||
|
|
||||||
if (message.member) {
|
if (message.member) {
|
||||||
members.push(message.member);
|
members.push(message.member);
|
||||||
|
Loading…
Reference in New Issue
Block a user