Commit Graph

347 Commits

Author SHA1 Message Date
yago
91aac0c138 Disable plugins only on specific chats (current chat) 2015-04-12 21:55:01 +02:00
yago
b304f4fb49 download_media plugin 2015-04-12 20:14:21 +02:00
yago
883f31e73a renamed lex to pre_process 2015-04-12 20:13:52 +02:00
yago
e269a00ba2 sudo users can read user stats 2015-04-12 17:56:44 +02:00
yago
68050fe52a Stats only for chats 2015-04-11 19:27:45 +02:00
Yago
5cc95b6ee4 Update version.lua 2015-04-11 18:32:07 +02:00
Yago
35a2c59b13 Update steam.lua
Sends header_image
2015-04-11 01:12:19 +02:00
Vincent Castellano
ba6fba21d0 Improve the pricing display 2015-04-10 13:01:15 -07:00
Vincent Castellano
4f288360e4 Add new plugin for printing Steam data for store URLs. 2015-04-10 13:01:15 -07:00
Yago
9c7fc012e1 Update giphy.lua 2015-04-09 21:57:54 +02:00
Yago
a307ee29bf Merge pull request #99 from JulioC/master
Added alt text to the resulting message
2015-04-09 21:56:41 +02:00
Yago
46145f06d6 Merge pull request #101 from Surye/patch-2
Allow the question to follow the command.
2015-04-09 21:56:31 +02:00
JulioC
2f5fbb755c Merge remote-tracking branch 'upstream/master' 2015-04-09 14:31:54 -03:00
Vincent Castellano
76960ef4ec Allow the question to follow the command. 2015-04-08 17:11:53 -07:00
Vincent Castellano
878462030d Don't 0 index the array of images. 2015-04-08 17:08:08 -07:00
Júlio César
d27afc1b39 Added alt text to the resulting message 2015-04-07 22:21:56 -03:00
yago
f4ac6057ba Check if image not found 2015-04-07 22:58:46 +02:00
yago
eecb820568 Identation as spaces 2015-04-06 23:28:20 +02:00
yago
7f9bbae615 function order changed 2015-04-06 23:28:20 +02:00
yago
0277d3bab7 Locals on plugins 2015-04-05 16:27:04 +02:00
yago
c19c30933d Locals on 9gag 2015-04-05 16:26:30 +02:00
yago
0c2bb7329c Removed help markdown function 2015-04-05 16:20:19 +02:00
yago
4edd28906b Boobs help 2015-04-05 15:06:29 +02:00
yago
8b38b3a0dc Local functions on help 2015-04-05 15:00:16 +02:00
yago
6ebf354735 Better help 2015-04-05 13:57:25 +02:00
Malte Husmann
e152824cd5 Added two plugins: hackernews, magic 8ball 2015-04-03 23:02:45 +02:00
Yago
8f2db54d9c Update media.lua 2015-04-02 23:45:45 +02:00
yago
8f00b554a2 Indentation an little little little changes 2015-03-31 20:17:45 +02:00
CheatCoder
841f5c3f69 Fix youtube.lua crash
Sry for this little bug =)
2015-03-25 22:28:05 +01:00
CheatCoder
02d72e0b62 Update search_youtube.lua to send Title image and description 2015-03-25 10:58:21 +01:00
Brayden
cf16172072 Support Youtube links with "_" in their URL
Noticed when https://www.youtube.com/watch?v=rE3j_RHkqJc didn't gen anything.
2015-03-24 19:56:05 -07:00
Yago
b2165a0983 Stats pattern priority. #89 2015-03-20 14:27:38 +01:00
ShittyAdvice
6b5ed82584 Created an YouTube search plugin 2015-03-16 20:28:13 +01:00
yago
ca3eeac0ec Translator plugin. Closes #76 2015-03-14 17:30:12 +01:00
yago
c189cfc93f lex(msg) function 2015-03-14 17:23:38 +01:00
soend
061dee2fa2 Merge pull request #1 from yagop/master
Updating to latest
2015-03-12 09:46:42 +02:00
Yago
e30fb76ac5 Update boobs.lua usage 2015-03-10 18:21:37 +01:00
Lee Watson
8f9d1a1e59 tigle -> title 2015-03-10 00:34:17 +00:00
yago
8bb1a19cfc Butts bugfix 2015-03-08 22:11:00 +01:00
yago
9c2582f627 !butts command 🍑 and indentation in boobs.lua 2015-03-08 22:02:19 +01:00
Yuri
cfff96677a Added boobs plugin 2015-03-06 04:30:44 +03:00
yago
7224cec834 Fixed some tabulation 2015-03-04 23:51:36 +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
13a787e577 giphy sends original if downsized doesn't exists 2015-02-28 12:30:58 +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
edd8a50629 Added functionality to disable bot responding in disable channels 2015-02-27 15:06:12 +02:00
PioneerAxon
f55e85efcd Add new plugin for voting system.
Allows voting session in group conversations.
2015-02-26 01:33:25 +05:30
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