continue permission issue
This commit is contained in:
parent
a742223926
commit
01004a1a58
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue