async def METHOD_NAME(self, ctx):
    """Convert Mee6 role rewards.
    This command must be run in a channel in the guild to be converted."""
    async with self.session.get(
        f"https://mee6.xyz/api/plugins/levels/leaderboard/{ctx.guild.id}"
    ) as r:
        if r.status == 200:
            data = await r.json()
        else:
            return await ctx.send("No data was found within the Mee6 API.")
    server = ctx.guild
    remove_role = None
    async for role in AsyncIter(data["role_rewards"]):
        role_id = int(role["role"]["id"])
        level = role["rank"]
        role_name = role["role"]["name"]
        role_obj = ctx.guild.get_role(role_id)
        if role_obj is None:
            await ctx.send("Please make sure the `{}` roles exist!".format(role_name))
        else:
            server_roles = await self.db.roles.find_one({"server_id": str(server.id)})
            if not server_roles:
                new_server = {
                    "server_id": str(server.id),
                    "roles": {role_name: {"level": str(level), "remove_role": remove_role}},
                }
                await self.db.roles.insert_one(new_server)
            else:
                if role_name not in server_roles["roles"]:
                    server_roles["roles"][role_name] = {}
                server_roles["roles"][role_name]["level"] = str(level)
                server_roles["roles"][role_name]["remove_role"] = remove_role
                await self.db.roles.update_one(
                    {"server_id": str(server.id)}, {"$set": {"roles": server_roles["roles"]}}
                )
            await ctx.send(
                "The `{}` role has been linked to level `{}`".format(role_name, level)
            )