Merge pull request #32 from tswfi/url_get_settings
add setting methods for url module, fixes #31
This commit is contained in:
commit
80f125683f
|
@ -143,5 +143,12 @@ class MatrixModule:
|
|||
|
||||
return
|
||||
|
||||
def get_settings(self):
|
||||
return {"status": self.status}
|
||||
|
||||
def set_settings(self, data):
|
||||
if data.get("status"):
|
||||
self.status = data["status"]
|
||||
|
||||
def help(self):
|
||||
return "If I see a url in a message I will try to get the title from the page and spit it out"
|
||||
|
|
Loading…
Reference in New Issue