async def delete_cache(bot, member):
    """
    Delete a member's cache.
    """
    try:
        if not bot.message_cache[member.id]:
            return False

        bot.message_cache.pop(member.id)

    except (TypeError, KeyError):
        return False