Commit Graph

76 Commits

Author SHA1 Message Date
ekzyis adff033c6b Send SN posts as embeds to Discord 2023-04-19 22:48:24 +02:00
ekzyis 82a380de0e Remove unused HN code 2023-04-19 21:14:03 +02:00
ekzyis 180fdece99 Remove HN comments 2023-04-18 22:47:50 +02:00
ekzyis c4d917bada Improve logging 2023-04-17 18:56:15 +02:00
ekzyis 62af7cb4b4 Merge branch '3-orange-pill-hn' into 'develop'
Resolve "Orange-pill HN"

Closes #3

See merge request ekzyis/hnbot!2
2023-04-17 01:02:16 +00:00
ekzyis 9f3b488d05 Notify OP on HN about claimable sats 2023-04-17 02:54:39 +02:00
ekzyis 0e47ca21fd Remove empty line 2023-04-17 00:41:46 +02:00
ekzyis 4f6314ab37 Add function to fetch SN user posts 2023-04-17 00:41:16 +02:00
ekzyis f853cb5050 Add function to comment HN story 2023-04-16 23:37:04 +02:00
ekzyis 7b841abf2f Fix SN API authorization 2023-04-16 22:03:14 +02:00
ekzyis c0e2078039 Add logging 2023-04-16 21:56:01 +02:00
ekzyis 8cc4b42094 Comment SN posts with HN info 2023-04-16 21:05:10 +02:00
ekzyis 56a33da94a Use consistent query indentation 2023-04-16 20:23:35 +02:00
ekzyis 5d2130b6f5 Rename functions 2023-04-16 19:56:42 +02:00
ekzyis 02a9e4e32f Use more vars 2023-04-16 19:51:17 +02:00
ekzyis 2f7214e9a0 Move SnApiToken check into sn.go 2023-04-16 19:49:38 +02:00
ekzyis e69128b822 Refactor common code for SN API 2023-04-16 19:09:33 +02:00
ekzyis 3350246a82 Merge branch '1-check-for-dupes-before-posting' into 'develop'
Resolve "Check for dupes before posting"

Closes #1

See merge request ekzyis/hnbot!1
2023-04-16 16:35:23 +00:00
ekzyis e5f67a8dbe Check for dupes before posting 2023-04-16 18:34:53 +02:00
ekzyis 792eb8f40d Refactor SN API authorization 2023-04-16 18:30:08 +02:00
ekzyis aad977b875 Refactor code using hn.go and sn.go 2023-04-16 17:14:44 +02:00
ekzyis 08b7c9602e Add .vscode to .gitignore 2023-04-16 16:53:26 +02:00
ekzyis 73f3cbb8d9 Ignore go executable 2023-04-07 07:46:51 +00:00
ekzyis 4f41cbb7cd Add LICENSE 2023-04-07 09:01:52 +02:00
ekzyis 88147fe50e First successful SN post
https://stacker.news/items/161801
2023-04-07 08:56:28 +02:00
ekzyis 2153cda4c6 initial commit 2023-04-07 06:45:45 +02:00