fix(archives): role and member bug

This commit is contained in:
Isaac 2022-10-25 22:55:53 +01:00
parent 7812e62776
commit 30883032b7
No known key found for this signature in database
GPG Key ID: 0DE40AE37BBA5C33

View File

@ -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);