hackclub / HCCore

🔌 Main plugin for the Hack Club Minecraft server
https://mc.hackclub.com
MIT License
26 stars 20 forks source link

Handle slackbot responses for the slack bridge #173

Closed polypixeldev closed 1 year ago

polypixeldev commented 1 year ago

Whenever there is a slackbot response in the bridge channel, a warning is raised like this:

[com.slack.api.bolt.App]: No BoltEventHandler registered for event: message:slackbot_response
---
[Suggestion] You can handle this type of event with the following listener function:
app.event(MessageSlackbotResponseEvent.class, (payload, ctx) -> {
return ctx.ack();
});
polypixeldev commented 1 year ago

Slackbot responses aren't documented and seem to not be in the java slack SDK.