Commit Graph

792 Commits

Author SHA1 Message Date
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
yago
54203f7dbd Merge branch 'patch-1' of git://github.com/juanmal/telegram-bot into juanmal-patch-1 2015-02-15 12:15:50 +01:00
yago
ca811d1f5e Dont send dialog_list query 2015-02-15 12:12:52 +01:00
yago
fb415b7143 Changed text when values loaded 2015-02-15 12:12:03 +01:00
yago
cc76046156 little changes 2015-02-15 12:00:33 +01:00
Yago
f595cb1c85 Merge pull request #65 from but3k4/master
Added the ability to quote users texts by chat.
2015-02-14 20:00:11 +01:00
Claudio Filho
c2a5380507 Add imdb plugin 2015-02-13 13:45:27 -02:00
Claudio Filho
bdb9639485 Merge quote files into one 2015-02-13 13:38:28 -02:00
juanmal
f85d753491 Update twitter.lua
Send multiple images from tweet
2015-02-13 01:55:16 +01:00
PotHix
94568cf25c Added the ability to quote users texts by chat.
quotes_set does the job of saving users quotes by using the following
command:

  !addquote text to be quoted

quotes_get retrieve quotes stored by using `!quote` command.
2015-02-12 20:50:53 -02:00
Yago
c7403b0ced Merge pull request #63 from murcat/patch-1
Update bot.lua
2015-02-12 19:22:23 +01:00
murcat
7ad83b335b Update bot.lua 2015-02-12 18:01:04 +00:00
Yago
65313e24a4 Merge pull request #62 from timku/patch-1
Update xkcd.lua fixed issue with random xkcd.
2015-02-11 22:08:40 +01:00
yago
2937be7b77 Merge branch 'develop' 2015-02-11 22:02:01 +01:00
yago
b610511095 updated version 2015-02-11 22:01:31 +01:00
yago
522bfc9d14 F*cking tabs 2015-02-11 22:00:00 +01:00
yago
3d0b3a64f8 Merge branch 'doruq-patch-1' into develop 2015-02-11 21:58:37 +01:00
yago
475f6fcfec Merge branch 'patch-1' of git://github.com/doruq/telegram-bot into doruq-patch-1
Conflicts:
	plugins/stats.lua
2015-02-11 21:58:05 +01:00
Tim
f7015bf92c Update xkcd.lua 2015-02-11 17:32:09 +01:00
yago
7d25e0a3d5 Merge branch 'develop' 2015-02-04 23:07:18 +01:00