Available Decorators

Decorators are a very helpful tool in Python. They make functions easily reusable anywhere. PyStark has some decorators to do the same.


These are the decorators of class Stark to handle messages and queries:

  • Stark.command - Handle a certain type of messages like command messages. Read More Here

  • Stark.callback - Handle callback queries (button clicks). Read More Here