At present, we only support handing app.mention by responding with a TigerAgent. The EventHarness should provide a means of handling different types of events, such as DMs. The EventHarness takes a TigerAgent, but it might be nice to support that usage as well as something like:
harness = EventHarness(
eon,
app_mention=eon.respond
message=persist_the_message_and_do_something_cool
)
Note: would have to make sure the Slack App manifest contained the desired events. Also, might be nice to have automatically listen with a no-op handler on events that do not have an explicit callback as unhandled events in a bot will throw constant warnings.
See thread: https://iobeam.slack.com/archives/C09AF06P37B/p1758812450183099?thread_ts=1758811756.337849&cid=C09AF06P37B
At present, we only support handing
app.mentionby responding with aTigerAgent. TheEventHarnessshould provide a means of handling different types of events, such as DMs. TheEventHarnesstakes aTigerAgent, but it might be nice to support that usage as well as something like:Note: would have to make sure the Slack App manifest contained the desired events. Also, might be nice to have automatically listen with a no-op handler on events that do not have an explicit callback as unhandled events in a bot will throw constant warnings.
See thread: https://iobeam.slack.com/archives/C09AF06P37B/p1758812450183099?thread_ts=1758811756.337849&cid=C09AF06P37B