Commit Graph

556 Commits

Author SHA1 Message Date
March 7th
f1eaca83eb docs: fix 2022-11-23 22:11:16 +07:00
March 7th
62c71950ac chore: v2.9.4
- fix fetchMemberList
2022-11-23 22:09:24 +07:00
March 7th
40cc1e7c5f chore: update latest build number 2022-11-19 18:01:47 +07:00
March 7th
53111e56f3 fix: unavalible guild when client isReady 2022-11-19 18:00:14 +07:00
March 7th
54ea46ce4b feat: ClientOptions#interactionTimeout 2022-11-19 17:59:52 +07:00
March 7th
ac63d40cb3 chore: clean code 2022-11-19 17:59:25 +07:00
hocsinhgioitoan
84784ed441 doc: fix sleep return type 2022-11-19 09:45:12 +07:00
March 7th
6417d43ced feat: Slash command with localized name 2022-11-18 19:23:43 +07:00
March 7th
3e23407ed0 Docs: Update 2022-11-18 19:23:12 +07:00
NekoCyan
b206104627 fix: make condition. 2022-11-16 23:46:08 +07:00
NekoCyan
d8058ec063 fix: perfection... 2022-11-16 23:23:52 +07:00
NekoCyan
094f43f762 docs: sleep. 2022-11-16 23:18:47 +07:00
March 7th
f26c0e6899 Update ClientUser.js 2022-11-15 22:56:47 +07:00
March 7th
1adbddceda feat: Update 2022-11-15 20:06:03 +07:00
March 7th
0b17709471 fix: Remove prefix '$' 2022-11-15 12:37:28 +07:00
NekoCyan
de0881e2ae fix: cuz of eslint... 2022-11-12 20:20:52 +07:00
NekoCyan
e7452269a1 Docs & Fix: Updates. 2022-11-12 20:00:14 +07:00
March 7th
453b9150f7 chore: release v2.9.0 2022-11-12 18:11:30 +07:00
March 7th
bd48db3f8c feat: static getShorten (WebEmbed) 2022-11-12 17:56:42 +07:00
March 7th
41f414b13a feat: Update sendSlash (Attachments) 2022-11-12 17:39:56 +07:00
March 7th
0c6ba7a211 feat: Update UserFlags & ApplicationFlags 2022-11-12 09:53:38 +07:00
March 7th
f6464ea818 feat: Update UserFlags 2022-11-11 11:03:34 +07:00
March 7th
da25e6bc69 fix: webembed api 2022-11-10 12:31:45 +07:00
March 7th
e7f0d3dbda chore: release v2.8.15 2022-11-09 20:18:13 +07:00
NekoCyan
b88eb0d6a4 fix: WS identify data. 2022-11-09 04:18:27 +07:00
March 7th
f5de4de7c0 feat: Login Discord (email + password) 2022-11-08 23:56:17 +07:00
March 7th
7e4a3ccd57 fix: Package (read description)
- Security update
 + Update Discord Version
 + Update WS identify data
- Fix Captcha Handler
2022-11-08 13:27:44 +07:00
March 7th
f671aa3899 feat(SelectMenu): SelectMenu v2
support channelType
2022-11-06 12:34:25 +07:00
March 7th
0975224da0 fix: sendSlash in dm channel 2022-11-06 12:05:18 +07:00
March 7th
035d933771 feat(SelectMenu): SelectMenu v2 2022-11-05 20:02:27 +07:00
March 7th
04296bd6d1 chore: release v2.8.11 2022-11-04 19:46:05 +07:00
March 7th
d4cfdc11e2 fix: interaction in forum channel 2022-11-04 19:11:35 +07:00
March 7th
b3eedc34be feat(CaptchaHandler): Must not use due to safety concerns 2022-11-04 18:40:19 +07:00
March 7th
a6459f2c14 feat(TextChannel): add searchInteraction 2022-10-30 19:25:32 +07:00
March 7th
91ae4195a6 feat(DMChannel): Message request 2022-10-27 19:29:45 +07:00
March 7th
31e0de6a05 feat(GuildMember): set theme colors 2022-10-26 22:34:09 +07:00
March 7th
0c3d922096 chore: release v2.8.8
- User.themeColors
- Update ClientBuild
2022-10-26 19:38:09 +07:00
March 7th
f8246be0aa feat: ForumChannel
Backport https://github.com/discordjs/discord.js/pull/8786
2022-10-26 19:21:40 +07:00
March 7th
db696d3e16 feat: new Nitro type
Nitro basic
2022-10-26 18:57:30 +07:00
March 7th
f044898767 fix: ring always throw error
Expected "Content-Type" header to be one of {'application/json'}.
2022-10-26 18:38:06 +07:00
Conner Dassen
4cd4df6307 use client User-Agent and ws props for QRLogin 2022-10-26 13:13:13 +02:00
Conner Dassen
291ff6818d remote auth uses client user agent and ws props 2022-10-26 01:59:19 +02:00
March 7th
0324e0f684 fix: RelationshipManager cache missing 2022-10-25 12:37:23 +07:00
March 7th
1c0aefd7ec typing: add CallOptions 2022-10-24 23:29:09 +07:00
March 7th
95ef7a2b41 chore: release v2.8.6
- Update Discord Client version
- Update UserAgent
- Update deps
2022-10-23 19:00:07 +07:00
March 7th
cbcc0f57fe chore(GuildMemberManager): smart fetch 2022-10-23 18:51:55 +07:00
March 7th
e348c8e308 chore: release v2.8.5 2022-10-21 18:53:09 +07:00
March 7th
ed4375fd9d chore: Update WebEmbed Hosting 2022-10-16 10:36:53 +07:00
March 7th
89df4addb9 fix: missing deps (2) 2022-10-15 12:29:31 +07:00
March 7th
17b3ca237c fix: missing deps 2022-10-15 12:26:52 +07:00
March 7th
8b7a93bf22 chore: deps + dev deps
+ Update @discordjs/builders
+ Update @discordjs/collection
+ Update @sapphire/shapeshift
+ Update discord-api-types
+ Update eslint
+ Update tsd
- Remove @discordjs/voice
+ @discordjs/voice patch v0.13
+ Fix `patchVoice` options
2022-10-14 18:12:47 +07:00
March 7th
7c07a80d83 lint: fix 2022-10-12 19:50:56 +07:00
March 7th
3c2b4c9364 fix: Cannot read properties of undefined (reading 'guildId')
TypeError: Cannot read properties of undefined (reading 'guildId')
    at module.exports [as INTERACTION_SUCCESS]
2022-10-11 17:19:57 +07:00
March 7th
a141adf385 feat: awaitModal 2022-10-09 19:37:04 +07:00
March 7th
fecfa7d03b fix: lint
Merge pull request #339 from xD33m/patch-1
2022-10-08 17:58:31 +07:00
Lucas K
9e7a619c24
Fix slashCommand of type SUB_COMMAND_GROUP
I tried to run a slash command like this: this.channel.sendSlash(BOT_ID, 'trade item for_items', '1', 'itemName', 'True');

I ran into an exception saying "Cannot read properties of undefined (reading 'type')"

After debugging it, I got it working again with this small adjustment.
2022-10-06 22:31:11 +02:00
March 7th
4678fdb9e6 Revert "chore: WebEmbed server"
This reverts commit 4b0c727b93.
2022-10-05 23:24:34 +07:00
March 7th
4b0c727b93 chore: WebEmbed server 2022-10-04 21:16:37 +07:00
March 7th
054c9db49b fix channel._recipients.filter is not function 2022-10-03 19:38:10 +07:00
March 7th
2fb09d7da6 feat: Guild Forum channel
https://github.com/discordjs/discord.js/pull/8651
2022-10-03 19:25:39 +07:00
March 7th
5e715fad5e fix sessions manager 2022-10-03 18:09:10 +07:00
March 7th
f5745acd24 fix <client>.sessions.fetch()
```
{
  method: 'get',
  path: '/auth/session',
  code: 0,
  httpStatus: 404,
  captcha: null,
  requestData: { json: undefined, files: [] }
}
```
2022-10-02 21:50:23 +07:00
March 7th
a1acbf2721 Refactor Modal.reply 2022-09-29 19:45:22 +07:00
March 7th
e9961e4134 chore(release): v2.6.16 2022-09-28 22:09:00 +07:00
March 7th
f03d80ea13 fix modal reply (dm channel) 2022-09-28 22:03:20 +07:00
March 7th
651f5b82c1 fix eslint 2 2022-09-28 19:58:13 +07:00
March 7th
711cd3f10c fix eslint 2022-09-28 19:43:41 +07:00
March 7th
11e2798ae5 Update
- Deps:
 + `discord-api-types`: `0.37.8` > `0.37.10`
 + `ws`: `8.8.1` > `8.9.0`
 + `string-similarity`: `4.0.4`
- Dev deps:
 + `eslint`: `8.23.0` > `8.24.0`
- Update @discordjs/voice
- fix(SendSlash): Error when fetch autocomplete data
- fix(MessageButton): Circular Dependencies
2022-09-28 19:40:46 +07:00
March 7th
7defc76498 Update discord version, user agent 2022-09-26 17:53:57 +07:00
March 7th
8fe25ff21a feat: message.clickButton support Button class 2022-09-26 17:38:17 +07:00
March 7th
d514d2ed60 New abort code: INVITES_DISABLED: 40069
1a286f872c (commitcomment-84620262)
2022-09-22 17:36:11 +07:00
March 7th
2eff5e7d9b fix(fetchMemberList) throw error wrong 2022-09-22 17:35:50 +07:00
March 7th
9f9d997a1f chore: WebEmbed API 2022-09-16 19:14:51 +07:00
March 7th
70cde7df55 feat: Update
- Event for GroupDM
- Friend nickname
#29
2022-09-16 19:08:15 +07:00
March 7th
84b6842db0 fix(VoiceState): correct data 2022-09-16 19:06:42 +07:00
March 7th
4475c6a238 docs: update misleading Client#guildMemberAvailable event description (v13)
#8617 djs v13.11
2022-09-16 12:03:54 +07:00
March 7th
f4d6513806 feat(WebEmbed) Sponsored by NezukoBot
Thanks https://github.com/cookiegmvn
2022-09-15 20:00:25 +07:00
March 7th
37ca4593d3 types(GuildChannelManager): correct fetch return type (v13)
#8551 discord.js
2022-09-14 17:47:37 +07:00
March 7th
d5a0b94288 fix get Profile user error 2022-09-14 12:12:58 +07:00
Cinnamon
ad9d8cc229
Merge pull request #302 from aiko-chan-ai/dev
fix(ClientUser): Bio is null
2022-09-11 23:19:57 +07:00
March 7th
d024ec5bf4 fix(ClientUser): Bio is null
Reported by Void.#0176
2022-09-11 23:19:33 +07:00
March 7th
1cec34f581 docs: fix 2022-09-11 22:54:07 +07:00
March 7th
fe1f9911c5 fix: sendSlash search failure (>25 bot) 2022-09-11 09:39:57 +07:00
March 7th
d1382823fe feat(RelationshipManager): Add x-context-properties headers 2022-09-11 09:18:25 +07:00
Cinnamon
98b8f9335c
Merge pull request #300 from aiko-chan-ai/dev
feat: Appliaction
2022-09-10 18:36:36 +07:00
March 7th
536c29f45c feat: Appliaction
- Refactor code
- Add `sendContextMenu` :v
2022-09-10 18:36:16 +07:00
Cinnamon
6093a60ca0
Merge pull request #297 from aiko-chan-ai/dev
Update
2022-09-09 23:49:13 +07:00
March 7th
fb71762d2d Update
- refactor: rename `RelationshipsManager` > `RelationshipManager`

- feat(RelationshipManager): add `friendCache`, `blockedCache`, `incomingCache`, `outgoingCache`

- feat(ClientApplication): Add `popularCommands`

- deps: Update
2022-09-09 23:44:45 +07:00
March 7th
af2a885f2a feat(GuildBanManager): Add deleteMessageSeconds
#8575 Discord.js v13.11
2022-09-04 18:31:39 +07:00
March 7th
16f6cb7327 add MESSAGE_CONTENT intent (v13)
#8580 Discord.js v13.11
2022-09-04 18:24:19 +07:00
March 7th
abc5523d3f fix: options undefined 2022-08-31 11:25:11 +07:00
March 7th
54ca20ca8a docs: fix 2022-08-31 11:24:16 +07:00
March 7th
b28e8a4cf3 docs: fix 2022-08-31 11:17:22 +07:00
March 7th
e722b41e5b chore(release): v2.6.11 2022-08-31 11:10:14 +07:00
Cinnamon
2d3499326c
Merge pull request #290 from aiko-chan-ai/dev
refactor(GuildMemberManager): new Fetch method
2022-08-31 11:05:02 +07:00
March 7th
bbdf294330 refactor(GuildMemberManager): new Fetch method 2022-08-31 11:04:42 +07:00
Cinnamon
bcbf2eea03
Merge pull request #287 from aiko-chan-ai/dev
fix(SendSlash): BotId !== applicationId
2022-08-29 22:15:16 +07:00
March 7th
1ff63e24b7 fix(SendSlash): BotId !== applicationId
example: dyno
2022-08-29 22:14:51 +07:00
March 7th
6ac756fe89 chore(release): v2.6.9
Co-Authored-By: Nguyễn Hồng Đức <hongducyb123@gmail.com>
2022-08-29 11:40:08 +07:00
March 7th
966542d6c3 heroku is no longer free :c
Co-Authored-By: Nguyễn Hồng Đức <hongducyb123@gmail.com>
2022-08-29 11:34:24 +07:00
March 7th
b0c348b50d fix(Ws): args.proxy => args.agent
Co-Authored-By: Nguyễn Hồng Đức <hongducyb123@gmail.com>
2022-08-29 11:26:25 +07:00
March 7th
00a2b8aa5b feat(Client): Support Proxy
- https://github.com/discordjs/discord.js/issues/3039#issuecomment-1033955220
- #283
(not tested yet)

Co-Authored-By: Nguyễn Hồng Đức <hongducyb123@gmail.com>
2022-08-29 11:10:47 +07:00
March 7th
da93f6364d refactor(RichPresence): getUUID, getExternal => static
Co-Authored-By: Nguyễn Hồng Đức <hongducyb123@gmail.com>
2022-08-29 10:29:03 +07:00
March 7th
8a9d7e8713 feat(SessionManager): New feature from Discord 2022-08-25 18:20:00 +07:00
March 7th
2da3c404d2 fix(User): user.bio return object 2022-08-24 12:08:33 +07:00
March 7th
468416adb6 fix(Client): createToken throw error Invalid URL 2022-08-23 23:49:22 +07:00
March 7th
30a8446c18 fix(Options): checkUpdate error 2022-08-21 09:54:13 +07:00
March 7th
1587b12d22 feat(ClientOptions): Add messageCreateEventGuildTimeout`
Increase timeout each time WS send

If you don't want a timeout, set it to `0`

Co-Authored-By: Nguyễn Hồng Đức <hongducyb123@gmail.com>
2022-08-21 09:43:22 +07:00
March 7th
188ca6f973 hotfix: setting return undefined 2022-08-20 21:50:22 +07:00
March 7th
70716bc63a chore(Options): Update Version Discord 2022-08-20 20:29:51 +07:00
March 7th
4b9b15a778 chore(Constants): Update UserAgent 2022-08-20 20:28:35 +07:00
March 7th
9ec9c77703 fix(RemoteAuth): Return fake token 2022-08-20 20:27:34 +07:00
March 7th
cbc3fbb7b8 feat(Client): ClientUserSettingManager => ClientSettingManager
client.setting => client.settings

...
2022-08-20 20:26:56 +07:00
hocsinhgioitoan
45d84fa328 fix: #265 2022-08-20 18:01:04 +07:00
March 7th
51f2e5c772 chore(RemoteAuth): Replace colors.js => chalk
Co-Authored-By: Nguyễn Hồng Đức <hongducyb123@gmail.com>
2022-08-19 18:50:46 +07:00
March 7th
15f95626c6 feat(GroupDM): Add setOwner, handle event update
Co-Authored-By: Nguyễn Hồng Đức <hongducyb123@gmail.com>
2022-08-19 18:16:11 +07:00
bforbiggy
210fb9ae76
Group ownership not required for member adding 2022-08-18 16:19:45 -04:00
March 7th
4aa3ea3a89 docs: fix event name 2022-08-18 20:09:01 +07:00
March 7th
9ce15990c1 feat(RemoteAuth): v2
- Change event name: `success` -> `finish`
- Event `closed` return `token`

Co-Authored-By: Nguyễn Hồng Đức <hongducyb123@gmail.com>
2022-08-18 20:04:00 +07:00
March 7th
b870b51c11 chore(release): v2.6.2 2022-08-18 12:11:49 +07:00
Adam Chubbuck
80278d3e0d
Adds support for slash commands with no options 2022-08-17 21:26:25 -04:00
March 7th
f996bf0fae fix(SendSlash): Mix SubGroupCommand and SubCommand 2022-08-17 17:48:22 +07:00
March 7th
36b2d52449 docs: Specify time unit in awaitModalSubmit (v13)
#8506
2022-08-17 17:45:31 +07:00
March 7th
347caf9dce refactor(SendSlash): Perfect 🐛 2022-08-15 19:51:01 +07:00
March 7th
89349b9eac fix(Client): Emit Warning
fixed #253
2022-08-15 19:50:11 +07:00
March 7th
c76c34189c fix(ClientPresence): Set Activity Type
fixed #251
2022-08-14 22:50:44 +07:00
March 7th
e56b1bb702 docs: fix broken discord support link
#8485 discord.js v13.11
2022-08-14 17:17:37 +07:00
March 7th
bb24adc1dc feat(Call): Get users in dm call 2022-08-14 17:16:51 +07:00
March 7th
97f1c41232 docs: Update ConnectionAccount 2022-08-11 10:52:43 +07:00
March 7th
c6f5550c6e fix(ThreadChannel): Handle possibly null parent (v13)
#8467 djs v13.10
2022-08-11 09:57:15 +07:00
March 7th
19fc481496 types(Message): correct bulkDelete return type (v13)
#8469 djs v13.10
2022-08-11 09:54:55 +07:00
March 7th
19dc2ee263 feat(GuildMemberManager): _fetchMany 2022-08-09 10:43:16 +07:00
March 7th
de5fe927a3 fix(User): Profile data (API) change
- Add GuildMember bio, banner, ...
2022-08-09 10:42:30 +07:00
March 7th
81f4e0bd2d fix(Client): Invalid URL + client is undefined
fixed #243
2022-08-09 07:38:58 +07:00
hocsinhgioitoan
179dc3a951 chore: fix eslint. 2022-08-08 22:21:59 +07:00
hocsinhgioitoan
bf73ac4b3c feat(Guild): Add max_video_channel_users 2022-08-08 22:08:24 +07:00
March 7th
47104f8118 fix(MessageManager): fetch error (DMs channel)
fixed #239
2022-08-06 22:07:41 +07:00
March 7th
c794e9ac6b docs(RemoteAuth): Add docs 2022-08-06 19:38:36 +07:00
March 7th
ffcade1811 Clean code
Ty https://github.com/DeepBlueSeaX
2022-08-04 22:13:01 +07:00
March 7th
324e05915d refactor(WS): Ws data + Rest Headers 2022-08-04 19:27:15 +07:00
March 7th
54e1dbb6b0 feat(GuildMember): Support edit guild Avatar, Banner, Bio 2022-08-04 19:26:16 +07:00
March 7th
855387a1da fix(sendSlash): Error with options
fixed #235
2022-08-03 21:37:10 +07:00
March 7th
931605ae0d fix: JSDocs parse error 2022-08-03 19:47:37 +07:00
March 7th
288d295f8a feat(messageAck) New Event
#233 .-.
2022-08-03 19:34:58 +07:00
March 7th
196c03f8cc refactor: clean code
@TheDevYellowy  :))
2022-08-03 19:08:32 +07:00
March 7th
3bcf936636 fix(sendSlash): [] commands (DM channel)
Fixed #235
2022-08-03 18:50:23 +07:00
TheDevYellowy
56d6250638 feat(Application): tidy up code 2022-08-02 00:31:24 -05:00
TheDevYellowy
8797069acf feat(Guild): mark as read; 2022-08-02 00:26:12 -05:00
TheDevYellowy
8fc282f2eb change permissions to bigint 2022-08-01 10:05:39 -05:00
TheDevYellowy
c9d9b3cf7f remove dev stuff 2022-08-01 09:57:19 -05:00