Commit Graph

348 Commits

Author SHA1 Message Date
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
6b49398098 Troubles sending images 2015-02-22 22:34:10 +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
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
yago
975d57c827 Closes #68 2015-02-15 20:27:21 +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
86923b229e giphy uses send_document_from_url 2015-02-15 14:33:48 +01:00
yago
3df9d9c3f3 Functions for downloading and removing images async. The magic of cackbacks 🌟 2015-02-15 14:06:01 +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
fb415b7143 Changed text when values loaded 2015-02-15 12:12:03 +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
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
522bfc9d14 F*cking tabs 2015-02-11 22:00:00 +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
9fc9383ab7 Help well formatted 2015-02-04 23:03:42 +01:00
yago
bd7264f496 XKCD url sussport 2015-02-04 22:15:49 +01:00
doruq
76b37397cb Typo fix in the description 2015-02-03 00:20:34 -05:00
yago
4305c7b87e Returns HTTP Error if any in XKCD plugin 2015-02-02 23:19:10 +01:00
yago
da91a550fc Merge branch 'master' of git://github.com/niteshjain/telegram-bot into niteshjain-master 2015-02-02 23:02:07 +01:00
yago
944ee5b356 saves and print user id 2015-02-02 23:00:08 +01:00
yago
021d58e62a Merge branch 'master' of git://github.com/but3k4/telegram-bot into but3k4-master 2015-02-02 22:42:59 +01:00
Claudio Filho
f743a706af Fixing stats to show the result sorted by messages 2015-02-02 14:57:41 -02:00
Yago
6d388060c7 Update twitter_send.lua 2015-01-31 16:22:33 +01:00
yago
a35bddc076 Help table generator 2015-01-24 17:07:00 +01:00
yago
013b927c83 Help table generator 2015-01-24 16:56:21 +01:00
Nitesh A Jain
9a343040c7 Oops!! Removed quotes around variable 2015-01-15 20:52:24 +05:30
Nitesh A Jain
81802ccdce added xkcd plugin 2015-01-15 02:16:47 +05:30
yago
0b55d3b6d3 GiphyAPI 2015-01-12 22:32:06 +01:00
yago
fb38228a97 GiphyAPI 2015-01-12 22:29:59 +01:00
Akshay S Dinesh
f50c130d9f fixed doubling of replies 2015-01-12 11:07:09 +05:30
Akshay S Dinesh
2665a6dae8 google search 2015-01-12 11:07:03 +05:30
yago
6c9efc902c data is the new res folder 2015-01-06 21:04:45 +01:00
yago
859fb485fa show only plugin name 2015-01-06 14:51:38 +01:00
yago
7c8c56655f Checks if Twitter keys are empty 2015-01-06 14:32:42 +01:00
yago
08e5a6c85f Checks if Twitter keys are empty 2015-01-06 14:10:26 +01:00
yago
68fed25b49 can define if command is for privileged users only 2015-01-04 14:22:28 +01:00
yago
e22d2670fd stats with local scope 2015-01-01 16:06:43 +01:00
yago
7ce798b21b invite plugin 2015-01-01 13:55:14 +01:00
yago
ae0411ff25 save config on plugin enabled / disabled 2015-01-01 13:54:43 +01:00
yago
7591920a39 lexical replacements #38 2014-12-31 17:55:17 +01:00
yago
4774bf52e8 Multiple plugins in one message 2014-12-31 17:45:52 +01:00
yago
e811ea8a52 Enable / Diable plugins. libs folder. Generate config.lua with serpent, defined enabled_plugins. Plugins config, is inside them, not in config.lua. 2014-12-31 17:14:48 +01:00
David Muñoz
d40346b481 lexical replacements 2014-12-26 12:13:27 +01:00
yago
03e52b1d41 disable plugins and some checks 2014-12-24 12:44:57 +01:00
yago
d0a728e214 Initial test of plugins handler 2014-12-24 01:38:41 +01:00
yago
8ca367e83b Cron check google 2014-12-22 22:12:28 +01:00
yago
7881f62e20 closed tcp conexion 2014-12-22 21:43:36 +01:00
Marcel van der Boom
1cd7ce1a9f Improvements for the location plugin
- use an api_key if one is configured
- send the location by using the api
- provide same pin color as standard map
- send overview map based on the type of the location scale
- remove the temporary file after download
2014-12-19 16:31:25 +01:00
David Muñoz
d525528ad3 fix 2014-12-17 09:48:20 +01:00
yago
8b04aefd45 Basic cron version 2014-12-16 21:50:19 +01:00
David Muñoz
6bfc5247bf Reload ALL the plugins! 2014-12-16 15:05:42 +01:00
Yago
61c7a05551 Merge pull request #20 from javierhonduco/patch-2
moar style changes
2014-12-14 23:46:29 +01:00
yago
e8ac29d899 Table key strings 2014-12-14 22:11:54 +01:00
Javier Honduvilla Coto
7410ee1d8f moar style changes 2014-12-14 22:00:07 +01:00
yago
e475659978 set Values arent "shared" any more. I hope nobody will miss that "feature" 2014-12-14 21:44:19 +01:00
yago
5bbf754d73 Stats are private by Chat 2014-12-14 21:28:32 +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
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
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
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
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
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
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
2e63040f99 Some cool media files 2014-11-20 23:30:41 +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
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
yago
88e0336227 doesnt get last word 2014-11-04 23:06:26 +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
David Muñoz
f8161ca1cf Splitting commands in plugins 2014-11-04 16:09:08 +01:00