prestonpeterson / CI_RAE

Bot that scrapes user comments and profiles on Reddit.com and performs various analyses on the resulting data.
1 stars 0 forks source link

Make users require to put /u/ or /r/ in front of target to d #14

Open gitgiant opened 8 years ago

gitgiant commented 8 years ago

If we were to make modules that do analytics on subreddits, we will need to distinguish the target. Recall the format for the bot:

ci_rae

Should we require the user to put /u/ in front of target to distinguish a user, or /r/ to distinguish a subreddit?

I don't think we will have the same anayltics modules that can work on both users or subreddits, so based on the command called we can also distinguish between a user and a subreddit. Should we just implement it that way? Let me know.

prestonpeterson commented 8 years ago

I think it may be better to not require it, and have the code figure it out based on command. Because if they type in /u/username Reddit will send a mention to that user. And the commenter may not want that user to know they are spying on them...

gitgiant commented 8 years ago

Ok sounds good, so we will implement modules that work exclusively on users or on subreddits. Then based on the type of command called we will fetch the appropriate data.