Event extensions are executed when a specific event is emitted from Discord. This allows extensions to react to things happening in your server in real-time.
For example, imagine an important channel is deleted; an extension configured to run on the channelDelete event could grab the channel data, check if the name matches a prior configured channel name, and then restore the channel.
Command extensions function just like normal commands, and you have to use them with your configured GAB Prefix.
Command extensions are useful to add additional functionality to GAB, for example in the form of fetching data from API's, or performing moderation actions within the Discord guild.
If you ever need EmpireBot to respond to certain messages, or make custom advanced filters, keyword extensions are your friend.
Keyword extensions are executed when a message sent by a user contains one of a pre-configured set of keywords.
Timer extensions are run on a configured interval, which makes them extremely useful for various purposes.
These extensions can, for example, poll an API on the configured interval and send the result to Discord, this allows you to connect any web application that responds to REST requests to GAB
If you plan to use this type of extension to respond to things happening in Discord, we recommend using event extensions instead.