Commit Graph
100 Commits
Author SHA1 Message Date
LTS20050703 6fe5e0b8fd route MESSAGE_DELETE_BULK to bot.events.messageDelete (#2107) 2022-03-15 21:59:56 -04:00
LTS20050703andSkillz4Killz 64262b3afa Document what message flags can be sent (#2051)
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
2022-02-25 10:25:00 -05:00
LTS20050703andSkillz4Killz 79dbf690dc fix editMessage interface and function (#2054)
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
2022-02-25 10:23:32 -05:00
LTS20050703andITOH 0245bcc7a9 docs(types): add attachment to InteractionData (#2062)
* document attachment application command type

* update jsdoc comments

Co-authored-by: ITOH <to@itoh.at>

Co-authored-by: ITOH <to@itoh.at>
2022-02-19 20:37:13 +00:00
LTS20050703 3cf0e11beb fix(types): interaction transformer not transforming components (#2052) 2022-02-19 15:35:04 +01:00
LTS20050703 bea86bb47b fix(helpers): when creating/modifying a channel permission_overwrites can omit the allow and deny (#2053)
Clarify that permission_overwrites can omit allow and deny keys when creating/modifying channel/channel ovewrites
2022-02-19 15:35:03 +01:00
LTS20050703 79e260892b docs(types): Clarify documentation on the CREATE_PUBLIC_THREADS permission (#2055) 2022-02-19 15:35:03 +01:00
LTS20050703 0cb2baaea2 fix(types): invitable & createTimestamp are in ThreadMetadata and not in Channel (#2056) 2022-02-19 15:35:03 +01:00
LTS20050703 1f485eea0b fix(types): ThreadMetadata#create_timestamp is optional and nullable & locked is not optional (#2057) 2022-02-19 15:35:02 +01:00
LTS20050703 120fae0840 fix(types): ScheduledEvent#creator_id is nullable (#2059) 2022-02-19 15:35:02 +01:00
LTS20050703 9a4a2909f5 docs(types): update MessageComponentTypes variant description (#2060) 2022-02-19 15:35:02 +01:00
LTS20050703 51ce4803af docs(types): add link for InputTextComponent (#2061) 2022-02-19 15:34:47 +01:00
LTS20050703 3c272e8c8b Add missing communication_disabled_until audit log change key (#2044)
* Add missing communication_disabled_until audit log change key

* oops it's not camelCase it's snake_case
2022-02-13 09:12:31 -05:00
LTS20050703 18935a1669 Fix bug in audit log transformer and helper (#2043) 2022-02-12 23:33:28 -05:00
LTS20050703andSkillz4Killz 3c10622d69 Add locale fields to interaction structure (#2042)
* Add locale fields to interaction structure

* making locale and guildLocale optional and add a warning to guildLocale

Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>

Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
2022-02-12 23:32:37 -05:00
LTS20050703 0745bf7470 fix(types): add code 40004 to JsonErrorCodes (#2039) 2022-02-11 17:38:09 +00:00
LTS20050703 fd4e0c05be fix(types): add code 40060 to JsonErrorCodes (#2038) 2022-02-11 17:31:56 +00:00
LTS20050703 3b3663f2b9 refactor: remove unused imports (#2021)
* make lib faster (delete unused import)

* Revert deno.json change

* Missing }
2022-02-09 13:38:11 +01:00
LTS20050703 dea617b1f2 style: remove .prettierrc (#2004) 2022-02-06 07:43:36 +01:00
LTS20050703andSkillz4Killz 2b7b0dd05f discord-api-docs: Document Scheduled Event Covers (#1960)
* Document Scheduled Event Covers

* using iconHashToBigInt

* using undefined instead of null

Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>

Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
2022-02-04 22:40:08 +01:00
LTS20050703andSkillz4Killz 931673a68d discord-api-docs: Document partial member data in message interaction object (#1958)
* Document partial member data in message interaction object

* Update message transformer following MessageInteraction interface changes

* an attempt to transform partial member

Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
2022-02-04 22:40:08 +01:00
LTS20050703andSkillz4Killz 86023fb7ee discord-api-docs: Document Scheduled Event Covers (#1960)
* Document Scheduled Event Covers

* using iconHashToBigInt

* using undefined instead of null

Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>

Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
2022-02-04 10:16:20 -05:00
LTS20050703andSkillz4Killz f1a6a1c258 discord-api-docs: Document partial member data in message interaction object (#1958)
* Document partial member data in message interaction object

* Update message transformer following MessageInteraction interface changes

* an attempt to transform partial member

Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
2022-02-04 10:15:35 -05:00
lts20050703 f57aec3895 discord-api-docs: Add stickers on preview (#1949)
* Add stickers on preview

* update getGuildPreview

* Sticker transformer

* fix forgot to update stuff
2022-02-02 10:35:54 -05:00
lts20050703 1d6db1b56d discord-api-docs: Document stage discovery as deprecated (#1951)
* Document stage discovery as deprecated

* delete Public from PrivacyLevel, discoverableDisabled from StageInstance

* Nuke discoveryDisabled and privacyLevel
2022-02-01 22:37:17 -05:00
lts20050703 42101467f3 no longer need to check for the compatible discordeno version 2022-02-01 21:30:50 +07:00
lts20050703 b7d50a1ed4 Do not use spread syntax ... in createWebhook and editWebhook 2022-01-28 17:47:20 +07:00
lts20050703 3e1debf465 Merge branch 'discordeno:main' into 1896 2022-01-28 15:52:16 +07:00
lts20050703 a8ed800ab8 Merge branch 'discordeno:main' into 1898 2022-01-28 15:52:12 +07:00
lts20050703 2c76e9d4a5 Merge branch 'discordeno:main' into 1900 2022-01-28 15:52:09 +07:00
lts20050703 c3086d5436 Merge branch 'discordeno:main' into 1902 2022-01-28 15:52:06 +07:00
lts20050703 0e32ae58f9 Merge branch 'discordeno:main' into 1905 2022-01-28 15:52:02 +07:00
lts20050703 003be44097 Merge branch 'discordeno:main' into 1914 2022-01-28 15:51:58 +07:00
lts20050703 6f10b17866 Merge branch 'discordeno:main' into 1915 2022-01-28 15:51:55 +07:00
lts20050703 622e7d5722 Merge branch 'discordeno:main' into 1918 2022-01-28 15:51:51 +07:00
lts20050703 ead306b8f2 Merge branch 'discordeno:main' into 1906 2022-01-28 15:51:44 +07:00
lts20050703 1d2b5c5bca Merge branch 'discordeno:main' into 1904 2022-01-28 15:51:29 +07:00
lts20050703 36216f3f4a communicationDisabledUntil shouldn't be null 2022-01-28 14:02:31 +07:00
lts20050703 5cccd603d0 communicationDisabledUntil: discord return string, discordeno return number 2022-01-28 07:55:03 +07:00
lts20050703 6957d2ea5b Merge branch 'discordeno:main' into gh-1912 2022-01-28 07:46:04 +07:00
lts20050703 c49eed4890 fix rest runMethod body logic 2022-01-28 07:45:14 +07:00
lts20050703 60023e1328 Merge branch 'discordeno:main' into 1939 2022-01-28 07:43:27 +07:00
lts20050703 047e8b69d4 createTimestamp: discord return string, discordeno return number 2022-01-28 07:41:23 +07:00
lts20050703 d155ea82db createTimestamp should be number 2022-01-28 07:37:46 +07:00
lts20050703 9cba3cc9b0 Merge branch 'discordeno:main' into 1911 2022-01-28 07:35:12 +07:00
lts20050703 105265b632 member.communicationDisabledUntil should be string 2022-01-27 17:04:11 +07:00
lts20050703 7f65c70733 Add invitable and createTimestamp to Channel & DiscordenoChannel interface 2022-01-27 16:59:22 +07:00
lts20050703 e8579d6b45 Fix channel transformer 2022-01-27 10:22:36 +07:00
lts20050703 78dae37dc1 fix TypeError: Request with GET/HEAD method cannot have body. 2022-01-27 10:04:36 +07:00
lts20050703 38cb526100 should be string 2022-01-26 22:58:37 +07:00
lts20050703 c1975f70f1 Document thread.create_timestamp 2022-01-26 18:02:37 +07:00
lts20050703 55a7c03143 Bots cant be in group therefore remove icon from channel interface 2022-01-26 17:32:38 +07:00
lts20050703 9e3195c3d4 BREAKING CHANGE remove unused deleteWebhook function channelId parameter 2022-01-26 17:22:59 +07:00
lts20050703 445f8bb085 BREAKING CHANGE remove unused editWebhook function channelId parameter
and add comments to createWebhook and modifyWebhook interfaces' reason
2022-01-26 17:19:31 +07:00
lts20050703 6b86250546 Document message flag FAILED_TO_MENTION_SOME_ROLES_IN_THREAD 2022-01-26 16:49:59 +07:00
lts20050703 7f9fa9aa6d Document error code 30046 (old message edit rate limit) 2022-01-26 11:02:24 +07:00
lts20050703 4d62333f84 Adds error 50068 2022-01-26 10:59:40 +07:00
lts20050703 0f28376bb6 Document X-Audit-Log-Reason on webhook endpoints 2022-01-26 10:36:12 +07:00
lts20050703 76b2735ee3 document the required permission for retrieving the welcome screen when disabled 2022-01-26 10:27:53 +07:00
lts20050703 ed508b1793 Clarification on channel icons 2022-01-26 10:25:38 +07:00
lts20050703 805d5ab855 Error code 50086 2022-01-26 10:12:50 +07:00
lts20050703 306fa22112 createEmoji and editEmoji helper options roles bigints doesn't call .toString() 2022-01-26 10:01:22 +07:00
lts20050703 0ac2c03370 Document thread invitable audit log change key 2022-01-26 09:42:46 +07:00
lts20050703 d76aedc665 Document supported option types for autocomplete 2022-01-26 09:36:15 +07:00
lts20050703 0a436da654 move to plugin 2022-01-05 07:07:37 +07:00
lts20050703 849afd4837 minor changes 2022-01-03 06:35:05 +07:00
lts20050703 0af7867b0c Update scheduledEvents.ts 2022-01-02 13:45:34 +07:00
lts20050703 144b4b9eaf #1877 Document max value for GET event users limit param
#1877 Document max value for GET event users limit param
2022-01-02 13:40:59 +07:00
lts20050703 ea91d9a480 fix get audit logs test
guild_scheduled_events not scheduled_events bruh
2021-12-28 22:22:00 +07:00
lts20050703 7dab1be581 fix send a message with a webhook test
Waits for server confirmation of message send before response, and returns the created message body (defaults to false; when false a message that is not saved does not return an error)
2021-12-28 22:16:45 +07:00
lts20050703 6fdc03b24a fix delete invite test 2021-12-28 22:00:20 +07:00
lts20050703 81c261d6d8 Fix forgot to update transformer 2021-12-23 18:00:05 +07:00
lts20050703 71d2b468f5 #1848 Document audit logs for scheduled events
#1848 Document audit logs for scheduled events

add reason to CreateScheduledEvent and EditScheduledEvent interfaces

add reason.options.reason to bot.rest.runMethod's body parameter in createSheduledEvent and editSheduledEvent functions
2021-12-23 17:44:58 +07:00
lts20050703 cc95342b6d #1862 Fix member transformer, interface
Fix member transformer in src/transformers/message.ts

Fix message interface in src/types/messages/message.ts

Export * from stickers.
2021-12-23 13:52:54 +07:00
lts20050703 e282797e3f nuke privacyLevel and discoverableDisabled 2021-12-22 22:19:56 +07:00
lts20050703 b11d334ac8 camelize modifyGuildMember and I forgot to add the actual prop 2021-12-22 22:04:37 +07:00
lts20050703 eef1885eb4 link--; 2021-12-22 13:42:00 +07:00
lts20050703 2ea419287f #1815 editStageInstance and createStageInstance should use a transformer
#1815 editStageInstance and createStageInstance should use a transformer
2021-12-22 11:20:40 +07:00
lts20050703 131d05c006 Revert string to bigint 2021-12-22 10:20:09 +07:00
lts20050703 2889814abc #1857 Document Guild Member Timeout
update ModifyGuildMember, GuildMember, and GuildMemberUpdate interfaces

update BitwisePermissionFlags enum
2021-12-22 10:02:44 +07:00
lts20050703 6e1d0fdced #1851, move to /src/types/stickers, add StickerTypes enum and stickerPack enum, rename interfaces and file names, and update jsdoc comments
Moved stickers types/enums from /src/types/messages to /src/types/stickers

update jsdoc comments (particularly discord docs links) for stickerItem.ts, stickerFormatTypes.ts, and sticker.ts

Add StickerTypes enum and stickerPack interface

Rename messageSticker*.ts to sticker*.ts
2021-12-22 08:55:12 +07:00
lts20050703 733075fd09 #1858 Tweak application_id wording on message object
#1858 Tweak application_id wording on message object
2021-12-22 07:58:45 +07:00
lts20050703 1e89abba6c Revert "memoryBenchmarks() second argument is optional (defaults to true)"
This reverts commit b773ef1571.
2021-12-21 09:03:31 +07:00
lts20050703 b773ef1571 memoryBenchmarks() second argument is optional (defaults to true) 2021-12-21 08:51:50 +07:00
lts20050703 af6a27de16 Fix GatewayOpcodes.StatusUpdate (renamed to PresenceUpdate) 2021-12-21 08:50:36 +07:00
lts20050703 662c82a27e add threads and sheduledEvenets to return of getAuditLog 2021-12-21 08:13:05 +07:00
lts20050703 f31516f6cd Merge branch 'discordeno:main' into #1828 2021-12-20 13:16:54 +07:00
lts20050703 e63c03160b Yeet "exact word by word" jsdoc comments 2021-12-20 12:49:13 +07:00
lts20050703 f5d829ea0d Merge branch 'discordeno:main' into #1828 2021-12-20 09:03:40 +07:00
lts20050703 b0fdceca07 Merge branch 'main' into opcodes-jsdoc 2021-12-20 07:40:13 +07:00
lts20050703 3bced1f09e rename statusUpdate to presenseUpdate
https://discord.com/developers/docs/topics/opcodes-and-status-codes#gateway-gateway-opcodes
2021-12-18 15:40:24 +07:00
lts20050703 899ce1a7a5 opcodes jsdoc 2021-12-18 15:39:26 +07:00
lts20050703 5a1873f96d [jsonErrorCode.ts] Add missing error codes to enum 2021-12-18 14:21:13 +07:00
lts20050703 19a28b6995 #1806 2021-12-18 14:00:49 +07:00
lts20050703 073de2b97f #1828 2021-12-18 13:28:59 +07:00
lts20050703 01aca45f30 fix incompatible version in minimal example in README 2021-12-13 09:23:58 +07:00
lts20050703 d2f351f00c Update README minimal example (based on discordeno cache plugin README) 2021-12-10 10:59:40 +07:00
lts20050703 e1b262b2c4 Update README Minimal Example 2021-12-10 09:43:44 +07:00
lts20050703 8a4f767691 Merge branch 'discordeno:main' into main 2021-12-07 09:53:16 +07:00
lts20050703 ab8b19c757 fix README example and benchmark submodule 2021-12-06 11:24:37 +07:00