Skip to content

[#64] Add possibility to run tzbot as a server#73

Open
YuriRomanowski wants to merge 1 commit intomainfrom
YuriRomanowski/#64-enable-events-http-api
Open

[#64] Add possibility to run tzbot as a server#73
YuriRomanowski wants to merge 1 commit intomainfrom
YuriRomanowski/#64-enable-events-http-api

Conversation

@YuriRomanowski
Copy link
Contributor

@YuriRomanowski YuriRomanowski commented Feb 14, 2023

Description

Problem: only server-like Slack apps can be published in the Slack App Directory.

Solution: Allow to choose how to run the bot as a server, using common already implemented handler functions.

Related issue(s)

Fixed #64

✅ Checklist for your Pull Request

Related changes (conditional)

  • Tests

    • If I added new functionality, I added tests covering it.
    • If I fixed a bug, I added a regression test to prevent the bug from
      silently reappearing again.
  • Documentation

    • I checked whether I should update the docs and did so if necessary:

Stylistic guide (mandatory)

@YuriRomanowski YuriRomanowski changed the title [#64] Add possibility to run tzbot as server [#64] Add possibility to run tzbot as a server Feb 14, 2023
@YuriRomanowski YuriRomanowski force-pushed the YuriRomanowski/#64-enable-events-http-api branch 2 times, most recently from fbb2c4d to bbcf0b3 Compare February 18, 2023 14:55
Problem: only server-like Slack apps can be published in the Slack App
Directory.

Solution: Allow to choose how to run the server, using common handler
functions.
@YuriRomanowski YuriRomanowski force-pushed the YuriRomanowski/#64-enable-events-http-api branch from bbcf0b3 to 7c3ff2b Compare February 18, 2023 16:12
chunk <- liftIO (Wai.getRequestBodyChunk req)
if null chunk
then pure $ chunk : acc
else loop $ chunk : acc
Copy link
Contributor Author

@YuriRomanowski YuriRomanowski Feb 18, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing reverse

@YuriRomanowski
Copy link
Contributor Author

There are still a lot things to do before being able to publish our bot, but let this be just one of these steps :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add possibility to run bot as a server

1 participant