Commit Graph

466 Commits

Author SHA1 Message Date
Elysia
dcb9d087de feat: **BETA** ClydeAI
**BETA**
2023-04-02 13:18:35 +07:00
Elysia
d1d842098a chore: Miscellaneous fixes
#9271 djs

> Backports the following pull requests to version 13:
>
> * docs: describe private properties #8879
> * fix(snowflake): snowflakes length #9144
> * fix(Message): `bulkDeletable` permissions should be retrieved later for DMs #9146
> * fix(Message#editable): update editable check in threads locked #9216
> * fix: add support for new guild feature `GUILD_WEB_PAGE_VANITY_URL` #9219
> * fix(AutocompleteInteraction): Send `name_localizations` correctly #9238
> * fix(ThreadManager): Respect `cache` and `force` in fetching #9239
> * docs(FetchArchivedThreadOptions): `before` respects `archive_timestamp`, not creation timestamp #9240
> * refactor(FetchThreadsOptions): Remove `active` #9241
> * docs: differ `User#send` #9251
> * docs: add more examples #9252
> * fix(ClientUser): No mutation on edit #9259
> * fix: resolving string bitfield #9262
> * refactor: call `GuildBanManager#create()` directly #9263
> * docs(Role): Fix example for `comparePositionTo()` #9270
> * docs: fix compare position example #9272
> * fix: Keep symbols in actions manager #9293
2023-04-02 12:46:18 +07:00
Elysia
3e5058c828 feat: update
- update deps
- node-fetch v3 > v2
- ...
2023-03-21 18:47:11 +07:00
Elysia
da5479b901 feat: RichPresence support protocol 2023-03-19 18:49:24 +07:00
Elysia
456644b16b fix: fix: select menu error 2023-03-17 19:02:49 +07:00
Elysia
5cc8aeffad fix: select menu not found 2023-03-16 23:41:10 +07:00
Elysia
1ea9a2d651 fix(ThreadChannel): fetch starter message properly
#9217 djs
2023-03-12 11:18:07 +07:00
Elysia
b0dec151ae chore: v2.11.4 2023-03-05 19:10:22 +07:00
Elysia
ee906b544e feat: new class Call 2023-03-05 17:05:40 +07:00
Elysia
11ac55fcf0 Update WebEmbed.js 2023-03-05 01:51:19 +07:00
Elysia
051b7d88a6 feat: v13 support SUPPRESS_NOTIFICATIONS flag
#9184 djs
2023-03-02 22:11:21 +07:00
Elysia
808adeb016 feat: new select menu (v2)
#9174 djs
2023-02-28 13:42:35 +07:00
Elysia
ba22a5f550 fix: client.destroy() 2023-02-28 13:18:09 +07:00
Elysia
d5b2b62a44 feat(Guild): topEmojis 2023-02-21 19:01:26 +07:00
Elysia
dc477b353e fix(ClientUser): setSamsungActivity 2023-02-21 17:40:57 +07:00
Elysia
e2076f7087 feat(ClientUser): setSamsungActivity 2023-02-21 16:53:34 +07:00
Vaibhav
32ddce6d26
Merge branch 'aiko-chan-ai:main' into main 2023-02-21 09:28:22 +00:00
Kizzy
3a3c3cd437 feat(ClientUser): add Samsung Activity option 2023-02-21 14:55:01 +05:30
Elysia
23d59d70ea feat v13: add addFollower on GuildChannelManager
#9050 djs
2023-02-21 14:25:40 +07:00
Elysia
fae7c596d1 feat(GuildMember): v13 add flags 2023-02-19 12:07:03 +07:00
Elysia
92f21d9b9c feat: v13 applicationCommandPermissionsUpdate event 2023-02-19 12:01:37 +07:00
Elysia
5016477180 feat: Disable Client.setEmail()
#535
2023-02-16 23:38:44 +07:00
Elysia
e683819cf0 fix #539 2023-02-15 18:59:54 +07:00
Elysia
6ec5d808e8 feat: metadata (SpotifyRPC) #537
hmm
2023-02-15 18:54:47 +07:00
Elysia
a8c08822ff feat(Guild): setVanityCode
Co-Authored-By: Chino-chan <93425627+Tungchaphet@users.noreply.github.com>

#533
2023-02-14 12:41:06 +07:00
Elysia
7329a53b34 feat: v13 guildAuditLogEntryCreate event
#9092 djs
2023-02-12 15:52:03 +07:00
Elysia
f28ea5c031 feat: v13 safety alerts channel and mention raid protection
#9073 djs
2023-02-12 15:30:49 +07:00
Elysia
0f97dc03bd feat v13: Support pagination for fetching thread members
#9045 djs
2023-02-05 15:14:42 +07:00
Elysia
f70663aba1 fix: Minor forums cleanup
#9033 djs
2023-02-05 15:05:37 +07:00
Elysia
9ba2c5e0d9 feat: MessageSelectMenu 2023-02-05 14:53:57 +07:00
March 7th
361352d773 feat(ClientApplication): v13 add role connections
#9072 djs
2023-01-26 14:10:27 +07:00
March 7th
2c4df35bc1 feat (Webhook): v13 add channel prop
#9074 djs
2023-01-26 13:52:12 +07:00
March 7th
377adec3ae feat: Role subscriptions
#9040 djs
2023-01-26 13:48:53 +07:00
March 7th
4c838a5e26 feat: Switch User
test #477
2023-01-26 13:40:51 +07:00
Elysia
3c9115730c
Update GuildBoost.js 2023-01-19 18:16:41 +07:00
March 7th
1e5e855ca0 feat: thread channel
fix: ThreadManager#fetchArchived()
feat: ThreadChannel#firstMessage
todo: #486
2023-01-18 14:24:06 +07:00
March 7th
597eb2979c feat: add INVITES_DISABLED guild feature
#9051 djs
2023-01-17 18:47:44 +07:00
March 7th
2ecf50b131 feat: backport automod 2023-01-14 18:05:40 +07:00
March 7th
4fa5088afa docs(ThreadEditOptions): Move info tag back to invitable
#9021 djs
2023-01-12 23:35:38 +07:00
March 7th
83f4181ec7 refactor: Move me and add fetchMe() (fix) 2023-01-11 18:03:13 +07:00
March 7th
bacb672045 fix: eslint 2023-01-10 23:18:53 +07:00
March 7th
f53d329462 refactor: Move me and add fetchMe()
#9029 djs
2023-01-10 18:08:05 +07:00
March 7th
85d2bdbdc4 docs: Add missing @extends
#9028 djs
2023-01-08 14:39:47 +07:00
March 7th
eaf8167ce4 fix(ThreadChannel): reason as second parameter
#9023 djs
2023-01-08 14:35:37 +07:00
March 7th
57d4628d2b types(ThreadEditOptions): Add appliedTags
#9022 djs
2023-01-08 14:32:25 +07:00
March 7th
e966a5b262 docs(ThreadEditOptions): Move info tag back to invitable
#9021 djs
2023-01-08 14:30:57 +07:00
March 7th
4121859458 fix: Import errors correctly
djs #9030
2023-01-08 14:22:51 +07:00
March 7th
6dcef09024 feat: GuildSettingManager
Co-Authored-By: Yellowy <64450187+TheDevYellowy@users.noreply.github.com>
2023-01-08 14:06:42 +07:00
Yellowy
79942b987e feat(guild): mute guild 2023-01-07 15:06:28 -07:00
March 7th
beee94c9bc feat(Guild): Add max_stage_video_channel_users
#8422 djs
2023-01-06 18:32:11 +07:00
March 7th
aa04fd7311 feat(GuildAuditLogs): Support after
#9012 djs
2023-01-06 18:14:41 +07:00
March 7th
27dca8890a feat: user avatar decoration
#9018 djs
2023-01-06 18:08:20 +07:00
March 7th
cada44a37a feat: BillingManager (test)
guild boost
2023-01-05 18:42:17 +07:00
March 7th
affcf5e166 feat: Update (see description)
```diff
+ fix: Discord Ban (invalid headers)
+ fix: acceptInvite not working (invalid captcha data)
+ feat: automod update
- feat: remove `nopecha`
- feat: remove Client#updateCookie & ClientOptions#autoCookie
```
2022-12-27 17:27:34 +07:00
March 7th
e407700865 fix: automod 2022-12-26 20:38:53 +07:00
March 7th
557a77e07b chore: deprecated resolveAutoArchiveMaxLimit, MAX option
see my commit in discord.js
2022-12-26 18:00:14 +07:00
March 7th
b3d0a859f4 fix: automod 2022-12-26 17:53:25 +07:00
March 7th
609c9acc78 fix(User): get VoiceState from guild cache 2022-12-25 18:17:42 +07:00
March 7th
ebdd92240b feat(ForumChannel): setDefaultForumLayout & fix bug 2022-12-25 10:35:06 +07:00
March 7th
d75d457486 feat: premiumUsageFlags 2022-12-22 19:37:05 +07:00
TheDevYellowy
047c4d0005 refactor: add to index.d.ts & change MFACode type 2022-12-22 03:37:59 -08:00
TheDevYellowy
2c85a763f4 feat: remove a team 2022-12-22 03:14:10 -08:00
TheDevYellowy
baf038539b feat: add and remove members from a team 2022-12-22 03:01:06 -08:00
March 7th
bee76dbf9e fix: addBot
#452
2022-12-22 12:03:50 +07:00
March 7th
294005bac7 feat: automod
#8886 djs
2022-12-20 22:46:50 +07:00
March 7th
ef2deb64f7 Update MessageSelectMenu.js 2022-12-20 22:22:58 +07:00
March 7th
98450be221 fix: #449 2022-12-20 22:20:09 +07:00
March 7th
e80e4f4843 fix: disable autoVerify option 2022-12-18 13:18:19 +07:00
March 7th
6ef8970a1e feat: User#mutualFriends 2022-12-13 14:55:51 +07:00
March 7th
ad8bed71c8 Update Modal.js 2022-12-12 19:55:26 +07:00
March 7th
cc86c9b4f1 fix: Modal reply response 2022-12-12 19:28:13 +07:00
March 7th
d81b3b8e28 Update Presence.js 2022-12-12 18:43:33 +07:00
March 7th
cf11132275 fix: missing all other status 2022-12-12 18:42:27 +07:00
March 7th
be786d3876 feat: reject full log (InteractionTimeout) 2022-12-12 18:40:55 +07:00
March 7th
a3ce786fe6 refactor: Modal#reply 2022-12-08 15:14:17 +07:00
March 7th
30f17fb657 chore: v2.9.12 2022-12-05 18:35:02 +07:00
March 7th
8b4924e147 feat: update (see description)
- Remove `bignumber.js`
- Fix `circular dependency`
- Fix: missing activity.name (SpotifyRPC)
- Refactor code
- Update UserAgent
2022-12-05 18:30:45 +07:00
March 7th
7d34a5de24 feat: Add new flags, new option for Message#selectMenu 2022-12-04 01:46:40 +07:00
March 7th
720848131d refactor: clickButton and selectMenu 2022-12-04 01:13:19 +07:00
March 7th
b191df3e99 feat: ClickButton with location 2022-12-02 18:29:57 +07:00
NekoCyan
e197656225 feat(Message): .clickButton() click the only one. 2022-12-02 13:11:55 +07:00
March 7th
6d170f3555 fix: friendNicknames cache missing 2022-12-02 12:03:51 +07:00
March 7th
6519d4d9c2 feat: Using new attachment API (2)
Slash command
2022-11-28 23:24:31 +07:00
March 7th
c70dc733e2 feat: Using new attachment API 2022-11-27 19:45:58 +07:00
March 7th
f8a8ac7fc6 feat: add Message#bulkDeletable (v13)
#8761 djs
2022-11-26 22:17:33 +07:00
March 7th
69c5eb94d2 feat(InteractionResponses): add message parameter (v13)
#8838 djs
2022-11-26 22:02:34 +07:00
March 7th
b6d290d545 fix(Activity): Fix equals() not checking for differing emoji (v13)
#8842 djs
2022-11-26 21:51:09 +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
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
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
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
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
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
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
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
f044898767 fix: ring always throw error
Expected "Content-Type" header to be one of {'application/json'}.
2022-10-26 18:38:06 +07: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
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
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
a1acbf2721 Refactor Modal.reply 2022-09-29 19:45:22 +07:00
March 7th
f03d80ea13 fix modal reply (dm channel) 2022-09-28 22:03:20 +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
8fe25ff21a feat: message.clickButton support Button class 2022-09-26 17:38:17 +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
f4d6513806 feat(WebEmbed) Sponsored by NezukoBot
Thanks https://github.com/cookiegmvn
2022-09-15 20:00:25 +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
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
March 7th
536c29f45c feat: Appliaction
- Refactor code
- Add `sendContextMenu` :v
2022-09-10 18:36:16 +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
1ff63e24b7 fix(SendSlash): BotId !== applicationId
example: dyno
2022-08-29 22:14:51 +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
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
188ca6f973 hotfix: setting return undefined 2022-08-20 21:50:22 +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