Kord-Extensions / kord-extensions

Kord extensions framework, providing commands and distinct units of functionality
https://kordex.dev
European Union Public License 1.2
112 stars 27 forks source link

Allow disabling feedback command when using sentry extension #71

Closed kimcore closed 3 years ago

kimcore commented 3 years ago

Summary

Allow disabling feedback command when using sentry extension.

Current Behaviour

Currently, we can't disable the feedback command if the sentry extension is enabled.

Preferred Behaviour

Users should be able to choose whether to create a feedback command or not.

Suggestions

Expose a field in SentryExtensionBuilder, and check for that field in ExtensibleBot.addDefaultExtensions.

boring-cyborg[bot] commented 3 years ago

Hello, and thanks for opening an issue! As this is the first time you've created an issue on this repository, we'd just like to offer you a warm welcome to the project, and the following pointers:

gdude2002 commented 3 years ago

Done - this'll be available as the feedbackExtension Boolean prop in the sentry builder once the snapshot builds.

Note that feedbackExtension will be ignored if the Sentry integration is disabled.