Summary
The way the EventDispatcher works is that all listener callbacks have to be annotated with a subclass of Event. Which means that for each Discord event a subclass has to be created.
Tasks
*This event may- or may not be dispatched.
**It is still unknown how to do this because of the difference between the interaction server and gateway bot.
Summary
The way the EventDispatcher works is that all listener callbacks have to be annotated with a subclass of Event. Which means that for each Discord event a subclass has to be created.
Tasks
CHANNEL_CREATECHANNEL_UPDATECHANNEL_DELETECHANNEL_PINS_UPDATETHREAD_CREATETHREAD_UPDATETHREAD_DELETETHREAD_LIST_SYNCTHREAD_MEMBER_UPDATETHREAD_MEMBERS_UPDATEGUILD_CREATEGUILD_UPDATEGUILD_DELETEGUILD_BAN_ADDGUILD_BAN_REMOVEGUILD_EMOJIS_UPDATEGUILD_STICKERS_UPDATEGUILD_INTEGRATIONS_UPDATEGUILD_MEMBER_ADDGUILD_MEMBER_REMOVEGUILD_MEMBER_UPDATEGUILD_MEMBERS_CHUNK*GUILD_ROLE_CREATEGUILD_ROLE_UPDATEGUILD_ROLE_DELETEINTEGRATION_CREATEINTEGRATION_UPDATEINTEGRATION_DELETEINTERACTION_CREATE**INVITE_CREATEINVITE_DELETEMESSAGE_CREATEMESSAGE_UPDATEMESSAGE_DELETEMESSAGE_DELETE_BULKMESSAGE_REACTION_ADDMESSAGE_REACTION_REMOVEMESSAGE_REACTION_REMOVE_ALLMESSAGE_REACTION_REMOVE_EMOJIPRESENCE_UPDATESTAGE_INSTANCE_CREATESTAGE_INSTANCE_DELETESTAGE_INSTANCE_UPDATETYPING_STARTUSER_UPDATEVOICE_STATE_UPDATEVOICE_SERVER_UPDATEWEBHOOKS_UPDATE*This event may- or may not be dispatched.
**It is still unknown how to do this because of the difference between the interaction server and gateway bot.