Skip to content
Dániel Gellért edited this page Jan 6, 2024 · 7 revisions

There are different type of events to be able to listen and respond to user actions. Events can triggered due to an error, or just to a valid command usage. Some event belong to command, some other to arguments.

Every event is a CommandEvent that contains the default information about the case:

  • the command itself,
  • the sender who has sent the command and
  • the responder to be able to respond to the event

Events

Every event has its own listener that gets triggered with an instance of the event that contains the information of the current case.