Commit Graph

15 Commits

Author SHA1 Message Date
gammafn bdc9713a14 Add avatar support to !apod
Check if is_admin before allowing avatar
2021-08-24 23:03:28 -05:00
gammafn 44bd02d3b4 Fix bot.upload_and_send()
- Move matrix_uri_cache idea from apod into global bot, persist on restart
- TODO: add "!bot uricache [ view | clean ]" command
2021-05-11 12:52:40 -05:00
Andrea Spacca 030ec5d779 New bots (giphy, gfycat, tautulli), changes for upload and send image with url or blob content 2021-04-22 09:46:19 +02:00
Ville Ranki e7b35d9c55 Moved image upload code to shared function in bot.py. Removed the original urls for less spam. 2020-12-20 21:42:18 +02:00
Frank Becker d6a37754cd handle image upload failure 2020-03-26 19:43:59 +01:00
Frank Becker 70c1a0bd66 retry upload url if hdurl fails 2020-03-26 19:35:17 +01:00
Frank Becker 5de192097a add more debugging output to apod module uploading a file 2020-03-21 11:02:24 +01:00
Frank Becker fbf7932c4a remove original-url from explanation. add date to title 2020-03-17 21:44:04 +01:00
Frank Becker 9e2fb2ba6a apod send order title -> picture -> description 2020-03-16 07:37:52 +01:00
Frank Becker 58c12ebae8 apod split messages for better irc support 2020-03-15 19:30:46 +01:00
Frank Becker e537bbc84d remove unsupported media type message 2020-03-15 18:56:11 +01:00
Frank Becker 1ad251d184 add apod bot owner command apikey 2020-03-15 18:49:24 +01:00
Frank Becker facec3111d add apod bot commands help, stats and clear 2020-03-15 18:11:00 +01:00
Frank Becker fb10d73f61 add support to query astronomy picture by date and cache all uploads
* !apod 2020-03-04
2020-03-15 17:38:17 +01:00
Frank Becker 967ab33528 added Astronomy Picture of the Day module
* upload astronomy picture of the day to the room
* cache latest response
* use own api key by setting environment variable
  APOD_API_KEY (default: DEMO_KEY)
2020-03-14 21:10:27 +01:00