20 Commits

Author SHA1 Message Date
Zomatree 60ff8d81c9 bring type completeness to 100% 2023-05-20 03:04:52 +01:00
Zomatree 625dd4eac2 finish implementation of permissions 2023-04-11 22:07:56 +01:00
Zomatree 263f99f281 use is not None in _update 2023-03-26 18:09:35 +01:00
Zomatree 76364572f1 timeout and upload_file 2023-02-22 18:49:55 +00:00
Zomatree d3f7275d1b add created_at to all models with ids 2022-11-16 23:05:06 +00:00
Zomatree bf8ded7588 make client generic 2022-09-26 01:16:33 +01:00
Zomatree 7ddfa2635c Fix colour always being none 2022-09-11 19:17:41 +01:00
Zomatree 424fa10208 cleanup code 2022-07-05 16:37:45 +00:00
Zomatree 25f3b4e4fc inital updated permissions system 2022-05-31 01:44:41 +01:00
Zomatree 0fdca7eb7d isort 2022-04-25 13:40:39 +01:00
Zomatree c7963f02e9 cover most api routes 2022-01-21 22:04:30 +00:00
Zomatree 39098692bc add flags 2021-11-20 22:33:10 +00:00
Zomatree 1310f3a31a add the rest of the events 2021-11-08 13:59:16 +00:00
rockboy987 c832bae971 Add permissions (#17)
* Add permissions

* Add set_permission methods for server and channel

* Add to docs

* Minor fix

* Apply suggestions from code review
2021-10-21 07:01:07 +01:00
Zomatree 542d1052d6 add more events and fix bugs 2021-10-17 02:47:07 +01:00
null e3bb82c71f refactor: add __slots__ to class definitions to save memory (#12)
* refactor: add __slots__ to class definitions to save memory

* Update revolt/channel.py

Co-authored-by: Zomatree <39768508+Zomatree@users.noreply.github.com>

* Update revolt/client.py

Co-authored-by: Zomatree <39768508+Zomatree@users.noreply.github.com>

* revert changes

Co-authored-by: Zomatree <39768508+Zomatree@users.noreply.github.com>
2021-09-04 16:33:05 +01:00
ppotatoo 553fbffa74 Ran isort over directory and added __all__ 2021-09-02 15:16:25 -04:00
Zomatree 3380222054 add docs 2021-08-29 21:19:09 +01:00
Zomatree 48f00c080b split up types into its own folder 2021-08-29 17:04:24 +01:00
Zomatree 5e1bf92970 add most basic types 2021-08-28 23:09:23 +01:00