1
1
mirror of https://github.com/Burn-E99/GroupUp.git synced 2026-06-04 00:43:49 -04:00
This commit is contained in:
Ean Milligan (Bastion)
2023-05-04 04:40:21 -04:00
parent 01004a1a58
commit eeced6e9fb

View File

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