Commit Graph

411 Commits

Author SHA1 Message Date
yago
7224cec834 Fixed some tabulation 2015-03-04 23:51:36 +01:00
yago
565ac4db40 v0.9.4 2015-03-04 23:45:11 +01:00
yago
52c961bdb7 Merge branch 'master' of github.com:yagop/telegram-bot 2015-03-04 23:38:10 +01:00
Yago
230fbc0177 Fix DOT extension. 2015-03-04 23:22:00 +01:00
Yago
adf8120c70 Fix DOT extension. 2015-03-04 23:14:39 +01:00
Yago
bdf18bfc09 LICENSE name and year 2015-03-02 20:12:41 +01:00
yago
9eb136b734 string.trim(s) is deprecated. Removed some spaces tabulations 2015-02-28 14:53:39 +01:00
yago
dab0c97bb6 Controll HTTP errors downloading images 2015-02-28 14:22:53 +01:00
yago
6a8be34956 HTTPS support for download_to_file 🔒 and string:starts(text) function 2015-02-28 14:09:25 +01:00
yago
13a787e577 giphy sends original if downsized doesn't exists 2015-02-28 12:30:58 +01:00
Yago
2e6c0f823d get_http_file_name if not content_type 2015-02-27 22:20:05 +01:00
Yago
73f3a21904 Update utils.lua 2015-02-27 21:36:50 +01:00
Yago
5c38c4842f Update giphy.lua 2015-02-27 21:31:14 +01:00
Yago
84b7062aed Update giphy.lua 2015-02-27 21:23:23 +01:00
Priit Heinsaar
8fc40063b6 Added functionality to disable bot responding in disable channels 2015-02-27 15:40:48 +02:00
Priit Heinsaar
114c47382f Added functionality to disable bot responding in disable channels 2015-02-27 15:08:05 +02:00
Priit Heinsaar
edd8a50629 Added functionality to disable bot responding in disable channels 2015-02-27 15:06:12 +02:00
Yago
edfbe6eec4 Merge pull request #74 from PioneerAxon/master
Add new plugin for voting system.
2015-02-25 22:41:53 +01:00
PioneerAxon
f55e85efcd Add new plugin for voting system.
Allows voting session in group conversations.
2015-02-26 01:33:25 +05:30
Yago
4fd8e7f983 Merge pull request #73 from bb010g/patch-1
Fix for Tweets without extended_entities
2015-02-23 08:35:17 +01:00
Brayden
c434dbedfc Fix for Tweets without extended_entities
I had put https://twitter.com/FRCTeams/status/568890597009960961 into a chat, but there was no response save for:

```
 *** lua: plugins/twitter.lua:50: attempt to index field 'extended_entities' (a nil value)
```

This fixes that bug by checking for the existence of ``extended_entities`` before trying to get it's ``media``.
2015-02-22 16:05:24 -08:00
yago
3b59be34c5 Some changes on giphy plugin 2015-02-23 00:11:31 +01:00
yago
f39e51c0f8 Merge branch 'joenio-method-test-blank-strings' 2015-02-22 22:37:38 +01:00
yago
72a94106f0 Merge branch 'method-test-blank-strings' of git://github.com/joenio/telegram-bot into joenio-method-test-blank-strings
Conflicts:
	bot/utils.lua
2015-02-22 22:37:20 +01:00
yago
6b49398098 Troubles sending images 2015-02-22 22:34:10 +01:00
Joenio Costa
12aa89c0f1 new util method to test if string is blank 2015-02-21 23:31:30 -03:00
yago
e7bc20af3e Merge branch 'id-mozilla-master' 2015-02-19 22:03:49 +01:00
yago
a553b8c428 Removed _config.debug and table.map_length 2015-02-19 22:03:22 +01:00
yago
16c51485bc Merge branch 'master' of git://github.com/id-mozilla/telegram-bot into id-mozilla-master 2015-02-19 22:01:27 +01:00
yago
4ca8380283 HTML table formatted 2015-02-19 21:54:55 +01:00
yago
401a13476d Updated Bot Commands readme 2015-02-19 21:51:44 +01:00
yago
60ec571bfc Return Giphy error when GIF not found 2015-02-19 21:50:13 +01:00
Arief Bayu Purwanto
ee6b91da14 initial bugzilla specific bot command 2015-02-18 12:01:47 +07:00
Arief Bayu Purwanto
225a340a82 introduce table.map_length to count array size
I can't seems to work with table.getn() :(. This is used primarily in
plugins/bugzilla.lua
2015-02-18 12:01:00 +07:00
Arief Bayu Purwanto
ea67edfa99 introduce "debug" config. Value is true/false (boolean) 2015-02-18 11:59:35 +07:00
yago
130cb63bc5 updated version 2015-02-15 20:27:56 +01:00
yago
975d57c827 Closes #68 2015-02-15 20:27:21 +01:00
yago
874d2b3bf9 added send_photo_from_url_callback function 2015-02-15 20:26:00 +01:00
yago
d069eaa809 updated version 2015-02-15 16:59:46 +01:00
yago
e0dd062cfe gps.lua no delay_s 2015-02-15 16:59:03 +01:00
yago
fbf6c48476 no delay_s on location.lua 💥 2015-02-15 16:54:03 +01:00
yago
b391bb26d2 Improved how bot saves file extension 2015-02-15 16:52:08 +01:00
yago
3a48303899 mimetype lib 2015-02-15 16:51:37 +01:00
yago
2a5c466d4c Updated version 2015-02-15 14:37:43 +01:00
yago
fc5d204750 send_photo_from_url with callback 2015-02-15 14:37:23 +01:00
yago
86923b229e giphy uses send_document_from_url 2015-02-15 14:33:48 +01:00
yago
ccb101560b Functions _send_document and send_document_from_url 2015-02-15 14:33:08 +01:00
yago
fa6f871342 updated version 2015-02-15 14:06:33 +01:00
yago
3df9d9c3f3 Functions for downloading and removing images async. The magic of cackbacks 🌟 2015-02-15 14:06:01 +01:00
yago
8ee6e8fd4f randomseed and print info when msg is rejected 2015-02-15 14:02:26 +01:00