34 Commits

Author SHA1 Message Date
Zomatree 9bf443e36b Fix channel.history not fetching members to go along with the messages 2023-12-29 20:09:38 +00:00
Zomatree c8c11b5394 Fix nameerror
fixes #61
2023-07-20 00:15:37 +01:00
Zomatree a52febcb4e Fix incorrect docs, closes #59 2023-06-22 02:54:03 +01:00
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 a92324149e fix issues stemming from bugs in the revolt api 2022-11-16 23:06:31 +00:00
Zomatree d3f7275d1b add created_at to all models with ids 2022-11-16 23:05:06 +00:00
Zomatree 285974feef add reactions and interactions 2022-08-18 02:19:54 +01:00
Zomatree 2de49e6a6c change all keyerrors to lookup errors 2022-07-05 17:54:56 +00:00
Zomatree efbb667fef handle channels in serverupdate event, fixes #39 2022-06-30 20:24:49 +01:00
Zomatree 25f3b4e4fc inital updated permissions system 2022-05-31 01:44:41 +01:00
Zomatree 6871754a27 remove trailing whitespace 2022-04-25 13:42:37 +01:00
Zomatree 0fdca7eb7d isort 2022-04-25 13:40:39 +01:00
Zomatree 21c9c78b6d fix up docs 2022-03-23 22:43:57 +00:00
Zomatree b1a91cecb1 fix typing fix error 2022-01-28 19:14:15 +00:00
Zomatree 0fbb90f65e fix typing issues 2022-01-22 00:30:09 +00:00
Zomatree c7963f02e9 cover most api routes 2022-01-21 22:04:30 +00:00
Zomatree e938136b2e fix bug with channels 2022-01-05 18:24:06 +00:00
Zomatree 1c5ceffc58 fix categories docs 2022-01-03 20:39:17 +00:00
Zomatree 7ccd651e4b add server.categories and get_category 2022-01-03 20:00:50 +00:00
Zomatree 39098692bc add flags 2021-11-20 22:33:10 +00:00
Zomatree a16bac6207 isort 2021-11-13 23:59:25 +00:00
Zomatree 1310f3a31a add the rest of the events 2021-11-08 13:59:16 +00:00
Zomatree a2168e35e9 add server_update event + missing server attrs 2021-10-28 03:43:20 +01: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 013885dfb4 add enums, add more stuff 2021-08-30 16:22:16 +01: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
Zomatree 8d13dcdd9a init 2021-08-18 00:22:33 +01:00