This commit is contained in:
parent
01004a1a58
commit
eeced6e9fb
|
@ -10,6 +10,7 @@ import {
|
||||||
DiscordEmbedField,
|
DiscordEmbedField,
|
||||||
Interaction,
|
Interaction,
|
||||||
InteractionResponseTypes,
|
InteractionResponseTypes,
|
||||||
|
LT, log,
|
||||||
MessageComponentTypes,
|
MessageComponentTypes,
|
||||||
OverwriteTypes,
|
OverwriteTypes,
|
||||||
} from '../../deps.ts';
|
} from '../../deps.ts';
|
||||||
|
@ -225,7 +226,7 @@ The Discord Slash Command system will ensure you provide all the required detail
|
||||||
});
|
});
|
||||||
|
|
||||||
const x = await bot.helpers.getRoles(interaction.guildId);
|
const x = await bot.helpers.getRoles(interaction.guildId);
|
||||||
x.forEach(role => console.log(role))
|
x.forEach(role => log(LT.INFO, `${role}`))
|
||||||
|
|
||||||
// Set permissions for self, skip if we already failed to set roles
|
// Set permissions for self, skip if we already failed to set roles
|
||||||
!mgrRoleErrorOut && await bot.helpers.editChannelPermissionOverrides(interaction.channelId, {
|
!mgrRoleErrorOut && await bot.helpers.editChannelPermissionOverrides(interaction.channelId, {
|
||||||
|
|
Loading…
Reference in New Issue