skill_api_methoddecorator. This will handle all the basics of making the method available to other Skills over the Message Bus.
SkillApi. This will give you a small class with the target Skill's exported methods. These methods are nothing special and can be called like any other class's methods.
robber_lang()method we created above, we could write:
NewRobberSkillis initialized, it will assign the API from the Skill
self.robber. We then run the exported method
robber_lang()passing the argument
NewRobberSkillwill therefore speak something like "hoh e lol lol o wow o ror lol dod".
:apicommand for exploring Skill APIs.
robber-lang.forslundSkill. Each exported method's docstring will automatically be extracted and presented, providing information on how each method is intended to be used.