Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Fernando-Santana-j committed Dec 4, 2024
1 parent 359c99b commit 08c8b65
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: [],
Expand Down

0 comments on commit 08c8b65

Please sign in to comment.