Handle commands without automatic reaction responses

Introduce `ErrCommandNoReactions` to allow commands to opt out of success reactions. Adjust bot behavior to respect this error and prevent reactions when applicable, ensuring cleaner and more controlled responses. Add error handling and safeguard workers against panics.
This commit is contained in:
Steve Dudenhoeffer 2025-01-22 21:06:07 -05:00
parent 81ea656332
commit 964a98a5a8

View File

@ -36,6 +36,7 @@ func deferClose(c io.Closer) {
}
func (c Config) GetItemPrice(ctx context.Context, b extractor.Browser, u *url.URL) (Item, error) {
if b == nil {
return Item{}, ErrNilBrowser
}