called wrong user method
This commit is contained in:
parent
c36b8ab673
commit
56e948b798
|
@ -13,8 +13,9 @@ logger = logging.getLogger(__name__)
|
|||
|
||||
|
||||
class TwitterDMListener(Bot):
|
||||
|
||||
def get_api(self, user):
|
||||
keys = user.get_api_keys()
|
||||
keys = user.get_twitter_credentials()
|
||||
auth = tweepy.OAuthHandler(consumer_key=keys[0],
|
||||
consumer_secret=keys[1])
|
||||
auth.set_access_token(keys[2], # access_token_key
|
||||
|
|
Loading…
Reference in a new issue