def connect(self): self.client = Twitter( auth=OAuth(self.token, self.token_key, self.con_secret, self.con_secret_key)) #Set the appropriate settings for each alert