mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2024-11-05 12:23:09 +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 members = [...message.mentions.members];
|
||||
const roles = [...message.mentions.roles];
|
||||
const members = [...message.mentions.members.values()];
|
||||
const roles = [...message.mentions.roles.values()];
|
||||
|
||||
if (message.member) {
|
||||
members.push(message.member);
|
||||
|
Loading…
Reference in New Issue
Block a user