48 Commits

Author SHA1 Message Date
Zomatree 5a22d6063d Fix typing bugs 2023-12-29 20:21:48 +00:00
Zomatree 7b95ec1b6b Simple reconnection logic 2023-12-29 20:11:55 +00:00
Zomatree 51c7e45821 provide autocomplete for events 2023-09-11 15:53:36 +01:00
Zomatree c97085cd55 provide original message in message_update event 2023-06-30 16:17:28 +01:00
Zomatree 2c30502b50 Raise an error if the token is invalid 2023-06-13 04:17:14 +01:00
Zomatree 60ff8d81c9 bring type completeness to 100% 2023-05-20 03:04:52 +01:00
Zomatree d5a15c0f44 fix typing error related to bad aiohttp types 2023-05-19 22:23:47 +01:00
Zomatree 4bf0530f8e clean up code 2023-05-11 07:02:39 +01:00
Zomatree 625dd4eac2 finish implementation of permissions 2023-04-11 22:07:56 +01:00
Zomatree a672f949a1 fix servermemberjoin, closes #48 2023-03-27 00:43:12 +01:00
Zomatree df9893aaff add bulk message delete 2023-03-26 21:44:04 +01:00
Zomatree e99b6edee3 correctly handle role creation 2023-03-26 18:08:30 +01:00
Zomatree 76364572f1 timeout and upload_file 2023-02-22 18:49:55 +00:00
Zomatree 8db036e131 fix CI 2023-01-02 22:10:07 +00:00
Zomatree 4d35de3ac8 qol updates 2023-01-02 22:06:25 +00:00
Zomatree a92324149e fix issues stemming from bugs in the revolt api 2022-11-16 23:06:31 +00:00
Zomatree bf8ded7588 make client generic 2022-09-26 01:16:33 +01:00
Zomatree 7c412a056a fix race condition when joining a server 2022-08-21 13:19:45 +01:00
Zomatree 88af87a4e1 rename server_create event to server_join 2022-08-18 21:58:20 +01:00
Zomatree 46c3cf893e fix varies bugs 2022-08-18 20:16:29 +01:00
Zomatree 737515f9b5 remove unnessary channel parameter 2022-08-18 03:25:51 +01:00
Zomatree 285974feef add reactions and interactions 2022-08-18 02:19:54 +01:00
Zomatree 1ab91658c2 handle server join event 2022-08-08 19:23:25 +01:00
Zomatree 424fa10208 cleanup code 2022-07-05 16:37:45 +00:00
Zomatree 0fdca7eb7d isort 2022-04-25 13:40:39 +01:00
Zomatree bbb3f18f42 add edit self 2022-03-30 19:00:02 +01:00
Zomatree 5b39fb1b74 fix voice channel permissions error 2022-03-23 23:39:39 +00:00
Omkaar 8641f45400 Fix spelling errors (#30)
* Fix spelling errors in `websocket.py`

* Fix some errors in `utils.py`

* Fix spelling error in `asset.py`

* Fix spelling error in `enums.py`

* Fix some more errors
2022-03-11 10:37:54 +00:00
Zomatree 19d3d5ea4b fix 3.9 compat 2022-03-07 03:00:07 +00:00
Zomatree d7eb5cfe46 display errors from event handlers 2022-03-07 02:56:22 +00:00
Zomatree 0dc5e5510a fix message editing 2022-03-07 02:55:05 +00:00
Zomatree 16177e6698 fix missing inconsistancies 2022-02-14 05:51:46 +00:00
LightSage 9fc5ee1c84 Fix user update (#23) 2022-01-03 20:54:05 +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 b2558c1d37 fix deleting message outside cache 2021-11-07 10:26:39 +00:00
Zomatree a2168e35e9 add server_update event + missing server attrs 2021-10-28 03:43:20 +01:00
Zomatree 7efc943281 run isort 2021-10-23 17:04:28 +01:00
Zomatree 6e7979c7bb fix typo 2021-10-21 06:53:49 +01:00
Zomatree 542d1052d6 add more events and fix bugs 2021-10-17 02:47:07 +01:00
rockboy987 db9b78d14e Add edit and delete methods for Message and handle MessageUpdate and MessageDelete events (#13)
* Add edit and delete methods to Message

Add handlers to update state on message update and delete

* Fix typehint

Add missing objects in __all__
2021-09-08 10:03:30 +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 48f00c080b split up types into its own folder 2021-08-29 17:04:24 +01:00
Zomatree 06bf01b4c2 fix sending messages 2021-08-29 01:14:22 +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