diff --git a/src/utils/ContextMenus.ts b/src/utils/ContextMenus.ts index 6617dab..1e4f5a9 100644 --- a/src/utils/ContextMenus.ts +++ b/src/utils/ContextMenus.ts @@ -87,36 +87,36 @@ export default { const items: IContextMenuItem[] = []; - if (permissions.has("KICK_MEMBERS")) { - items.push({ - label: `Kick ${them.user!.username}`, - onClick: () => { - // openModal(KickModal, { - // member: them, - // }); - }, - color: "red", - hover: { - backgroundColor: "red", - color: "white", - }, - }); - } + // if (permissions.has("KICK_MEMBERS")) { + // items.push({ + // label: `Kick ${them.user!.username}`, + // onClick: () => { + // // openModal(KickModal, { + // // member: them, + // // }); + // }, + // color: "red", + // hover: { + // backgroundColor: "red", + // color: "white", + // }, + // }); + // } - if (permissions.has("BAN_MEMBERS")) { - items.push({ - label: `Ban ${them.user!.username}`, - onClick: () => { - // member.kick() - console.log("ban member"); - }, - color: "red", - hover: { - backgroundColor: "red", - color: "white", - }, - }); - } + // if (permissions.has("BAN_MEMBERS")) { + // items.push({ + // label: `Ban ${them.user!.username}`, + // onClick: () => { + // // member.kick() + // console.log("ban member"); + // }, + // color: "red", + // hover: { + // backgroundColor: "red", + // color: "white", + // }, + // }); + // } return items; },