Class Ability
Object
Ability
An ability is a fully-fledged bot action that contains all the necessary information to process:
- A response to a command
- A post-response to a command
- A reply to a sequence of actions
In-order to instantiate an ability, you can call builder() to get the Ability.AbilityBuilder.
Once you're done setting your ability, you'll call Ability.AbilityBuilder.build() to get your constructed ability.
The only optional fields in an ability are info, postAction, flags and replies.
- Author:
- Abbas Abou Daya
-
Method Details