mirror of
https://github.com/Burn-E99/GroupUp.git
synced 2026-01-06 19:37:54 -05:00
Move tokenMap to own file since its used everywhere
tokenCleanup is now a separate module of code to make it better organized.
This commit is contained in:
@ -19,6 +19,7 @@ const execute = async (bot: Bot, interaction: Interaction) => {
|
||||
logChannelId: 0n,
|
||||
};
|
||||
|
||||
// Make sure this is being done by the owner or a Group Up Manager
|
||||
if (interaction.member.user.id === ownerId || (lfgChannelSetting.managed && interaction.member.roles.includes(lfgChannelSetting.managerRoleId))) {
|
||||
const actionByManager = interaction.member.user.id !== ownerId;
|
||||
// Open Delete Confirmation
|
||||
|
||||
Reference in New Issue
Block a user