From 08c8b6584eb61e8007ff7693ac00754ff6f5eb6d Mon Sep 17 00:00:00 2001 From: Fernando Date: Wed, 4 Dec 2024 14:19:27 -0300 Subject: [PATCH] fix --- index.js | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/index.js b/index.js index 83edd8c..1a32424 100644 --- a/index.js +++ b/index.js @@ -561,13 +561,11 @@ app.get('/server/ticket/:id', functions.authGetState, functions.subscriptionStat const channels = guild.channels.cache; const textChannels = channels.filter(channel => channel.type === 0); - console.log(guild); - + let roles = guild.roles.cache - let rolesFilter = roles.filter(role => role.managed == false && role.mentionable == false && role.name != "@everyone") + // let rolesFilter = roles.filter(role => role.managed == false && role.mentionable == false && role.name != "@everyone") console.log(roles); - - console.log(rolesFilter); + let ticketOptions = { motivos: [],