Commit Graph

756 Commits

Author SHA1 Message Date
yago
5bbf754d73 Stats are private by Chat 2014-12-14 21:28:32 +01:00
yago
fe05645a39 Common functions moved to utils.lua. Indentation ... 2014-12-14 20:52:48 +01:00
Yago
495bad27ee Merge pull request #19 from mrvdb/nontext
Allow non-text input to plugins
2014-12-14 20:24:25 +01:00
Marcel van der Boom
7173c9831d Merge remote-tracking branch 'upstream/master' into nontext
* upstream/master:
  When text exceds 4096 chars, sends in multiple msgs
  resolves #18
  Update README.md
2014-12-14 16:45:11 +01:00
Marcel van der Boom
542dcd0483 Allow non-text changes to plugins
Implemented by:

- disabling the check for msg.text == nil
- setting the match text to [msg.media.type]
2014-12-14 16:42:49 +01:00
yago
fb138cabf3 When text exceds 4096 chars, sends in multiple msgs 2014-12-11 22:12:27 +01:00
Yago
792ad233c2 resolves #18 2014-12-10 12:25:18 +01:00
Yago
c25820c805 Update README.md 2014-12-10 12:19:50 +01:00
Yago
41f01a031d Merge pull request #12 from voiser/master
Added gps and location plugins
2014-12-01 18:21:52 +01:00
David Muñoz
e5b17fc2bd Added gps and location plugins 2014-12-01 17:12:22 +01:00
Yago
fd4c0ae9f9 Merge pull request #10 from mrvdb/btc
Bitcoin exchange rate plugin
2014-11-28 23:58:52 +01:00
Marcel van der Boom
d2974d295f Add USD support 2014-11-28 22:59:52 +01:00
Yago
1fdb35893e Merge pull request #9 from javierhonduco/patch-1
style fixes
2014-11-28 22:27:40 +01:00
Marcel van der Boom
5cda6ad9e6 Initial implemenation of btc command 2014-11-28 22:25:38 +01:00
Javier Honduvilla Coto
c042a90378 style fixes 2014-11-28 14:50:41 +01:00
yago
0a14948ebd Check allowed user to send tweets 2014-11-27 21:44:29 +01:00
yago
1c96903cc0 save user last name 2014-11-23 14:34:46 +01:00
yago
48b17bd5d0 values.json and users.json are created if not exists 2014-11-23 12:25:33 +01:00
yago
019fdd06ba Updated README 📘 2014-11-23 11:55:02 +01:00
yago
cfc2241f6a Merge branch 'master' of github.com:yagop/telegram-bot 2014-11-23 00:32:03 +01:00
yago
e2403a6e37 get, set, and stats persistence 2014-11-23 00:31:22 +01:00
Yago
e24e18f879 Update README.md 2014-11-22 23:22:39 +01:00
Yago
f137fad154 Update README.md 2014-11-22 23:22:12 +01:00
yago
5657663c63 bug nebrija rae 2014-11-22 21:23:48 +01:00
yago
a1f5c7c9fa !stats command 2014-11-22 20:17:33 +01:00
yago
e19a0b7e6b Name not nil and unnecesary code 2014-11-22 19:59:55 +01:00
yago
a05d08b88b Merge branch 'master' of github.com:yagop/telegram-bot 2014-11-22 19:56:43 +01:00
yago
4d33d31328 Save number of msgs 2014-11-22 19:56:38 +01:00
Yago
fce0bd550d Merge pull request #8 from mrvdb/removetmp
Remove temporary file after configurable delay
2014-11-22 19:25:55 +01:00
Marcel van der Boom
aa4a09f13c Correct condition 2014-11-22 18:05:13 +01:00
Marcel van der Boom
221b368014 Remove temporary file with configurable delay 2014-11-22 18:01:14 +01:00
yago
33353bf644 Updated version 2014-11-22 16:02:43 +01:00
yago
e7038964d1 Google time location 2014-11-22 15:59:49 +01:00
yago
1e4d9290eb Merge branch 'asdofindia-9gag-message-order' 2014-11-22 15:15:28 +01:00
yago
8445523401 Merge branch '9gag-message-order' of github.com:asdofindia/telegram-bot into asdofindia-9gag-message-order 2014-11-22 15:10:43 +01:00
yago
e11b393643 Some code clean up 2014-11-22 15:05:54 +01:00
yago
8698082b3a config.json 2014-11-22 14:46:37 +01:00
yago
517281a5ac hello space 2014-11-22 14:44:00 +01:00
yago
80af530754 hello space 2014-11-22 14:42:26 +01:00
yago
cbc55b0e09 renamed variable to google_api_key 2014-11-22 14:38:21 +01:00
Akshay S Dinesh
06d9e50e3e fixup of debug 2014-11-22 18:55:53 +05:30
Akshay S Dinesh
a2f88c1370 Improved ordering of 9gag messages. Useful when upload speed is low 2014-11-22 18:51:16 +05:30
Yago
930f1b7e61 Update README.md 2014-11-22 13:30:46 +01:00
yago
a5bcd9f05c Merge branch 'mrvdb-localtime' 2014-11-22 12:21:36 +01:00
yago
ecba15f501 Merge branch 'localtime' of github.com:mrvdb/telegram-bot into mrvdb-localtime 2014-11-22 12:21:09 +01:00
Marcel van der Boom
edec3178d5 Simplify and use api_key from a config setting. 2014-11-22 11:59:34 +01:00
Marcel van der Boom
e19c3adac4 Inital version of !time command
Syntax: !time [area]

Uses the google geocoding api to turn an area specification into a
lat/long coordinate pair, which is then used to get a timezone record to
determine the local time.

Usecase: when working in international groups it's convenient to know if
your co-worker is likely to be awake or asleep.
2014-11-22 10:29:05 +01:00
yago
ed172f2013 Merge branch 'master' of github.com:yagop/telegram-bot 2014-11-20 23:30:57 +01:00
yago
2e63040f99 Some cool media files 2014-11-20 23:30:41 +01:00
Yago
69ffa52478 Update README.md 2014-11-19 20:14:30 +01:00