Commit graph

362 commits

Author SHA1 Message Date
Klaus-Uwe Mitterer
a50b0c08b0 Add distinct broadcast and emergency methods 2017-03-23 18:14:22 +01:00
Klaus-Uwe Mitterer
66ae28d589 Add broadcast method 2017-03-23 17:32:06 +01:00
Klaus-Uwe Mitterer
0c8b14c25d Add /togglementions to /help string 2017-03-23 17:23:44 +01:00
Klaus-Uwe Mitterer
f8e490dc04 Add mention streaming 2017-03-23 17:01:05 +01:00
Klaus-Uwe Mitterer
7caf67413c Some fixes. Not working yet, but... 2017-03-23 14:27:38 +01:00
Klaus-Uwe Mitterer
3af38cc3d9 Implement untested stream handler 2017-03-23 14:18:52 +01:00
Klaus-Uwe Mitterer
5fb84de363 Pass to bottools.methods.unknown if not admin in restart() 2017-03-23 13:06:58 +01:00
Klaus-Uwe Mitterer
6e12ba4a44 Add restart method for admin 2017-03-23 13:05:48 +01:00
Klaus-Uwe Mitterer
929138f3c8 Remove pointless imports, fix /start string 2017-03-22 12:18:07 +01:00
Klaus-Uwe Mitterer
c9b6fd7153 Update .gitignore 2017-03-22 01:56:19 +01:00
Klaus-Uwe Mitterer
de2549ae07 Refactoring Telegram bot# 2017-03-22 01:53:51 +01:00
Klaus-Uwe Mitterer
ef958366b9 Move strings to bottools.strings 2017-03-21 22:26:16 +01:00
Klaus-Uwe Mitterer
699ad8b32b Fix media handler and timeline handler 2017-03-21 22:08:21 +01:00
Klaus-Uwe Mitterer
59b4bcd548 Add follow and unfollow methods, fix reply method 2017-03-20 21:40:02 +01:00
Klaus-Uwe Mitterer
003183ed0d Use user_timeline instead of search 2017-03-20 19:05:07 +01:00
Klaus-Uwe Mitterer
7c508ddff5 Handle animated GIFs 2017-03-20 17:56:15 +01:00
Klaus-Uwe Mitterer
77fa014b75 Unescape tweets before sending them to the client, update help string 2017-03-20 15:44:12 +01:00
Klaus-Uwe Mitterer
6f5b4e4f6d Fix tweet ID finder 2017-03-20 14:42:09 +01:00
Klaus-Uwe Mitterer
a6b8cefaa1 Add like, reply and retweet functions, get image conversion working 2017-03-20 14:32:41 +01:00
Klaus-Uwe Mitterer
fb7afcbb9c Add media handling. Apparently webp files already work if you pass a wrong extension... 2017-03-18 21:45:02 +01:00
Klaus-Uwe Mitterer
ab0e32bf27 Refactoring in Telegram bot, transbot fix 2017-03-18 19:23:38 +01:00
Klaus-Uwe Mitterer
fb5212bd2d Rename Telegram bot 2017-03-18 15:16:58 +01:00
Klaus-Uwe Mitterer
04da2892f4 Add variables for goo.gl and the Telegram bot 2017-03-18 15:16:37 +01:00
Klaus-Uwe Mitterer
87261d2ad8 Merge branch 'master' of git.klaus-uwe.me:kumitterer/twitools 2017-03-17 22:37:10 +01:00
Klaus-Uwe Mitterer
549419e831 Add missing import 2017-03-17 22:37:07 +01:00
Klaus-Uwe Mitterer
b057efd47d Merge remote-tracking branch 'bot/master' 2017-03-17 22:30:19 +01:00
Klaus-Uwe Mitterer
7cd51b3a4d Add missing import 2017-03-17 21:34:34 +01:00
Klaus-Uwe Mitterer
496b99c8fa Add tweets.csv to .gitignore 2017-03-15 20:46:26 +01:00
Klaus-Uwe Mitterer
2c26febb2a Handle videos properly, move downloading function to httptools 2017-03-15 20:43:36 +01:00
Klaus-Uwe Mitterer
3b8dc335a9 Handle URLs before translation 2017-03-13 23:36:04 +01:00
Klaus-Uwe Mitterer
94bedf0488 Use GET request for longURL() 2017-03-13 23:31:05 +01:00
Klaus-Uwe Mitterer
bd3e3d8d84 Fix URL shortener, in a way... 2017-03-13 22:55:49 +01:00
Klaus-Uwe Mitterer
93168b57a7 Forgot to actually return the value... 2017-03-13 22:45:10 +01:00
Klaus-Uwe Mitterer
023b6fda64 Add missing import 2017-03-13 20:13:58 +01:00
Klaus-Uwe Mitterer
294f9f08d1 Add URL shortening method in googletools 2017-03-13 19:59:25 +01:00
Klaus-Uwe Mitterer
ee9c3426ff Escape translated string before tweeting 2017-03-10 09:12:57 +01:00
Klaus-Uwe Mitterer
3e541c5224 Return Status object rather than ID in twitools.tweet() 2017-03-09 20:08:38 +01:00
Klaus-Uwe Mitterer
b6e6a3f803 Add post-handler for sent Markov tweets 2017-03-09 00:48:09 +01:00
Klaus-Uwe Mitterer
8dacc0a73e Handling time offset in filter as required 2017-03-08 21:06:38 +01:00
Klaus-Uwe Mitterer
ed4615c890 Create file for Markov bot filters# 2017-03-08 02:43:00 +01:00
Klaus-Uwe Mitterer
eccd79c373 Add oAuth headers to downloadMedia requests in order to download DM attachments 2017-03-07 23:19:11 +01:00
Klaus-Uwe Mitterer
fcbef05348 Remove dbtools.fillerfilter 2017-03-07 14:26:18 +01:00
Klaus-Uwe Mitterer
bb1716531a Move fillerfilter to filters.filler 2017-03-07 14:17:21 +01:00
Klaus-Uwe Mitterer
3d55c95bf5 No default output for filler 2017-03-07 13:49:19 +01:00
Klaus-Uwe Mitterer
708521d4b5 Add .config directory to .gitignore 2017-03-01 20:55:39 +01:00
Klaus-Uwe Mitterer
9d389494f9 Switch to Google Cloud Translate API, improve string handling, remove URLs 2017-02-28 13:53:06 +01:00
Klaus-Uwe Mitterer
9cea3612ea Remove original language field 2017-02-28 13:24:50 +01:00
Klaus-Uwe Mitterer
80e615b89a Pass original language to Translator, kill mentions 2017-02-28 12:42:11 +01:00
Klaus-Uwe Mitterer
87e1e466f0 Add field for original language 2017-02-28 12:36:13 +01:00
Klaus-Uwe Mitterer
bf6907058a Fix tstring assignment 2017-02-28 12:28:35 +01:00