smacademic / project-bdf

project-bdf created by GitHub Classroom
2 stars 0 forks source link

Bot does not post results of transcription to Reddit #22

Closed afig closed 5 years ago

afig commented 5 years ago

Describe the bug Currently, the bot performs a transcription of the correct images, but only outputs the transcription to the console. The results should instead be published as a reply to the comment that contained the keyword.

To Reproduce Run the current bot, results are output to console but no Reddit comments are posted.

Expected behavior The bot will reply to the correct comment with a transcription of the images in the parent comment.

Screenshots/Logs N/A

Project information Start of M3 dev: 1d7b76373c1bb5ed9d414a4e821d243d41def1d0

Additional context Need to be careful with implementation and running of the bot once this is implemented - as posting too many times could result in the bot being flagged by Reddit as spam.

If would be a good idea to implement a simple boolean flag to completely disable posting (and instead route would-be comments to the console or a separate file).

Involves converting a string containing newline characters (\n') into Markdown.