Commit Graph

556 Commits

Author SHA1 Message Date
Sophie L de8d529b13 ci: use new branch name 2024-06-08 11:22:45 +01:00
Paul Makles 4c8cad7752 chore: bump version to 7.0.1 2024-06-08 11:20:38 +01:00
dependabot[bot] 7da2a6e484 chore(deps): bump follow-redirects from 1.15.2 to 1.15.6
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.2 to 1.15.6.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.2...v1.15.6)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-08 11:18:47 +01:00
Maxi 09c68a60a3 feat: add deleteEmoji method to Server class (#94) 2024-06-08 11:15:23 +01:00
William Horning ee41205c3d fix: allow explicit ESM import (#84) 2024-06-08 11:15:23 +01:00
Austin Huang daab20dbac fix: fetch should fill out partial objects 2024-06-08 11:15:23 +01:00
Austin Huang 2427c6c32c fix: do not hydrate partial property 2024-06-08 11:15:23 +01:00
Austin Huang 7912bc0ea1 fix: add channelId on MessageUpdate and MessageAppend 2024-06-08 11:15:23 +01:00
Paul Makles ec91af59cf fix: don't report a status if user is offline
should be fixed with revoltchat/backend#319
2024-06-08 11:15:23 +01:00
Paul Makles eebc75ca65 chore: update lockfile 2024-06-08 11:12:10 +01:00
Revolt CI d064abe733 chore: update revolt-api to 0.7.2 2024-05-16 14:50:47 +00:00
insertish d3520e5d48 ci: synced local '.github/workflows/triage_pr.yml' with remote 'workflows/triage_pr.yml'
[skip ci]
2024-03-28 13:37:58 +00:00
Paul Makles 363e46fad9 fix: export ChannelWebhook class 2024-03-17 12:04:09 +00:00
Paul Makles 6355792173 fix: typings for server member broke in recent api release 2024-03-15 21:50:16 +00:00
Paul Makles a4906f9b98 chore: update dependencies 2024-03-15 21:42:17 +00:00
Revolt CI 1cc0ed45d1 chore: update revolt-api to 0.6.13 2024-02-12 21:48:08 +00:00
Revolt CI 1a49e952aa chore: update revolt-api to 0.6.12 2024-02-12 21:19:38 +00:00
Paul Makles 0b20c25729 chore: bump version 2024-02-07 17:07:40 +00:00
Declan Chidlow ccdfdb0a53 doc: improve README (#90)
Improves formatting, fixes grammar and punctuation, and generally cleans up file.
2024-02-07 17:05:24 +00:00
net-tech- 6007fb5783 feat: export the events type 2024-02-07 17:05:06 +00:00
Paul Makles 6eb6ddbc31 chore: update lockfile 2023-12-27 19:10:04 +00:00
Paul Makles 430882e610 chore: bump version 2023-12-27 19:08:08 +00:00
Paul Makles a6b6e23fb2 refactor: add dedicated argument for controlling when reads are ignored 2023-12-01 14:30:44 +00:00
Paul Makles b39a22bd1e fix: destruct user in kickUser as appropriate 2023-12-01 12:37:57 +00:00
Paul Makles a1324462c5 feat: $exists helper method on classes
refactor: split ServerDelete into ServerDelete / ServerLeave
2023-11-29 10:31:59 +00:00
Paul Makles 53dbec7a40 feat: helper method for whether message mentions user 2023-11-28 15:33:32 +00:00
Paul Makles 290fb976c5 feat: improve channel ack to silently drop unwanted acks 2023-11-27 17:46:28 +00:00
Paul Makles f64711dc13 fix: typing issues with latest API version 2023-11-27 17:46:06 +00:00
Paul Makles 11f57ebf33 feat: helper method to check if user is us 2023-11-27 17:45:44 +00:00
Paul Makles 7423e90dab fix: update lastMessageId when receiving a new message 2023-11-20 17:06:08 +00:00
Revolt CI 63a2830159 chore: update revolt-api to 0.6.9 2023-10-28 14:05:34 +00:00
Revolt CI 26a95253d6 chore: update revolt-api to 0.6.8 2023-10-26 14:21:37 +00:00
Paul Makles a41c40be53 chore: add helper method for resolving server member 2023-10-15 19:40:08 +01:00
Paul Makles 534d15a6ca chore: remove legacy code 2023-10-14 11:22:45 +01:00
Revolt CI 2ba023c879 chore: update revolt-api to 0.6.7 2023-08-26 12:41:57 +00:00
lalo 4f4b153360 refactor: message.content always returns a string (#72)
Not to sure but this could be a simple fix for system messages having "no message content".

Everytime someone uses the `client.on("message",...)` function they have to include a check if `message.content` even exists when wanting to work with `message.content` since if you don't the program breaks every time it recieves a system message, which returns a message with undefined content. In my opinion making `message.content` always return a string is a better alternative to undefined. It would make using revolt.js more convenient for most of the developers.
2023-08-25 15:50:22 +01:00
dependabot[bot] 8600417a71 chore(deps-dev): bump word-wrap from 1.2.3 to 1.2.4 (#85)
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-25 15:48:40 +01:00
kyundothost b582712b24 fix: types (#80) 2023-08-25 15:48:28 +01:00
Revolt CI c32bdd4b42 chore: update revolt-api to 0.6.6 2023-08-10 08:53:37 +00:00
Revolt CI ebe24cf30b chore: update revolt-api to 0.6.5 2023-07-04 17:01:32 +00:00
Paul Makles e7fbcfd1af chore: bump pnpm version for package 2023-07-02 09:59:47 +01:00
Paul Makles b3bceb086f fix: also hydrate channel updates 2023-07-02 09:58:27 +01:00
Revolt CI 770afbf886 chore: update revolt-api to 0.6.4 2023-07-02 07:56:51 +00:00
Revolt CI f52bb71fd4 chore: update revolt-api to 0.6.3 2023-07-02 07:50:57 +00:00
Paul Makles 8c4c191c4f chore: release beta.8 2023-07-02 08:31:47 +01:00
Paul Makles 9999cacd02 fix: hydrate incoming socket objects
fixes #82
2023-07-02 08:31:15 +01:00
Lea d9ea44e869 fix: hydrate display_name 2023-07-01 13:47:42 +01:00
Lea 24d83ad412 fix: exclude system messages from eager fetching (#79) 2023-06-23 15:52:13 +02:00
Paul Makles 96d0173999 feat: add support for discriminators, streamline display names 2023-06-15 20:44:16 +01:00
Revolt CI 10671a1973 chore: update revolt-api to 0.6.3 2023-06-15 18:38:12 +00:00