diff --git a/src/commands/mod/restriction/unrestrict.ts b/src/commands/mod/restriction/unrestrict.ts index 42c3d86..eef445f 100644 --- a/src/commands/mod/restriction/unrestrict.ts +++ b/src/commands/mod/restriction/unrestrict.ts @@ -173,6 +173,9 @@ export class UnRestrictCommand extends Command { if (await checkActive(userId)) { const roles = await fetchRoles(userId); + if (roles.includes(IDs.roles.vegan.vegan)) { + roles.push(IDs.roles.vegan.nvAccess); + } await member.roles.add(roles); // Unrestricts the user on the database await unRestrict(userId, modId);