Added support for deleting dm's with the new Twitter API methods

This commit is contained in:
2018-09-29 11:13:11 -05:00
parent ca3f8779b8
commit 40105f37ed
4 changed files with 9 additions and 5 deletions

View File

@@ -557,7 +557,6 @@ class baseBufferController(baseBuffers.buffer):
self.session.twitter.destroy_status(id=self.get_right_tweet()["id"])
self.session.db[self.name].pop(index)
self.buffer.list.remove_item(index)
# if index > 0:
except TwythonError:
self.session.sound.play("error.ogg")