async def slash_take(self, ctx: SlashContext, member: discord.Member, role: discord.Role): """take slash handler""" ctx.prefix = "/" if ctx.author.permissions_in(ctx.channel).manage_roles: await self.take(ctx, member, role=role) else: raise PermissionError("You do not have manage roles!")
async def slash_givemeremove(self, ctx: SlashContext, roles): """giveme remove slash handler""" ctx.prefix = "/" await self.remove(ctx, roles=roles)