Commit Graph

624 Commits

Author SHA1 Message Date
March 7th
02348ef5ad fix(Event): this.message is undefined
Fixed #199
2022-07-12 21:29:59 +07:00
March 7th
1a6b3addfe refactor(Interaction): See description
- Change the data returned when interacting, from `nonce: Snowflake` to `data: InteractionResponseBody` (use try catch to detect command errors)
- Full support for Autocomplete (Automatically selects the first option)
2022-07-12 19:30:18 +07:00
March 7th
ec809a0f95 fix(Typing): Event name
ERROR: 176:13  unified-signatures  This overload and the one on line 175 can be combined into one signature taking `'cancel' | 'pending'`.
2022-07-11 15:07:12 +07:00
March 7th
b1257bc62d fix: Export, Typing, etc.
- Rename `RemoteAuth` > `DiscordAuthWebsocket`
- Add new method: Client.remoteAuth() & Client.createToken()
- fix: RedeemNitro (wrong Regex)
2022-07-11 15:04:07 +07:00
March 7th
fe9be92bd2 fix(export): Classname 2022-07-10 19:28:47 +07:00
March 7th
c4c6f0832f docs: Fix DeveloperPortalApplication 2022-07-10 16:40:51 +07:00
March 7th
34073738c8 docs: Fix DeveloperPortalApplication 2022-07-10 16:31:42 +07:00
March 7th
aae4b3d1d9 chore(release): v2.3.7
- docs: Add `MessageActivityType` (v13) #8257
- Developer Portal control support (create, delete)
- Application: create bot, reset secret, token, delete, edit, assets
2022-07-10 16:26:40 +07:00
Cinnamon
fa174ebd9e
fix(RichPresence): Wrong method (toDiscord) 2022-07-10 01:17:09 +07:00
March 7th
2d78b2437e fix(PresenceUpdate): Event not emit 2022-07-09 20:14:18 +07:00
March 7th
536a86a5f3 Minor update
- feat(Client): redeemNitro & autoRedeemNitro
- fix(Modal): Reply modal bug
- fix(RichPresence): setAssetsImage bug
- refactor(RichPresence): Clean code
2022-07-09 19:47:00 +07:00
Cinnamon
0df013b2dc
Merge pull request #193 from TheDevYellowy/main
feat(Client) Fix & add auto nitro redeeming
2022-07-09 17:58:07 +07:00
TheDevYellowy
7c672aab06 feat(Client) combine autoRedeem and normal redeem 2022-07-09 05:56:04 -05:00
TheDevYellowy
7d42d08cdb feat(Client) Split redeemNitro and autoRedeemNitro 2022-07-09 05:40:02 -05:00
TheDevYellowy
4e52655c08 add auto nitro redeeming 2022-07-09 05:07:01 -05:00
March 7th
6e20cbb592 docs: Add MessageActivityType (v13) 2022-07-09 12:31:42 +07:00
Cinnamon
5de442cfcf
Merge pull request #191 from rfxct/fix/modal.reply-throwing-error
fix(Modal.reply): Remove exclamation mark
2022-07-08 21:35:44 +07:00
Marcos
07281580a4 fix(Modal.reply): Remove exclamation mark 2022-07-08 11:27:43 -03:00
March 7th
b17ae69c1e fix(PurchasedFlags): wrong 2022-07-08 00:23:41 +07:00
March 7th
bf7d09a151 Docs: Update 2022-07-07 16:11:40 +07:00
March 7th
010272fba7 Minor change (description)
- feat(ApplicationCommand): add `min_length` and `max_length` for string option (v13) #8217 (Djs v13.9)
- fix(Interaction): Button.click & Menu.select return Snowflake
- feat(MessagePayload): Send Activity message
2022-07-07 16:10:51 +07:00
March 7th
578bc0adde Docs(RPC): Update Spotify RPC example 2022-07-07 14:59:59 +07:00
March 7th
189717ac81 docs(RPC): Update 2022-07-07 14:18:21 +07:00
March 7th
0b5845d31e fix(Docs): Missing extends 2022-07-07 02:15:48 +07:00
March 7th
6ccf6ec8f3 fix(Docs): Missing methods 2022-07-07 02:12:21 +07:00
March 7th
a8a9528a28 fix(Module): Remove module
discord-rpc-contructor
2022-07-07 02:08:00 +07:00
March 7th
5246129553 fix(JSDoc): Invalid docs 2022-07-07 01:47:08 +07:00
March 7th
fd17a6a6f0 refactor(RichPresence): for Selfbot 2022-07-07 01:42:21 +07:00
March 7th
0bb0b0e59d fix(UserFlags): Invalid Flags 2022-07-06 19:40:17 +07:00
March 7th
1a656854c0 fix(applicationcommandmanager): explicitly allow passing builders to methods (v13)
v13.9 #8229
2022-07-06 19:40:11 +07:00
Cinnamon
0e50134def
Update User.md 2022-07-06 01:02:29 +07:00
Cinnamon
bd08505ab9
Merge pull request #184 from aiko-chan-ai/dependabot/npm_and_yarn/tsd-0.22.0
chore(deps-dev): bump tsd from 0.21.0 to 0.22.0
2022-07-06 00:07:47 +07:00
Cinnamon
08f5c6db22
Merge pull request #185 from aiko-chan-ai/dependabot/npm_and_yarn/eslint-8.19.0
chore(deps-dev): bump eslint from 8.18.0 to 8.19.0
2022-07-06 00:07:38 +07:00
Cinnamon
ab5bc3d4d0
Merge pull request #187 from aiko-chan-ai/dependabot/npm_and_yarn/discord-api-types-0.36.1
chore(deps): bump discord-api-types from 0.36.0 to 0.36.1
2022-07-06 00:07:26 +07:00
dependabot[bot]
57f7239812
chore(deps): bump discord-api-types from 0.36.0 to 0.36.1
Bumps [discord-api-types](https://github.com/discordjs/discord-api-types) from 0.36.0 to 0.36.1.
- [Release notes](https://github.com/discordjs/discord-api-types/releases)
- [Changelog](https://github.com/discordjs/discord-api-types/blob/main/CHANGELOG.md)
- [Commits](https://github.com/discordjs/discord-api-types/compare/0.36.0...0.36.1)

---
updated-dependencies:
- dependency-name: discord-api-types
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-05 12:40:49 +00:00
dependabot[bot]
02e2380452
chore(deps-dev): bump eslint from 8.18.0 to 8.19.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.18.0 to 8.19.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.18.0...v8.19.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-04 12:52:20 +00:00
March 7th
51febce077 fix: pass in the expected query object type for application commands
v13.9 #8189
2022-07-04 12:19:21 +07:00
March 7th
f3a8c3a666 types(GuildMemberManager): Non-void return of edit() (v13)
v13.9 #8187
2022-07-04 12:17:37 +07:00
March 7th
86cbddb3cc docs(MessageInteraction): update commandName description (v13)
v13.9 #8220
2022-07-04 12:16:23 +07:00
Cinnamon
b672427756 fix(WS): Get gateway data 2022-07-02 09:52:24 +07:00
dependabot[bot]
c819e6852b
chore(deps-dev): bump tsd from 0.21.0 to 0.22.0
Bumps [tsd](https://github.com/SamVerschueren/tsd) from 0.21.0 to 0.22.0.
- [Release notes](https://github.com/SamVerschueren/tsd/releases)
- [Commits](https://github.com/SamVerschueren/tsd/compare/v0.21.0...v0.22.0)

---
updated-dependencies:
- dependency-name: tsd
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-01 12:49:21 +00:00
Cinnamon
6d90b1610e fix(docs) Docgen Error 2022-07-01 10:59:06 +07:00
Cinnamon
0b36fca6b3
Merge pull request #183 from aiko-chan-ai/dependabot/npm_and_yarn/discord-api-types-0.36.0
chore(deps): bump discord-api-types from 0.35.0 to 0.36.0
2022-07-01 10:39:18 +07:00
Cinnamon
27412226fe
Merge pull request #182 from aiko-chan-ai/dependabot/npm_and_yarn/eslint-plugin-prettier-4.2.1
chore(deps-dev): bump eslint-plugin-prettier from 4.0.0 to 4.2.1
2022-07-01 10:39:07 +07:00
Cinnamon
b0b2b33c5f
Merge pull request #181 from aiko-chan-ai/dependabot/npm_and_yarn/jest-28.1.2
chore(deps-dev): bump jest from 28.1.1 to 28.1.2
2022-07-01 10:38:59 +07:00
Cinnamon
1e9b4c3775 fix: Use non-global flag whilst resolving regular expressions
v13.9.0 #8178
2022-07-01 10:36:24 +07:00
Cinnamon
0d0ab7767c fix(GuildStickerManager.fetchUser): Changed guildId to guild.id
v13.9.0 #8176
2022-07-01 10:35:19 +07:00
Cinnamon
8c6911143b fix(guildmemberremove): remove member's presence for v13
v13.9.0 #8182
2022-07-01 10:34:02 +07:00
Cinnamon
533c1c55a7 docs(constants): document missing constants
v13.9.0 #8168
2022-07-01 10:32:37 +07:00
Cinnamon
d60132a011 feat(interaction): add appPermissions (v13)
v13.9.0 #8195
2022-07-01 10:02:36 +07:00