Commit graph

186 commits

Author SHA1 Message Date
Andrew Morgan
22c5b46af0 Use InviteMemberEvent instead of InviteEvent.
InviteMemberEvent is for when you're invited, whereas the latter is when
there is an event in a room you're invited to, which has false
positives.
2020-05-05 00:12:21 +01:00
Andrew Morgan
2700cfcd7b Add missing return 2020-04-06 21:44:15 +01:00
Andrew Morgan
6b7224a61e Fix encryption toggling 2020-02-24 23:56:09 +00:00
Andrew Morgan
cb95ae83c6 Remove mention of access token from README 2020-02-24 22:31:03 +00:00
Andrew Morgan
cbf5545bba Update docs and remove sync_token.py 2020-02-24 22:29:24 +00:00
Andrew Morgan
1eacb2926e Optional encryption support 2020-02-24 22:26:59 +00:00
Andrew Morgan
f40373837c Remove debugging 2020-02-23 23:51:24 +00:00
Andrew Morgan
1f21e5838f Merge branch 'master' of github.com:anoadragon453/nio-template
* 'master' of github.com:anoadragon453/nio-template:
  Add TheForcer/vision-nio to README
2020-02-23 23:17:39 +00:00
Andrew Morgan
c8846da599 Helper method for loading config file options 2020-02-23 23:17:25 +00:00
Andrew Morgan
70d53a5abe Add TheForcer/vision-nio to README 2019-11-13 13:36:01 +00:00
Andrew Morgan
aebca89c04 Re-add full_state=True 2019-11-07 23:32:34 +00:00
Andrew Morgan
f5135aa30a Fix missing await and argument 2019-11-07 23:31:18 +00:00
Andrew Morgan
890859b022 Set full_state to False 2019-11-07 23:04:14 +00:00
Andrew Morgan
9dc5f8f8a9
Merge pull request #1 from babolivier/patch-1 2019-11-07 14:40:34 +00:00
Brendan Abolivier
51469ae709
Update config.py
Co-Authored-By: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
2019-11-07 14:37:31 +00:00
Brendan Abolivier
1ba710fd7b
Update config.py
Co-Authored-By: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
2019-11-07 14:37:25 +00:00
Brendan Abolivier
20f576ba9b
Fix typo 2019-11-07 13:33:43 +00:00
Brendan Abolivier
2ea2448585
Remove the default value for device_id
nio doesn't need a device_id unless E2EE is used, so the correct behaviour should be to default it to `None` and, if it's missing, warn the user of what might happen.
2019-11-07 13:32:35 +00:00
Andrew Morgan
25da0a8f12 Add episode bot to example projects 2019-10-26 03:08:44 +01:00
Andrew Morgan
18fd77d4e3 Ignore log files 2019-10-26 03:03:35 +01:00
Andrew Morgan
fc448a6ba1 Fix sync token behaviour 2019-10-26 02:51:38 +01:00
Andrew Morgan
668a892e8c Make SyncToken.token initially None to avoid uninitialized error 2019-10-26 02:16:13 +01:00
Andrew Morgan
6231f0ed17 Hook up self.config in bot_commands.py 2019-10-26 00:40:05 +01:00
Andrew Morgan
8dba6306e3 Add example response to message_responses.py 2019-10-26 00:28:29 +01:00
Andrew Morgan
6f47000988 Merge branch 'master' of github.com:anoadragon453/nio-template
* 'master' of github.com:anoadragon453/nio-template:
  INSERT OR REPLACE SQL on static value
  Commit to the database after we write to it
  Add projects list
  Add config.yaml to .gitignore
  Send m.notice by default
  Add message_responses.py, pass config parameters to callbacks
2019-10-25 23:42:04 +01:00
Andrew Morgan
67840b1433 Add config.yaml to .gitignore 2019-10-12 14:23:31 +01:00
Andrew Morgan
395fda40ec Separate the storage layer into individual classes 2019-10-12 14:20:18 +01:00
Andrew Morgan
bcd2cfa895 INSERT OR REPLACE SQL on static value 2019-10-07 17:11:33 +01:00
Andrew Morgan
bb34a4dd87 Commit to the database after we write to it 2019-10-07 15:55:14 +01:00
Andrew Morgan
c534d52fc4 Add projects list 2019-10-04 14:55:23 +01:00
Andrew Morgan
39b31dd2e5 Add config.yaml to .gitignore 2019-10-04 14:49:52 +01:00
Andrew Morgan
3c5602b10b Send m.notice by default 2019-10-04 14:46:51 +01:00
Andrew Morgan
4ca6b3c2c8 Add message_responses.py, pass config parameters to callbacks 2019-10-04 14:44:23 +01:00
Andrew Morgan
5c7760e2c0 Check for errors during sync 2019-09-29 17:30:57 +01:00
Andrew Morgan
3df8d481c9 Add logging to db setup 2019-09-25 14:31:56 +02:00
Andrew Morgan
4cf191d9aa init commit 2019-09-25 14:26:29 +02:00