diff --git a/src/actions/roleMenu.ts b/src/actions/roleMenu.ts
index 5eb1d7e..3445ea2 100644
--- a/src/actions/roleMenu.ts
+++ b/src/actions/roleMenu.ts
@@ -185,8 +185,12 @@
     const selectedRoles: string[][] = [];
     const maxPage = options.length;
     const completedPages: boolean[] = options.map((option) => option.min === 0);
-    for (let i = 0; i < maxPage; i++) {
-        selectedRoles.push([]);
+    let memberRoleIDs = interaction.member.roles;
+    if(memberRoleIDs instanceof GuildMemberRoleManager) {
+        memberRoleIDs = memberRoleIDs.cache.map((r) => r.id);
+    }
+    for (const page of options) {
+        selectedRoles.push(page.options.filter((option) => (memberRoleIDs as string[]).includes(option.role)).map((option) => option.role))
     }
 
     let page = 0;
