continue permission issue

This commit is contained in:
Ean Milligan (Bastion) 2023-05-04 04:39:03 -04:00
parent a742223926
commit 01004a1a58
1 changed files with 3 additions and 0 deletions

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,