Commit Graph

171 Commits

Author SHA1 Message Date
yago
fe05645a39 Common functions moved to utils.lua. Indentation ... 2014-12-14 20:52:48 +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
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
e2403a6e37 get, set, and stats persistence 2014-11-23 00:31:22 +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
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
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
cbc55b0e09 renamed variable to google_api_key 2014-11-22 14:38:21 +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
729d03c7b6 Fixed some bugs 2014-11-17 21:55:25 +01:00
yago
f0058d81ce Merge branch 'master' of github.com:yagop/telegram-bot 2014-11-17 20:47:16 +01:00
yago
dde09a6017 Clean. Get and Set 2014-11-17 20:47:03 +01:00
Yago
7972b4b126 Update config.json 2014-11-14 13:40:32 +01:00
yago
bf82594034 Sends tweets 2014-11-05 20:51:20 +01:00
David Muñoz
ef12c413a7 Adding twitter plugin 2014-11-05 13:22:07 +01:00
David Muñoz
c6b99bec64 Loading plugins after configuration 2014-11-05 13:21:56 +01:00
yago
50d88007a0 Acciones HTTP llevadas a plugins 2014-11-04 22:39:14 +01:00
yago
7d8abde1d1 multiple patterns 2014-11-04 22:06:59 +01:00
yago
6b921e0f41 Merge branch 'master' of https://github.com/voiser/telegram-bot into voiser-master
Conflicts:
	bot/bot.lua
2014-11-04 20:58:19 +01:00
David Muñoz
f8161ca1cf Splitting commands in plugins 2014-11-04 16:09:08 +01:00
yago
89e344b0c8 help info 2014-11-03 23:44:21 +01:00
yago
1adac22f7f some !help info and gitignore 2014-11-03 23:41:44 +01:00
yago
286e0afc18 bug set 2014-11-03 22:41:04 +01:00
yago
c6ab143a7e save values with spaces 2014-11-03 22:36:15 +01:00
yago
bc6df5d683 lista de vars 2014-11-03 14:25:51 +01:00
yago
de2a69206f indentado 2014-11-03 11:54:03 +01:00
yago
8f5777ea18 get and set 2014-11-03 11:32:51 +01:00
yago
5f65d0bfdb get and set 2014-11-03 11:32:26 +01:00
yago
fcdb2a3542 \!eur [number] USD to EUR 2014-10-12 12:32:13 +02:00
yago
a285e45b07 renamed yt functions 2014-10-11 16:38:02 +02:00
yago
6201dd66dc fixed YT thumbnail 2014-10-11 16:27:37 +02:00
yago
0d8de480db Merge branch 'master' of github.com:yagop/telegram-bot 2014-10-11 15:35:28 +02:00
yago
730a138ea4 Dulcinea credits 2014-10-11 15:35:23 +02:00
Yago
c3109b2a50 Merge pull request #1 from javierhonduco/master
👍
2014-10-11 15:32:23 +02:00
Javier
89c25cc426 Added yt thumbnails 2014-10-11 13:54:43 +02:00
Yago
24d48fc7cb jpeg for image url 2014-10-11 12:43:12 +02:00
yago
33364b803e updated version and readme 2014-10-10 15:25:01 +02:00
yago
7e81d2af73 Merge branch 'master' of github.com:yagop/telegram-bot 2014-10-09 15:09:15 +02:00
yago
a19c444db9 EURUSD 💸 2014-10-09 15:09:06 +02:00
yago
5d984b1dc1 Loop for meanings and responses 2014-10-04 17:36:33 +02:00
yago
86c8096631 @javierhonduco Dulcinea 2014-10-04 17:02:29 +02:00
yago
36c0e56fc9 updated command img info 2014-09-25 23:39:35 +02:00
yago
958706ba9d Downloads with socket.http 2014-09-25 23:28:04 +02:00
yago
d65b722ca2 img command 2014-09-25 15:24:52 +02:00
yago
8fd79a94e3 Gif as file 2014-09-24 15:31:25 +02:00
yago
5e2a329f01 gif support 💗 2014-09-24 11:12:41 +02:00
yago
b326a48e1d Added cb_function and cb_extra args. Updated tg 2014-09-14 00:07:02 +02:00
yago
decc323be7 default config 2014-09-04 00:37:35 +02:00
yago
d18e0ae6c7 Check for users image url (jpg and png) 2014-08-27 15:50:35 +02:00
yago
6fa1952dd0 Usando la super api de yago de 9gag 2014-08-06 01:15:54 +02:00
yago
0264ac2935 random en 9gag 2014-08-05 14:20:53 +02:00
yago
0a6f071154 envio de imagenes en 9gag 2014-08-05 14:07:25 +02:00
yagop
7806289d92 log 2014-07-08 21:05:01 +02:00
yagop
3737158548 log 2014-07-08 21:00:52 +02:00
yagop
a5f56d4ee6 log 2014-07-08 20:55:17 +02:00
yagop
e6848e3251 night commit 2014-07-07 10:30:27 +02:00
yagop
2dce79e1c6 config and torrents :rage2: 2014-07-04 13:41:44 +02:00
yagop
66a41c7936 comiteando desde telegram 2014-07-03 21:18:07 +02:00
yagop
f3184c2018 ☀️ 2014-07-02 14:30:18 +02:00
yagop
07460ac1f0 launch 2014-07-01 22:06:40 +02:00
yagop
8d30ad796a creada la estructura 2014-06-30 12:42:28 +02:00