If I had multiple classes inside another class, how would I get a list of the names of the child classes?
class commands:
class hello:
desc = "says hello"
class exec:
desc = "executes code"
My wish is to get a list of the commands similar to ["hello", "exec"]
. So far I've only found information about subclasses and recursive classes but nothing about actually finding the names of these.