Commit Graph

252 Commits

Author SHA1 Message Date
Paul 10b2fcdbcf Remove API_URL from README since it confuses people. 2021-09-16 15:33:56 +01:00
Paul 7bb61d63d6 Add a way to skip the rate limiter on ack. 2021-09-14 20:57:18 +01:00
Paul Makles a87204b5b2 Merge pull request #8 from Snazzah/more-events
Add more events to client
2021-09-14 19:47:53 +01:00
Paul 358765b2bf Add internal rate limiter for acknowledgements.
Fix Ping format.
Internally calculate ping.
2021-09-14 17:09:50 +01:00
Paul bae63b82d1 Add channel flags and nsfw toggle. 2021-09-14 16:02:16 +01:00
Paul b277e885b2 Bump revolt-api to 0.5.3-alpha.1, support for last_message_id 2021-09-14 14:20:52 +01:00
Paul f0a8e07277 Merge branch 'master' of https://github.com/revoltchat/revolt.js 2021-09-13 16:29:44 +01:00
Paul 9e89c6ca5c Fix change email / password routes. 2021-09-13 16:29:42 +01:00
Paul Makles c5ce84ce0e Merge pull request #10 from KeepSOBP/master
Publish Documentation using ghactions
2021-09-11 23:49:09 +01:00
Paul 1172fedbff Wrong type on GET account route. 2021-09-11 17:17:25 +01:00
Paul 9459c78cdf Update to rAuth v1. 2021-09-11 16:55:39 +01:00
KeepSOBP 7ec8e15a2b Publish Documentation using ghactions 2021-09-11 12:24:56 +09:00
Snazzah c1ae92ba9f Add more events to client 2021-09-04 07:39:44 -05:00
TheMaestroo f5c5271d7b Left shift operator 2021-08-23 13:28:34 +01:00
Paul 324d831e87 Bump version to 5.0.1-alpha.7-patch.0. 2021-08-18 15:40:19 +01:00
Paul 037db2c8cc Merge branch 'master' of https://github.com/revoltchat/revolt.js 2021-08-18 12:55:28 +01:00
Paul 92df76e044 Bump version to 5.0.1-alpha.7 2021-08-18 12:55:27 +01:00
Paul Makles eb68ac96e2 Merge pull request #1 from mafineeek/master 2021-08-18 12:54:34 +01:00
Kamil G 0a701f8709 async remove 2021-08-18 13:40:24 +02:00
Kamil G 3d6105ef50 return data of sendMessage 2021-08-18 13:39:52 +02:00
Kamil G c0ca0173e0 useless import 2021-08-18 13:38:25 +02:00
Kamil G e30a253927 Revert "version bump ig"
This reverts commit 0c8eb52493.
2021-08-18 13:29:25 +02:00
Kamil G 0c8eb52493 version bump ig 2021-08-18 13:28:28 +02:00
Kamil G a112f8099d <Message>.reply() 2021-08-18 13:23:37 +02:00
Paul 697b618785 Get rid of weird relative imports. 2021-08-18 11:15:50 +01:00
Paul 45321eff56 We do a little patching. Hopefully should fix nightly not starting.
Replaces the system user ID with just strings.
2021-08-18 10:42:02 +01:00
Kamil G eb0900a837 Test reply method 2021-08-18 01:09:12 +02:00
Paul f0ac767494 Fix typings. 2021-08-16 18:56:15 +01:00
Paul 39a716df26 Fix: broadcast message edit event. 2021-08-16 18:48:47 +01:00
Paul 2a14728905 Forgot to return 😐; don't fetch user anyways when getting from cache. 2021-08-15 09:56:25 +01:00
Paul 5ba143763a Fix: Correctly handle object updates.
Fix: Don't re-fetch members on each message.
2021-08-15 09:46:58 +01:00
Paul b7ee3ede9c API: Return servers in mutual route. 2021-08-12 16:16:22 +01:00
Paul 685e7dd7e9 Add bot helper functions. 2021-08-12 15:07:59 +01:00
Paul 6d18ec6782 Fix fetch bot routes. 2021-08-12 14:27:00 +01:00
Paul 343d6e3992 Add support for bot login.
Add flags + bot information for users.
2021-08-12 12:00:07 +01:00
Paul f96059c3ff Do strict type checking on incoming data. 2021-08-08 22:14:32 +01:00
Paul 77717f5b47 Add helper function to mark server as read. 2021-08-07 12:00:33 +01:00
Paul e9021285f7 API: Bump API version.
API: Add mark server as read route.
2021-08-07 11:54:03 +01:00
Paul 0579d7748c Add system message helper. 2021-08-07 10:28:02 +01:00
Paul 24020abd1b Transform incoming date updates. 2021-08-06 13:55:59 +01:00
Paul e9a19c2c7c Time out users who type for too long. 2021-07-31 17:55:09 +01:00
Paul 7e1531804b Fetch all channels when new server discovered. 2021-07-31 16:11:24 +01:00
Paul f88c1bb491 Fix: should sent PUT not POST 2021-07-31 13:56:08 +01:00
Paul 13a62d7514 Handle typing packets. 2021-07-31 13:41:43 +01:00
Paul 81c0c78d6b Support for typing indicators 2021-07-31 13:30:42 +01:00
Paul 54251c5fe8 Don't fetch member for system user. 2021-07-31 12:56:29 +01:00
Paul c484e70968 Construct system user on collection build. 2021-07-31 12:52:31 +01:00
Paul 4944f4756b Handle member update packet. 2021-07-31 12:02:55 +01:00
Paul 0b748c0567 Handle incoming member information. 2021-07-31 11:38:01 +01:00
Paul 301bbc2ef4 Mark permissions as computed values. 2021-07-31 11:34:06 +01:00