Nested UnorderedList

Hi, I have to write a very big unordered list, how can I do it?
I have this code:

Accordion accordion = new Accordion();
        accordion.add("WhatsApp", new UnorderedList(
                new ListItem("/start - Start the bot"),
                new ListItem("!cmd - View the main menu with language selection"),
                new ListItem(new UnorderedList(
                        new ListItem("/it - Select italian language"),
                        new ListItem("/en - Select english language"))
                )
        ));

        accordion.add("Telegram", new UnorderedList(
                new ListItem("/start - Start the bot"),
                new ListItem("!cmd - View the main menu with language selection"),
                new ListItem(new UnorderedList(
                        new ListItem("/it - Select italian language"),
                        new ListItem("/en - Select english language"))
                )
        ));

        accordion.add("Twitch", new UnorderedList(
                new ListItem("/start - Start the bot"),
                new ListItem("!cmd - View the main menu with language selection"),
                new ListItem(new UnorderedList(
                        new ListItem("/it - Select italian language"),
                        new ListItem("/en - Select english language"))
                )
        ));

        accordion.add("Discord", new UnorderedList(
                new ListItem("/start - Start the bot"),
                new ListItem("!cmd - View the main menu with language selection"),
                new ListItem(new UnorderedList(
                        new ListItem("/it - Select italian language"),
                        new ListItem("/en - Select english language"))
                )
        ));
        add(
                accordion,
                IMFooter.createFooter()
        );

but wit this code I have a double dot as in the screenshot, how can I do to avoid the double dots?
image.png

That’s because you have added the nested list as a separate list item, which isn’t semantically correct because it resembles the child of the item above. Add the nested list to the List item containing !cmd