From 01004a1a589ddfeadba3b932ec9bebf599292ee4 Mon Sep 17 00:00:00 2001 From: "Ean Milligan (Bastion)" Date: Thu, 4 May 2023 04:39:03 -0400 Subject: [PATCH] continue permission issue --- src/commands/setup.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/commands/setup.ts b/src/commands/setup.ts index 5dcbf07..8f5d85a 100644 --- a/src/commands/setup.ts +++ b/src/commands/setup.ts @@ -224,6 +224,9 @@ The Discord Slash Command system will ensure you provide all the required detail mgrRoleErrorOut = true; }); + const x = await bot.helpers.getRoles(interaction.guildId); + x.forEach(role => console.log(role)) + // Set permissions for self, skip if we already failed to set roles !mgrRoleErrorOut && await bot.helpers.editChannelPermissionOverrides(interaction.channelId, { id: botId,