marcosschroh / pyinstamation

Easy to use, config oriented, instagram bot, written in python 3
GNU General Public License v3.0
11 stars 2 forks source link

Comment tests added #2

Closed woile closed 7 years ago

woile commented 7 years ago

@marcosschroh the comments are working ok now. What's missing is the comment in the bot.

To use the comment generator:

from pyinstamation import comments
comments.comment()  # returns a random comment

Can you add in bot.py the comment, it'd be something like:

if self.comment_generator:
    comment = comments.comment() 
else:
    comment = random.choice(self.custom_comments)
self.scrapper.comment(post_url, comment)
marcosschroh commented 7 years ago

Ok, I will include this new feature in the bot.

Awesome.