1
1
mirror of https://github.com/Burn-E99/GroupUp.git synced 2026-06-04 08:53:49 -04:00

continue permission issue

This commit is contained in:
Ean Milligan (Bastion)
2023-05-04 04:39:03 -04:00
parent a742223926
commit 01004a1a58

View File

@@ -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,