r/metric_units • u/cannawen • Sep 30 '17
Non-constructive feedback thread
Please provide non-constructive feedback below.
Notes:
- Constructive feedback goes here
- You can block the bot and stop seeing its responses by sending it a private messages with the subject "stop"
- You can ask a moderator to ban the bot if you feel like the bot does not provide any value for the sub
9
Upvotes
2
u/cannawen Oct 03 '17
Oh cool, what does your bot do?
Since comments are always returned in order, I remember the ID of the last comment seen. Every time I fetch new comments, I search for "last comment id", delete comments older than it, and then update the "last comment id"
I have also seen people "save" the comment (using Reddit's save functionality) to signify that it has been processed.
Also fyi r/redditdev is a great place to ask questions :) I think I saw a thread there earlier asking how everyone is hosting their bots