mispy-archive / twitter_ebooks

Better twitterbots for all your friends~
MIT License
972 stars 140 forks source link

Problem when trying to tweet with mentions enabled #132

Closed Permanently closed 7 years ago

Permanently commented 7 years ago

I've set up a .sh file to tweet every 15 minutes. However, whenever the command is issued, this is what it returns. pi@homepi1:~/mint $ ebooks tweet model/mint.model MintsEbooks Building: sentence 0 of 2384 /var/lib/gems/2.1.0/gems/twitter_ebooks-3.1.6/bin/ebooks:247:in ``tweet': undefined method ``configure' for nil:NilClass (NoMethodError) from /var/lib/gems/2.1.0/gems/twitter_ebooks-3.1.6/bin/ebooks:412:in ``command' from /var/lib/gems/2.1.0/gems/twitter_ebooks-3.1.6/bin/ebooks:429:in ``<top (required)>' from /usr/local/bin/ebooks:23:in ``load' from /usr/local/bin/ebooks:23:in ``<main>'

I tried going to the code and putting a hashtag behind bot.configure so that it would cancel out, but then the same thing happened with the next line.

pi@homepi1:~/mint $ ebooks tweet model/mint.model MintsEbooks Building: sentence 0 of 2384 /var/lib/gems/2.1.0/gems/twitter_ebooks-3.1.6/bin/ebooks:248:in ``tweet': undefined method ``tweet' for nil:NilClass (NoMethodError) from /var/lib/gems/2.1.0/gems/twitter_ebooks-3.1.6/bin/ebooks:412:in ``command' from /var/lib/gems/2.1.0/gems/twitter_ebooks-3.1.6/bin/ebooks:429:in ``<top (required)>' from /usr/local/bin/ebooks:23:in ``load' from /usr/local/bin/ebooks:23:in ``<main>'

Have I done something wrong? o_o

Permanently commented 7 years ago

Okay, I've tried it with others and it's this particular bot that won't work. Not sure why, still.

Permanently commented 7 years ago

Never mind, I got something wrong with the command. I'm stupid >.<