Luan Caliel
a6ec59aad0
fix(transformers): add min and max length to text input components ( #2492 )
...
* fix: add min and max length to text input components
* docs: add dots and commas
* fix: add semicolon
* fix: add semicolon
* fix: add min and max input length to transform component
2022-09-30 08:28:40 -05:00
LTS20050703
f8895fafc0
fix: createInvite doesnt pass reason ( #2491 )
2022-09-28 12:54:04 -04:00
LTS20050703
4de2140151
workflows/test: check plugins ( #2487 )
2022-09-23 13:05:09 -04:00
LTS20050703
19c89dd1c1
tests: rate limit test ( #2485 )
...
* tests: rate limit test
* tests/misc: rateLimit.test promise.all
2022-09-23 13:04:04 -04:00
deepsarda
e4d66894e5
Refactor(readme): improve readme ( #2484 )
...
* Refactor(readme): improve readme
Reword the readme to make it easier to understand.
Add amethyst to the framework section
* refator(src): Format
* refactor(src): format
2022-09-22 11:41:31 -04:00
LTS20050703
bf70526029
fix(plugins): errors caused by bigstring support ( #2486 )
2022-09-22 11:40:41 -04:00
LTS20050703
17132aaf61
feat(helpers): add stickers helpers ( #2466 )
...
* helpers: add stickers helpers
* deno fmt
* undo move getNitroStickerPack to stickers
* helpers/stickers: fix jsdocs
* plugins/permissions: check stickers permissions
* plugins/validations: validate stickers stuff
* tests: stickers unit tests
* helpers/stickers: add support for reason
* plugins/permissions: MANAGE_EMOJIS -> MANAGE_EMOJIS_AND_STICKERS
* tests/stickers: delete sticker after test
createGuildSticker: add send sticker test
getGuildStickers: create another sticker then test > 1 stickers
2022-09-22 11:31:41 -04:00
Skillz4Killz
f0f9791ccd
fix: stupid fmt do urself
2022-09-20 03:53:07 +00:00
Skillz4Killz
b7046f23b8
release: 16.0.1
16.0.1
2022-09-20 03:52:48 +00:00
Skillz4Killz
70df12347e
Merge branch 'main' of https://github.com/discordeno/discordeno into main
2022-09-20 03:52:23 +00:00
Skillz4Killz
acabe468ae
fix: 429 handling bug
2022-09-20 03:52:19 +00:00
ITOH
23771ea949
feat(types)!: add two_way_link to DiscordConnection ( #2481 )
...
When the connection has a corresponding thrid party OAuth2 token
`two_way_link` will be set to `true`.
Reference: https://github.com/discordeno/discordeno/issues/2479
Closes : #2479
2022-09-17 17:06:45 -04:00
Skillz4Killz
c8275fcadc
Update constants.ts
16.0.0
2022-09-17 11:17:13 -05:00
LTS20050703
e88a63770b
BREAKING: MANAGE_EMOJIS -> MANAGE_EMOJIS_AND_STICKERS ( #2473 )
...
* types: MANAGE_EMOJIS -> MANAGE_EMOJIS_AND_STICKERS
* deno fmt
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com >
Co-authored-by: ITOH <to@itoh.at >
2022-09-17 11:12:42 -05:00
LTS20050703
7198bba049
BREAKING: Remove server discovery helpers due to lack of support ( #2464 )
...
* Remove server discovery helpers due to lack of support
The helpers found under `/helpers/discovery` directory are undocumented and not for public bot use.
* delete discovery test and permission check
* deno fmt
2022-09-17 11:11:31 -05:00
Skillz4Killz
a4268fae44
Update constants.ts
15.0.4
2022-09-17 11:10:07 -05:00
ITOH
52cf958b1d
fix(dnt): private name errors
2022-09-17 18:00:15 +02:00
Skillz4Killz
b0d7a7bf28
fix: bigstring type in helpers plugin
2022-09-17 15:46:03 +00:00
ITOH
75abd56f7a
Merge branch 'main' of github.com:discordeno/discordeno
2022-09-17 17:22:16 +02:00
ITOH
6ced7044ff
fix(dnt): undici security vulnerability
2022-09-17 17:22:03 +02:00
ITOH
0b6471cc1d
chore(FUNDING): move to github sponsors
2022-09-17 16:17:37 +01:00
Skillz4Killz
3a5bdce32d
feat: helpers support strings in args ( #2478 )
...
* fix: helpers support strings in args
* fix: fmt
2022-09-15 20:59:02 -05:00
meister03
b892848a69
Release: 15.0.3 ( #2477 )
15.0.3
2022-09-15 13:53:37 -05:00
meister03
e431e0e044
fix: Rest proxy error ( #2471 )
...
* Rebase Update on main
* Rebase Update on main
* Rebase Update on main
* Fix deno fmt
Co-authored-by: meister03 <meisterpi@gmail.com >
2022-09-15 11:23:49 -04:00
LTS20050703
d39abe147f
plugins/permissions: check channel type and implicit permissions ( #2468 )
...
* plugins/permissions: check channel type and implicit permissions
* deno fmt
* refactor: plugins/permissions
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com >
2022-09-15 11:22:52 -04:00
LTS20050703
9426f4e2de
fix(plugins): type errors ( #2472 )
...
* fix plugins
* deno fmt
2022-09-15 10:45:54 -04:00
Skillz4Killz
a49c7499cb
Update sendMessage.ts
2022-09-14 12:07:11 -05:00
LTS20050703
bc44a2feb1
feat(plugins/validations): sendMessage at least one prop + support stickers ( #2467 )
...
When creating a message, apps must provide a value for **at least one of** `content`, `embeds`, `sticker_ids`, `components`, or `files[n]`.
https://discord.com/developers/docs/resources/channel#create-message-jsonform-params
2022-09-14 11:53:49 -05:00
LTS20050703
1bbb992a71
fix: enableValidationPlugin should return whatever it's passed in ( #2463 )
2022-09-13 14:43:18 -05:00
Skillz4Killz
8caee2c74b
Update constants.ts
15.0.2
2022-09-13 14:25:01 -05:00
Skillz4Killz
e2a01b1143
fix(gw): thx dv8. invalid condition on identify
2022-09-13 18:09:23 +00:00
Skillz4Killz
dfa3adc881
HOTFIX: 15.0.1 fix resume url query params
15.0.1
2022-09-12 17:32:43 +00:00
LTS20050703
150b5d45dd
Release: Discordeno@15.0.0 ( #2462 )
15.0.0
2022-09-12 11:56:07 -05:00
LTS20050703
b4a823aba1
feat: Validation Plugin ( #2451 )
...
* Plugins/Permissions: FIX PARITY ISSUES
What is parity issues? Parity issues are files that exist but structured one way in the base/vanilla discordeno library, and structured another way in the permisison plugin.
* deno fmt
* plugins/permissions: nuke validations
* plugins/permissions VALIDATIONS -> plugins/validations
* plugins/validations: slash commands max 4000 chars
* fix module not found
2022-09-12 08:57:59 -05:00
LTS20050703
16f109ad43
chore: WithReason type cleanup ( #2449 )
...
* type WithReason<T> = T & { reason?: string }
* deno fmt (1.25.2)
* WithReason: jsdoc comments for reason
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com >
* deno fmt
* types: WithReason type -> WithReason interface
* Fix: Some helpers missing support for reason
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com >
2022-09-12 08:52:03 -05:00
LTS20050703
b502c14ffb
feat: add union type DiscordConnectionServices ( #2458 )
...
* add enum DiscordConnectionServices
* DiscordConnectionServices enum -> union type
2022-09-12 08:49:24 -05:00
LTS20050703
82653ec0d8
feat: add nonce to sendMessage options ( #2459 )
...
* add nonce to sendMessage options
* add nonce to (Discordeno)Message
2022-09-12 08:48:38 -05:00
LTS20050703
08c9f2395b
chore: Add note about missing webhook following source ( #2460 )
2022-09-11 20:08:40 -05:00
LTS20050703
67e137fcdc
feat(types): add InvitesDisabled to GuildFeatures ( #2439 )
...
* types/shared: add InvitesDisabled to GuildFeatures
* add AutoModeration, InvitesDisabled to GuildToggle
* GuildToggles: add getters
* deno fmt (1.25.2)
* jsdoc comments
2022-09-11 12:05:17 -05:00
Dorian Oszczęda
ec6b7459bd
fix: Invalid HTTP method in upserting commands. ( #2448 )
...
* fix: Export of `ApplicationCommandOptionChoice`.
* fix: Invalid HTTP method for upserting application commands.
* fmt: Run Deno formatter.
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com >
2022-09-09 19:43:32 -05:00
LTS20050703
4aba5ff72f
plugins: fix errors ( #2446 )
2022-09-09 13:10:16 -05:00
Ean Milligan
0dc0f8c52b
Fixes getReactions again. ( #2445 )
...
* Update getReactions.ts
fix it again -_-
* Bump version
14.0.1
2022-09-08 21:28:57 -05:00
Skillz4Killz
8b38cca2aa
fix: fmt
2022-09-09 01:24:33 +00:00
Skillz4Killz
87be8e7898
release: v14
14.0.0
2022-09-09 01:23:54 +00:00
Skillz4Killz
94dce6d4fb
Update README.md
2022-09-08 20:17:51 -05:00
Skillz4Killz
bbbe21ebf2
BREAKING: add docs ( #2442 )
...
* refactor(helpers): Organise functions. (#2425 )
* refactor: Move stage instance helper functions into `/stages` subdirectory.
* refactor: Move `followChannel.ts` to `/announcements` subdirectory.
* refactor: Move `updateVoiceState.ts` to `/guilds` directory.
* refactor: Move `getPins.ts` to `/messages` directory.
* refactor: Move voice-related helper functions into `/voice` subdirectory.
* refactor: Rename `/scheduledEvents` to `/events`.
* refactor: Move widget-related helper functions into `/widgets` subdirectory.
* refactor: Make `/integrations` a subdirectory of `/guilds`.
* refactor: Move helper functions related to interaction responses into the `/responses` subdirectory.
* refactor: Move `verifySignature.ts` to `/util` directory.
* refactor: Move `getChannelInvites.ts` to `/channels` directory.
* refactor: Make `/invites` a subdirectory of `/guilds`.
* refactor: Move reaction-related helper functions into the /reactions subdirectory.
* refactor: Move `getApplicationInfo.ts` into the `/misc` directory.
* refactor: Move voice-related helper functions from `/voice` to `/guilds/voice`.
* fix: Update and simplify type imports.
* refactor!(helpers): Rename helpers to match Discord API. Create a 1:1 helper-to-endpoint correspondence. (#2427 )
* refactor: Move stage instance helper functions into `/stages` subdirectory.
* refactor: Move `followChannel.ts` to `/announcements` subdirectory.
* refactor: Move `updateVoiceState.ts` to `/guilds` directory.
* refactor: Move `getPins.ts` to `/messages` directory.
* refactor: Move voice-related helper functions into `/voice` subdirectory.
* refactor: Rename `/scheduledEvents` to `/events`.
* refactor: Move widget-related helper functions into `/widgets` subdirectory.
* refactor: Make `/integrations` a subdirectory of `/guilds`.
* refactor: Move helper functions related to interaction responses into the `/responses` subdirectory.
* refactor: Move `verifySignature.ts` to `/util` directory.
* refactor: Move `getChannelInvites.ts` to `/channels` directory.
* refactor: Make `/invites` a subdirectory of `/guilds`.
* refactor: Move reaction-related helper functions into the /reactions subdirectory.
* refactor: Move `getApplicationInfo.ts` into the `/misc` directory.
* refactor: Move voice-related helper functions from `/voice` to `/guilds/voice`.
* fix: Update and simplify type imports.
* refactor: Rename `followChannel` -> `followAnnouncementChannel`.
* refactor: Rename `createForumPost` -> `startForumThread`.
* refactor: Normalise keyword `update` -> `edit`.
* refactor: Rename `addToThread` -> `addThreadMember`.
* refactor: Rename `ChannelOverwrite` -> `ChannelPermissions`.
* refactor: Rename `startTyping` -> `triggerTypingIndicator`.
* refactor: Rename `swapChannels` -> `editChannelPositions`.
* refactor: Rename `getPins` -> `getPinnedMessages`.
* refactor: Rename `publish` -> `crosspost`.
* refactor: Normalise keyword `modify` -> `edit`.
* refactor: Normalise naming.
* fix: Imports.
* style: Remove empty object.
* refactor: Split `getArchivedThreads` into three files for public, private and private joined threads.
* refactor: Split `getApplicationCommands` into two files, for guild and global commands respectively.
* refactor: Split `getApplicationCommand` into two files, for guild and global commands respectively.
* fmt: Organise imports.
* misc: Include application command reverse transformer.
* misc: Make ordering of fields match up with the Discord API.
* fix: Add missing payload properties.
* refactor: Split `createApplicationCommand` into two files, for guild and global commands respectively.
* refactor: Split `upsertApplicationCommand` into two files, for guild and global commands respectively.
* refactor: Split `upsertApplicationCommands` into two files, for guild and global commands respectively.
* fix: Update exports.
* refactor: Split `deleteApplicationCommand` into two files, for guild and global commands respectively.
* fix: Add missing exports.
* refactor: Separate file into two to make 1 file correspond to 1 endpoint.
* refactor: Separate file into two to make 1 file correspond to 1 endpoint.
* feat: Create `getInteractionResponse.ts`.
* refactor: Matching API: `InteractionResponse` -> `FollowupMessage`.
* refactor: Separate file into two to make 1 file correspond to 1 endpoint.
* refactor: Remove `/followups` directory in favour of newly created files in `/responses`.
* refactor: Rename `bot`/`self` -> `own`, `others` -> `user`.
* refactor: Split function into `deleteOwnReaction` and `deleteUserReaction`.
* refactor: Reduce code duplication in processing reaction string.
* refactor: Separate file into two to make 1 file correspond to 1 endpoint.
* refactor: Rename function name.
* misc: Add aliases to functions to reduce breakage.
* refactor: Rename `startForumThread` -> `createForumThread`.
* misc: Move types from helper file to `/types` and create transformer.
* fix: Imports.
* style: Rename parameter `command` -> `payload`.
* feat: Create interaction response transformer.
* misc: Adapt code to use the interaction response transformer.
* misc: Adapt code to use interaction response transformer.
* refactor: Re-include the keyword `Override` in the file + function names.
* refactor: Rename `updateVoiceState` -> `editVoiceState` for consistency reasons.
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com >
* BREAKING: docs(helpers): Document helper functions. (#2437 )
* refactor: Move stage instance helper functions into `/stages` subdirectory.
* refactor: Move `followChannel.ts` to `/announcements` subdirectory.
* refactor: Move `updateVoiceState.ts` to `/guilds` directory.
* refactor: Move `getPins.ts` to `/messages` directory.
* refactor: Move voice-related helper functions into `/voice` subdirectory.
* refactor: Rename `/scheduledEvents` to `/events`.
* refactor: Move widget-related helper functions into `/widgets` subdirectory.
* refactor: Make `/integrations` a subdirectory of `/guilds`.
* refactor: Move helper functions related to interaction responses into the `/responses` subdirectory.
* refactor: Move `verifySignature.ts` to `/util` directory.
* refactor: Move `getChannelInvites.ts` to `/channels` directory.
* refactor: Make `/invites` a subdirectory of `/guilds`.
* refactor: Move reaction-related helper functions into the /reactions subdirectory.
* refactor: Move `getApplicationInfo.ts` into the `/misc` directory.
* refactor: Move voice-related helper functions from `/voice` to `/guilds/voice`.
* fix: Update and simplify type imports.
* refactor: Rename `followChannel` -> `followAnnouncementChannel`.
* refactor: Rename `createForumPost` -> `startForumThread`.
* refactor: Normalise keyword `update` -> `edit`.
* refactor: Rename `addToThread` -> `addThreadMember`.
* refactor: Rename `ChannelOverwrite` -> `ChannelPermissions`.
* refactor: Rename `startTyping` -> `triggerTypingIndicator`.
* refactor: Rename `swapChannels` -> `editChannelPositions`.
* refactor: Rename `getPins` -> `getPinnedMessages`.
* refactor: Rename `publish` -> `crosspost`.
* refactor: Normalise keyword `modify` -> `edit`.
* refactor: Normalise naming.
* fix: Imports.
* style: Remove empty object.
* refactor: Split `getArchivedThreads` into three files for public, private and private joined threads.
* refactor: Split `getApplicationCommands` into two files, for guild and global commands respectively.
* refactor: Split `getApplicationCommand` into two files, for guild and global commands respectively.
* fmt: Organise imports.
* misc: Include application command reverse transformer.
* misc: Make ordering of fields match up with the Discord API.
* fix: Add missing payload properties.
* refactor: Split `createApplicationCommand` into two files, for guild and global commands respectively.
* refactor: Split `upsertApplicationCommand` into two files, for guild and global commands respectively.
* refactor: Split `upsertApplicationCommands` into two files, for guild and global commands respectively.
* fix: Update exports.
* refactor: Split `deleteApplicationCommand` into two files, for guild and global commands respectively.
* fix: Add missing exports.
* refactor: Separate file into two to make 1 file correspond to 1 endpoint.
* refactor: Separate file into two to make 1 file correspond to 1 endpoint.
* feat: Create `getInteractionResponse.ts`.
* refactor: Matching API: `InteractionResponse` -> `FollowupMessage`.
* refactor: Separate file into two to make 1 file correspond to 1 endpoint.
* refactor: Remove `/followups` directory in favour of newly created files in `/responses`.
* refactor: Rename `bot`/`self` -> `own`, `others` -> `user`.
* refactor: Split function into `deleteOwnReaction` and `deleteUserReaction`.
* refactor: Reduce code duplication in processing reaction string.
* refactor: Separate file into two to make 1 file correspond to 1 endpoint.
* refactor: Rename function name.
* misc: Add aliases to functions to reduce breakage.
* refactor: Rename `startForumThread` -> `createForumThread`.
* misc: Move types from helper file to `/types` and create transformer.
* fix: Imports.
* style: Rename parameter `command` -> `payload`.
* feat: Create interaction response transformer.
* misc: Adapt code to use the interaction response transformer.
* misc: Adapt code to use interaction response transformer.
* docs: Document announcement channel helpers.
* docs: Document forum channel helpers.
* docs: Document stage instance helpers.
* misc: Update wording.
* docs: Document thread channel helpers.
* refactor: Re-include the keyword `Override` in the file + function names.
* refactor: Rename `updateVoiceState` -> `editVoiceState` for consistency reasons.
* docs: Document channel helpers.
* docs: Use `parameters` instead of `options` for descriptions.
* docs: Document guild discovery helpers.
* docs: Document emoji helpers.
* docs: Add missing information about which gateway events are fired.
* docs: Document auto moderation helpers.
* docs: Document scheduled event helpers.
* docs: Document integration helpers.
* docs: Document invite helpers.
* refactor: Rename `editWidget` -> `editWidgetSettings`.
* docs: Document guild widget helpers.
* docs: 'event' -> 'gateway event'.
* refactor: Rename `getAuditLogs` -> `getAuditLog`.
* docs: Document guild helpers.
* refactor: Rename `upsert*ApplicationCommand` -> `edit*ApplicationCommand`.
* docs: Document application command helpers.
* docs: Improve consistency in indentation.
* docs: Document interaction response + follow-up message helpers.
* docs: Document gateway event firings for endpoints.
* refactor: Delete `editBotNickname` due to being a subset of `editMember`.
* docs: Fix inconsistency.
* docs: Document member helpers.
* docs: Document reaction helpers.
* docs: Improve consistency.
* docs: Document message helpers.
* docs: Document role helpers.
* docs: Document guild template helpers.
* docs: Fix incorrect gateway event.
* refactor: Rename `sendWebhookMessage` -> `executeWebhook`.
* docs: Document webhook helpers.
* docs: Document voice helpers.
* fmt: Run Deno formatter.
* docs: Improve consistency.
* refactor: Rename the `/widgets` directory to `/widget`.
* fmt: Run Deno formatter.
* misc: Re-add the deleted `editBotNickname()` helper. (#2443 )
* refactor: Move stage instance helper functions into `/stages` subdirectory.
* refactor: Move `followChannel.ts` to `/announcements` subdirectory.
* refactor: Move `updateVoiceState.ts` to `/guilds` directory.
* refactor: Move `getPins.ts` to `/messages` directory.
* refactor: Move voice-related helper functions into `/voice` subdirectory.
* refactor: Rename `/scheduledEvents` to `/events`.
* refactor: Move widget-related helper functions into `/widgets` subdirectory.
* refactor: Make `/integrations` a subdirectory of `/guilds`.
* refactor: Move helper functions related to interaction responses into the `/responses` subdirectory.
* refactor: Move `verifySignature.ts` to `/util` directory.
* refactor: Move `getChannelInvites.ts` to `/channels` directory.
* refactor: Make `/invites` a subdirectory of `/guilds`.
* refactor: Move reaction-related helper functions into the /reactions subdirectory.
* refactor: Move `getApplicationInfo.ts` into the `/misc` directory.
* refactor: Move voice-related helper functions from `/voice` to `/guilds/voice`.
* fix: Update and simplify type imports.
* refactor: Rename `followChannel` -> `followAnnouncementChannel`.
* refactor: Rename `createForumPost` -> `startForumThread`.
* refactor: Normalise keyword `update` -> `edit`.
* refactor: Rename `addToThread` -> `addThreadMember`.
* refactor: Rename `ChannelOverwrite` -> `ChannelPermissions`.
* refactor: Rename `startTyping` -> `triggerTypingIndicator`.
* refactor: Rename `swapChannels` -> `editChannelPositions`.
* refactor: Rename `getPins` -> `getPinnedMessages`.
* refactor: Rename `publish` -> `crosspost`.
* refactor: Normalise keyword `modify` -> `edit`.
* refactor: Normalise naming.
* fix: Imports.
* style: Remove empty object.
* refactor: Split `getArchivedThreads` into three files for public, private and private joined threads.
* refactor: Split `getApplicationCommands` into two files, for guild and global commands respectively.
* refactor: Split `getApplicationCommand` into two files, for guild and global commands respectively.
* fmt: Organise imports.
* misc: Include application command reverse transformer.
* misc: Make ordering of fields match up with the Discord API.
* fix: Add missing payload properties.
* refactor: Split `createApplicationCommand` into two files, for guild and global commands respectively.
* refactor: Split `upsertApplicationCommand` into two files, for guild and global commands respectively.
* refactor: Split `upsertApplicationCommands` into two files, for guild and global commands respectively.
* fix: Update exports.
* refactor: Split `deleteApplicationCommand` into two files, for guild and global commands respectively.
* fix: Add missing exports.
* refactor: Separate file into two to make 1 file correspond to 1 endpoint.
* refactor: Separate file into two to make 1 file correspond to 1 endpoint.
* feat: Create `getInteractionResponse.ts`.
* refactor: Matching API: `InteractionResponse` -> `FollowupMessage`.
* refactor: Separate file into two to make 1 file correspond to 1 endpoint.
* refactor: Remove `/followups` directory in favour of newly created files in `/responses`.
* refactor: Rename `bot`/`self` -> `own`, `others` -> `user`.
* refactor: Split function into `deleteOwnReaction` and `deleteUserReaction`.
* refactor: Reduce code duplication in processing reaction string.
* refactor: Separate file into two to make 1 file correspond to 1 endpoint.
* refactor: Rename function name.
* misc: Add aliases to functions to reduce breakage.
* refactor: Rename `startForumThread` -> `createForumThread`.
* misc: Move types from helper file to `/types` and create transformer.
* fix: Imports.
* style: Rename parameter `command` -> `payload`.
* feat: Create interaction response transformer.
* misc: Adapt code to use the interaction response transformer.
* misc: Adapt code to use interaction response transformer.
* docs: Document announcement channel helpers.
* docs: Document forum channel helpers.
* docs: Document stage instance helpers.
* misc: Update wording.
* docs: Document thread channel helpers.
* refactor: Re-include the keyword `Override` in the file + function names.
* refactor: Rename `updateVoiceState` -> `editVoiceState` for consistency reasons.
* docs: Document channel helpers.
* docs: Use `parameters` instead of `options` for descriptions.
* docs: Document guild discovery helpers.
* docs: Document emoji helpers.
* docs: Add missing information about which gateway events are fired.
* docs: Document auto moderation helpers.
* docs: Document scheduled event helpers.
* docs: Document integration helpers.
* docs: Document invite helpers.
* refactor: Rename `editWidget` -> `editWidgetSettings`.
* docs: Document guild widget helpers.
* docs: 'event' -> 'gateway event'.
* refactor: Rename `getAuditLogs` -> `getAuditLog`.
* docs: Document guild helpers.
* refactor: Rename `upsert*ApplicationCommand` -> `edit*ApplicationCommand`.
* docs: Document application command helpers.
* docs: Improve consistency in indentation.
* docs: Document interaction response + follow-up message helpers.
* docs: Document gateway event firings for endpoints.
* refactor: Delete `editBotNickname` due to being a subset of `editMember`.
* docs: Fix inconsistency.
* docs: Document member helpers.
* docs: Document reaction helpers.
* docs: Improve consistency.
* docs: Document message helpers.
* docs: Document role helpers.
* docs: Document guild template helpers.
* docs: Fix incorrect gateway event.
* refactor: Rename `sendWebhookMessage` -> `executeWebhook`.
* docs: Document webhook helpers.
* docs: Document voice helpers.
* fmt: Run Deno formatter.
* docs: Improve consistency.
* refactor: Rename the `/widgets` directory to `/widget`.
* fmt: Run Deno formatter.
* feat: Re-add `editBotNickname.ts`.
* Update helpers/members/editBotNickname.ts
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com >
* fix: tests
* fix: bot member tests
* fix: remove submode
* fix: edit bot member returns full member
Co-authored-by: Dorian Oszczęda <vxern@wordcollector.co.uk >
2022-09-08 20:12:34 -05:00
LTS20050703
297d5dbb28
add resume_gateway_url to DiscordReady ( #2415 )
...
* add resume_gateway_url to DiscordReady
* gateway: resumeGatewayUrl
* gateway: implement resumeGatewayUrl handle for shard
* formatting
* gateway: fix websocket url
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com >
2022-09-08 12:47:01 -04:00
Ean Milligan
a5d960b5f1
fix: getReations by removing the double URI encode ( #2438 )
2022-09-08 11:13:53 -05:00
LTS20050703
ec91822a73
feat:add modifyGuildMfaLevel ( #2416 )
...
* add modifyGuildMfaLevel
* plugins/permissions: editGuildMfaLevel
* tests/guilds: editGuildMfaLevel
* helpers/guilds: editGuuldMfaLevel return void
* editGuildMfaLevel return void
* Update plugins/permissions/src/guilds/editGuildMfaLevel.ts
* tests/guilds: fix editGuildMfaLevel
CACHED_COMMUNITY_GUILD_ID is not owned by the bot
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com >
2022-09-08 11:13:19 -05:00
Skillz4Killz
15f34f6d17
Update CONTRIBUTING.md ( #2435 )
...
* Update CONTRIBUTING.md
* Update CONTRIBUTING.md
2022-09-07 17:52:44 -05:00