Add abstract handle method in UpdateEvent
This commit is contained in:
parent
f03490cb6c
commit
87f9321280
1 changed files with 6 additions and 0 deletions
|
@ -30,5 +30,11 @@
|
|||
return EventType::UPDATE_EVENT;
|
||||
}
|
||||
|
||||
/**
|
||||
* Abstract method to handle the bot instance.
|
||||
*
|
||||
* @param Bot $bot The bot instance to be handled.
|
||||
* @return void
|
||||
*/
|
||||
public abstract function handle(Bot $bot): void;
|
||||
}
|
Loading…
Add table
Reference in a new issue