ListOfCogs = client.cogs # this is a dictionary! print(len(ListOfCogs)) for NameOfCog,TheClassOfCog in ListOfCogs.items(): # we can loop trough it! print(NameOfCog)