Commit Graph

89 Commits

Author SHA1 Message Date
Ville Ranki 87998001f5 Added mxma module 2020-03-29 23:50:33 +03:00
Ville Ranki 48d8298828 Add support to ignore m.text messages and fix url module to use this. Fix url not saving message type. 2020-03-29 20:34:57 +03:00
Ville Ranki e3ad073fad Added wolfram alpha module 2020-03-28 23:08:21 +02:00
Ville Ranki 3eeadb8956 A bit more tighter help 2020-03-28 22:06:39 +02:00
Ville Ranki 18fea2501c Allow setting message type in \!url 2020-03-28 22:04:15 +02:00
Dylan Hackworth edf5c3d6fe #63 patch 2020-03-19 15:27:49 -05:00
Ville Ranki 2e78289a2b
Merge pull request #60 from ancho/feature/nasa-apod-module
apod send order title -> picture -> description
2020-03-18 20:09:12 +02:00
Frank Becker fbf7932c4a remove original-url from explanation. add date to title 2020-03-17 21:44:04 +01:00
Dylan Hackworth 6814cae5ca > Except in cron module to allow running timed commands. 2020-03-17 12:40:41 -05: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
Ville Ranki 55d9c55948 More info link text 2020-02-27 22:28:57 +02:00
Ville Ranki 77bcbf0862 Simple html stripping 2020-02-27 22:28:42 +02:00
Ville Ranki 72a9595122 Added cmd command. 2020-02-27 22:20:13 +02:00
Frank Becker 0febd01103 restored from original master after accident 2020-02-23 22:17:07 +01:00
Frank Becker f37651e1bd Merge branch 'upstream-master' 2020-02-17 21:44:14 +01:00
Frank Becker 892c84a974 fixed loglevel and evaluation to enable debugging 2020-02-16 16:56:34 +01:00
Frank Becker b40be62cb1 use logging for console output 2020-02-16 16:56:34 +01:00
Frank Becker 238b32fbe0 Merge branch 'master' of github.com:vranki/hemppa 2020-02-16 16:45:26 +01:00
Ville Ranki e841108066 Ignore unknown commands 2020-02-16 14:23:20 +02:00
Frank Becker c8f2e12bd6 add subcommands list-bots, add-bot, del-bot 2020-02-16 12:08:56 +01:00
Frank Becker 419c890502 added a few todo's 2020-02-15 10:47:36 +01:00
Frank Becker 86a89c7d44 devlug dispatch module
dispatch messages from matterbridge formatted like

[irc] <ancho> This is a message

that is. only "This is a message" is passed to the bot
command handler
2020-02-15 10:43:19 +01:00
Frank Becker 730ee7ca35 shorter modules list 2020-02-10 00:04:34 +01:00
Frank Becker ab15e8e8c8 Merge branch 'master' of github.com:vranki/hemppa into sync-upstream 2020-02-09 19:11:16 +01:00
Frank Becker 8611d8cd2f Merge branch 'master' of github.com:vranki/hemppa into sync-upstream 2020-02-09 19:07:06 +01:00
Frank Becker a246af645a ordered output of modules 2020-02-09 14:24:57 +01:00
Frank Becker 81d07cebfd enable all modules per default. bot cannot be disabled. 2020-02-09 14:07:05 +01:00
Frank Becker 77d8fdaac1 use logging for console output 2020-02-09 02:33:01 +01:00
Ville Ranki 276f5d3e60
Merge pull request #37 from cfdisk/fix/urltitle
Fix #35
2020-02-08 13:36:11 +02:00
plocki e7ddda220f Fix #35 2020-02-08 11:46:40 +01:00
Frank Becker 267b4241f8 fix: persistent settings for pollservices
pollservices didn't return the settings dictionary and the call to
super was missing.
2020-02-08 11:02:58 +01:00
Frank Becker 2f9d7a708e add stop and start message to BotModule class. add remove_callback 2020-02-06 23:21:59 +01:00
Frank Becker b1f428517e enable / disable bot module
use !bot enable <module_name> oder !bot disable <module_name> to enabel
or disable a module.

to get a list of available modules and see if they are enabled run !bot
modules
2020-02-06 23:21:59 +01:00
Frank Becker 299548b41f minor cleanup and a fix for the type mapping of matrix_message parameters 2020-02-06 21:59:29 +01:00
Frank Becker 93f8c65d0c extract BotModule class 2020-02-06 21:58:40 +01:00
Frank Becker 59d9fad9ef add stop and start message to BotModule class 2020-02-06 20:56:53 +01:00
Frank Becker 0ffb4d681f enable / disable bot module
use !bot enable <module_name> oder !bot disable <module_name> to enabel
or disable a module.

to get a list of available modules and see if they are enabled run !bot
modules
2020-02-06 00:19:45 +01:00
Frank Becker 1e35be27cd minor cleanup and a fix for the type mapping of matrix_message parameters 2020-02-03 21:45:14 +00:00
Frank Becker 16ade59c0c extract BotModule class 2020-02-02 22:09:09 +01:00
plocki 78901ea505 umbenannt: modules/googlecal.py -> modules/off/googlecal.py
umbenannt:      modules/ig.py -> modules/off/ig.py
umbenannt:      modules/metar.py -> modules/off/metar.py
umbenannt:      modules/notam.py -> modules/off/notam.py
umbenannt:      modules/taf.py -> modules/off/taf.py
umbenannt:      modules/teamup.py -> modules/off/teamup.py
umbenannt:      modules/twitter.py -> modules/off/twitter.py
umbenannt:      modules/url.py -> modules/off/url.py
neue Datei:     modules/ping.py (check web urls)
2020-02-01 22:48:35 +01:00
plocki 166aa957b9 changed blacklist to whitelist 2020-01-31 21:26:01 +01:00
plocki 041ac0e976 weather.py für ansiweather 2020-01-30 21:56:03 +01:00
plocki bef686bd29 weather.py für ansiweather 2020-01-30 21:54:59 +01:00
Tatu Wikman b2641068ed
add setting methods for url module, fixes #31 2020-01-29 12:34:22 +02:00