IMessageSourceFactory
A factory of IMessageSource, this must be extended by an interface annotated with @MessageSourceFactory.
An exception will be thrown if any additional abstract (i.e. without a default) method is found.
No implementation required for interfaces extending this, they will be generated at runtime.
Parameters
T
Type of the generated message sources
Properties
Functions
Link copied to clipboard
Creates a new message source using the provided guild locale, and no user locale.
Creates a new message source using the provided message event.
Creates a new message source using the provided interaction.
Creates a new message source using the provided guild and user locale.