cogs checks discord.py code example
Example: get cogs discord.py
ListOfCogs = client.cogs # this is a dictionary!
print(len(ListOfCogs))
for NameOfCog,TheClassOfCog in ListOfCogs.items(): # we can loop trough it!
print(NameOfCog)
ListOfCogs = client.cogs # this is a dictionary!
print(len(ListOfCogs))
for NameOfCog,TheClassOfCog in ListOfCogs.items(): # we can loop trough it!
print(NameOfCog)