Message 1 of 1
UserInterface.commandCreated() vs. Command.commandCreated()
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm trying to discern the difference between UserInterface.commandCreated Event and CommandDefinition.commandCreated Event. These reference two distinct Event classes, ApplicationCommandEvent and CommandCreatedEvent, respectively. Some of the API examples, like SpurGear, use the latter to setup all the inputs and other Events associated with the Command. I haven't yet seen any examples of the former in the API. Could someone explain the use case differences between the two?