Commit Graph

29 Commits

Author SHA1 Message Date
izzy 64d449d7d3 chore: role icon property 2026-05-17 21:57:13 +01:00
izzy 00f3ca68a4 chore: bump stoat-api to 0.8.9-3 2025-10-16 18:40:31 +01:00
izzy 8495f705bf chore: fill optional argument for unreact 2025-10-10 16:36:13 +01:00
izzy 7e8bd0c817 chore: pass-through Message#ack options to Channel 2025-09-29 18:57:32 -05:00
izzy c1bdf45820 chore: add deleteAll parameter to Message#unreact 2025-09-24 11:36:14 -05:00
izzy 002357ff4a feat: pinned messages support 2025-06-05 16:46:25 +01:00
izzy c4a5db51fe feat: support for everyone/online/role mentions on messages 2025-06-04 15:46:17 +01:00
izzy 35f95ca0b6 feat: add contentPlain helper 2025-06-04 15:04:58 +01:00
izzy eed09ea68d chore: ensure channelId is always defined in type 2025-06-01 11:35:31 +01:00
Paul Makles f7dfebdd98 merge: remote-tracking branch 'origin/main' into explicit-returns-and-imports 2025-03-23 18:52:41 +00:00
Jersey f7c75a169f chore: use explicit return types and fix imports 2025-03-14 15:57:03 -04:00
Jersey 6e8330f95c chore: fix lint and formatting errors 2025-03-14 13:13:41 -04:00
Paul Makles 692e49c84a chore: drop query strings from file URL generation 2024-12-23 22:01:53 +00:00
Paul Makles 0c0707ce35 feat: add support for Message flags 2024-06-29 18:46:19 +01:00
William Horning ee41205c3d fix: allow explicit ESM import (#84) 2024-06-08 11:15:23 +01: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
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
Paul Makles a2b602782d feat: add support for message.webhook 2023-06-03 18:12:10 +01:00
Paul Makles 97b74940d4 fix: don't expect channel to exist 2023-04-20 13:38:09 +01:00
Paul Makles c4b0b0522d feat: create SystemMessage class 2023-04-13 18:02:56 +01:00
Paul Makles 686037bfbe refactor: conform to linter 2023-04-09 14:17:52 +01:00
Paul Makles 55066a651b refactor: hide collection from other objects 2023-04-09 13:55:00 +01:00
Paul Makles 932e73ab9e feat: handle all events from current protocol 2023-04-08 20:27:00 +01:00
Paul Makles 35b564e350 refactor: conventional design for classes 2023-04-08 17:08:02 +01:00
Paul Makles 2c2846386f feat: further auxiliary method implementations 2023-04-08 16:14:00 +01:00
Paul Makles 2ab8b33ba9 feat: create separate collection classes 2023-04-08 15:17:24 +01:00
Paul Makles 8ef5806d03 feat: work towards spec compliance 2023-04-08 13:22:11 +01:00
Paul Makles 71b9dc5523 feat: implement store backed common classes 2023-04-07 23:16:49 +01:00