4 ms·
I agree with all your points. I made this bot quite quickly when the channel was first made hoping it would keep things more tightly connected with HN, so I did
by bramgg 12y ago
I agree with all your points. I made this bot quite quickly when the channel was first made hoping it would keep things more tightly connected with HN, so I didn't have time to think about everything. When I get home I'll try to make those changes, or if anyone has some time it IS on GitHub.
EDIT: I've tried to fix/upgrade everything. Now all commands are strictly PM based, except !show which works with both (obviously). Linking accounts should no longer be an issue, the bot is using Algolia and takes into account it's delay. The bot now only PM's people the first time they ever join #hackernews (and only if they're on a registered account) just to let them know about it once. If we end up getting moderators (dang plz[0]) this would also be a good place to put a message about what sort of behavior is expected in the channel and what's considered off-topic/etc.
[0] https://news.ycombinator.com/item?id=8254639 https://news.ycombinator.com/item?id=8254639
- ThatGeoGuy 12y agoI'm not entirely sure how you've set up managing sockets / clients, but have you ever heard of pydle [0]? At the very least, it may make hacking on this bot a little easier as it abstracts away from pure sockets. [0] https://github.com/Shizmob/pydle https://github.com/Shizmob/pydle EDIT: fixed reference to [0]
- nerdy 12y agoWish I could help but I have no Python experience (or reasonable way of testing), do appreciate it being open-source though; always fun to take a peek.