Commit Graph

705 Commits

Author SHA1 Message Date
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
TheDevYellowy
7129d63d81
Merge branch 'aiko-chan-ai:main' into main 2022-08-01 07:56:23 -07:00
TheDevYellowy
8bccb552db it works but we may need a captcha key 2022-08-01 09:55:30 -05:00
March 7th
8119666bcb fix(ESLint) 2022-08-01 13:02:58 +07:00
March 7th
cde18dc37e fix(MessageMentions): ignoreRepliedUser option in has() (v13)
#8365 v13.9.2
2022-08-01 12:37:46 +07:00
March 7th
7cf216fabf fix(GuildChannelManager): allow unsetting rtcRegion (v13)
#8362 v13.9.2
2022-08-01 12:33:34 +07:00
March 7th
8946f9ab35 feat(Slash): Optional value 2022-08-01 12:31:54 +07:00
March 7th
4be5656f3d fix(ClientUser): Method (require nitro) not work 2022-08-01 12:31:18 +07:00
TheDevYellowy
1f587eff99 move the invite function to Application 2022-07-31 00:42:51 -05:00
TheDevYellowy
f95436f44b bot inviting is somewhat working 2022-07-30 05:22:31 -05:00
March 7th
6b698183f9 feat(Constants): Update more Discord API Error 2022-07-26 20:45:48 +07:00
March 7th
136bf7ae50 fix(Button + SelectMenu): wrong applicationId #222 2022-07-26 10:16:27 +07:00
March 7th
0a695d9edc fix(ThreadChannel): Omit webhook fetching (v13)
#8352 v13.10.0
2022-07-26 10:01:20 +07:00
March 7th
a3f8f9f0fa refactor(embed): deprecate addField
#8318 v13.9.1
2022-07-26 09:57:57 +07:00
March 7th
aecc7edec5 refactor(Presence): Remove redundant date parsing (v13)
#8341 v13.9.1
2022-07-26 09:55:32 +07:00
March 7th
94c0ae135a fix(ApplicationCommandManager): allow passing 0n to defaultMemberPermissions (v13)
#8312 v13.9.1
2022-07-26 09:53:57 +07:00
March 7th
8edbf22e7c fix(RPC): Button invalid (ipc) 2022-07-23 19:24:43 +07:00
March 7th
eb1aa1458d feat(Client): Add authorizeURL method 2022-07-23 19:21:37 +07:00
March 7th
46800d957b fix(RichPresence) IPC Convert 2022-07-23 19:21:09 +07:00
March 7th
7e44c3ff82 feat(RichPresence): Support RPC Discord Apps (IPC) 2022-07-23 18:56:27 +07:00
March 7th
97db955466 feat(Relationships): Change enum 2022-07-23 18:55:53 +07:00
March 7th
5ac7dcf853 feat: Add new ApplicationFlags 2022-07-22 11:08:40 +07:00
March 7th
7d993c607e fix: Collection is not a constructor
v1.0.0 :v
2022-07-19 20:32:01 +07:00
March 7th
0a6c6d6c10 chore(deps) Description
- @discordjs/collection v0.7 > v1.0
- @discordjs/voice v0.10 > v0.11
- Update patch @discordjs/voice
2022-07-19 20:31:14 +07:00
March 7th
f7db2384b9 feat(RelationshipsManager): new cancelFriendRequest method
Extends (add Typings)
2022-07-19 20:27:32 +07:00
Mantou
64e6dae193
feat(RelationshipsManager): new cancelFriendRequest method 2022-07-19 18:50:41 +08:00
March 7th
110c8590a7 fix(PermissionOverwriteManager): mutates user
#8282 v13.9.0
2022-07-18 00:58:28 +07:00
March 7th
d454853679 fix(GuildChannelManager): Access resolveId correctly (v13)
#8297 v13.9.0
2022-07-18 00:57:25 +07:00
March 7th
0e38d4caf7 docs: add new HTTP Error Codes 50068 (v13)
#8273 v13.9.0
2022-07-18 00:56:30 +07:00
March 7th
84aa682bf6 feat(MessageManager): Add offset and limit (search method) 2022-07-17 22:26:50 +07:00
March 7th
600df364f4 fix: see description
- Spell Check
- Rewrite Docs
- Rewrite Enums
2022-07-17 17:52:28 +07:00
NekoCyan
44088b90fe
fix(nitroType): undefined. 2022-07-17 02:58:22 +07:00
March 7th
f0b45f981e chore(release): v2.3.8 2022-07-16 16:37:41 +07:00
March 7th
427ea92b88 fix(READY): Missing log 2022-07-16 15:50:48 +07:00
March 7th
83a064e689 fix(RPC): Invalid data 2022-07-16 15:43:11 +07:00
March 7th
4436e0ee85 fix: Spam log when client ready 2022-07-16 15:31:44 +07:00
March 7th
156cdd4918 feat(VoiceState): add user prop. 2022-07-16 00:50:27 +07:00
March 7th
3b5ac56f46 fix(GuildChannelManager): edit lockPermissions
#8267 - djs v13.9
2022-07-15 21:40:30 +07:00
March 7th
93d875c237 fix: Fetch message from NSFW Channel
fix #203
2022-07-15 21:35:23 +07:00
March 7th
a1c8093181 fix(DiscordAuthWebsocket): Show log when option.hideLog = true 2022-07-15 19:05:56 +07:00
March 7th
cbfe38f714 fix(VoiceState) channel return null (DM/Group) 2022-07-15 18:20:34 +07:00
March 7th
d09b7a7bf5 typing: method for User 2022-07-15 17:41:26 +07:00
March 7th
98467dc92d typing: replace respond data 2022-07-15 17:35:01 +07:00
March 7th
fad6d708b4 chore(release): v2.3.75
- fix: VoiceStateUpdate event not working (DM channels + Group DM channels)
- docs: add sendSlash method
- feat: Add new Event: callCreate, callUpdate, callDelete
- fix(GroupDM): method require Class
2022-07-15 17:26:25 +07:00
March 7th
fb6ab3f8e8 fix(MessageManager) fetch throw 'Missing Access' 2022-07-15 01:56:00 +07:00
March 7th
b4c3de0fdf Revert "Merge pull request #204 from websharik/main"
This reverts commit 40db78ea7d, reversing
changes made to 7d8b15b007.
2022-07-15 01:53:41 +07:00
March 7th
d59a5c30d0 Revert "Merge pull request #205 from websharik/main"
This reverts commit e284ef51ee, reversing
changes made to 40db78ea7d.
2022-07-15 01:53:23 +07:00
Lion
a39e645edc Lint 2022-07-14 20:06:01 +03:00
Lion
bf61917ee0 Fix channel.messages.fetch throw 'Missing Access' 2022-07-14 19:21:45 +03:00
March 7th
7d8b15b007 fix: autoRedeemNitro not working 2022-07-12 22:08:38 +07:00
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
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
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
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
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
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
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
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
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
Cinnamon
6d90b1610e fix(docs) Docgen Error 2022-07-01 10:59:06 +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
Cinnamon
354fe2a7be types: add missing shard types (v13)
v13.9.0 #8192
2022-07-01 09:59:57 +07:00
Cinnamon
6f6ba368b0 Docs(DiscordAPIError) Captcha 2022-06-30 12:23:58 +07:00
Cinnamon
3afe2f304e fix(Voice): Networking is undefined 2022-06-29 10:28:29 +07:00
Cinnamon
58b4179e81 feat(WebEmbed) Custom API, Custom ShortenAPI, and open-source API
https://github.com/aiko-chan-ai/WebEmbed
2022-06-27 13:23:00 +07:00
Cinnamon
3b2d88caf9 docs: Description 2022-06-26 13:54:43 +07:00
Cinnamon
736238f3df chore(release): version 2022-06-26 13:40:26 +07:00
Cinnamon
c097deeab4 dev(test) Test only 2022-06-26 11:53:37 +07:00
Cinnamon
d1457bbc9b chore(release): version
Android (Termux) support (maybe)
2022-06-26 10:06:05 +07:00
Cinnamon
ebfe2886ff chore(deps): bump @discordjs/voice 2022-06-26 09:40:04 +07:00
Cinnamon
cd70a91aaa fix(READY): Log and typing 2022-06-25 10:28:31 +07:00
Cinnamon
6068ffc1d8 feat(Client): Warning Message, Update UserAgent 2022-06-25 10:11:05 +07:00
Cinnamon
9e4c0a506b refactor(GuildMemberManager): Fetch members 2022-06-25 10:10:17 +07:00
Cinnamon
0ca1bf5397 fix(UserManager): CreateDM function 2022-06-25 10:09:49 +07:00
Cinnamon
5fd081b6dd refactor(Ready): Update module pls .... 2022-06-24 09:50:09 +07:00
Cinnamon
8b5eac8cf2 fix(WebSocketShard): backport error handler preservation on connections
https://github.com/discordjs/discord.js/pull/8164
v13.9.0
2022-06-24 09:16:13 +07:00
Cinnamon
3877bdf176 feat: partially backport perms v2 for v13
v13.9.0 :yay:
https://github.com/discordjs/discord.js/pull/8162
2022-06-24 09:14:55 +07:00
Cinnamon
4c0dfadc05 fix(VoiceChannel): NSFW property (v13)
https://github.com/discordjs/discord.js/pull/8161
v13.8.1
2022-06-24 08:50:57 +07:00
Cinnamon
64c7dd5dd7 docs: TextBasedChannel-> TextBasedChannels typos (v13)
https://github.com/discordjs/discord.js/pull/8155
2022-06-24 08:47:30 +07:00
Cinnamon
f6f3274878 feat(User): presenceFetch()
v12: user.presence
2022-06-23 10:25:02 +07:00
March 7th
2d044dceb4 Support Bots (maybe) 2022-06-17 13:34:42 +07:00
March 7th
f34994b6ca types(AutocompleteOption): backport fix and improve types
v13.8.1
2022-06-17 12:50:47 +07:00
March 7th
5e0eabd0e9 fix(AuditLog): default changes to empty array
v13.8.1
2022-06-17 12:50:32 +07:00
March 7th
1cf045050c types(AutocompleteOption): backport fix and improve types
v13.8.1
2022-06-17 12:48:45 +07:00
March 7th
206c699844 fix: destroy options during cleanup
v13.8.1
2022-06-17 12:48:31 +07:00
March 7th
8b98630169 fix(ModalSubmitInteraction): add isFromMessage() missing method
v13.8.1
2022-06-17 12:43:10 +07:00
March 7th
764191fecc Revert "feat(@discordjs/voice): Update"
This reverts commit 287a347602.
2022-06-16 23:46:56 +07:00
March 7th
287a347602 feat(@discordjs/voice): Update 2022-06-16 23:46:40 +07:00
March 7th
f7a6526111 fix(ClientOptions): Lint 2022-06-16 20:21:54 +07:00
March 7th
96eb5835c4 refactor(ClientOptions): remove $ prefix from ws.properties keys
https://github.com/discordjs/discord.js/pull/8094
v13.8.1 go brrr
2022-06-16 20:21:11 +07:00
March 7th
b435f9d20e refactor(ClientOptions): remove $ prefix from ws.properties keys
https://github.com/discordjs/discord.js/pull/8094
v13.8.1 go brrr
2022-06-16 20:17:08 +07:00
March 7th
f1c0bd07ad feat(TextBasedChannel): User cannot use bulkDelete 2022-06-16 18:55:38 +07:00
March 7th
dce9c8013c chore(release): version
- Bypass Discord Phone Verification
2022-06-16 18:50:25 +07:00
March 7th
9af5d8954a feat(DiscordAPIErrror): Support Captcha solve service 2022-06-16 18:20:18 +07:00
March 7th
bb51132bdb fix(TextBasedChannel): Search Slashcommand wrong 2022-06-16 17:41:42 +07:00
March 7th
e045e60fb0 feat(Document): Update 2022-06-16 12:34:03 +07:00
March 7th
007f0ef3b1 chore(release): version 2022-06-15 23:07:24 +07:00
March 7th
d2a766ef3b fix: comment code 2022-06-15 18:52:06 +07:00
March 7th
a344df8ccc refactor(Event): Update Events 2022-06-15 18:35:32 +07:00
March 7th
4ec46f014d feat(ClientUser): Add getMentions 2022-06-15 18:15:33 +07:00
March 7th
17a1a19f42 refactor(TextBasedChannel): sendSlash
Using REST API (without opcode 24, fix `command outdate` error)
2022-06-15 18:13:25 +07:00
March 7th
769cbb21d5 refactor(TextBasedChannel): sendSlash 2022-06-15 17:56:56 +07:00
March 7th
0963ab28e0 fix(searchInteraction): Support enums 2022-06-15 12:41:02 +07:00
March 7th
47d865db09 feat: add support for guild forums
waiting https://github.com/discordjs/discord.js/pull/7791
2022-06-15 11:34:03 +07:00
March 7th
520d8f9221 fix(guild): console.log 2022-06-15 02:32:00 +07:00
David Guttman
c8489bd48a fix: rename interaction_failure websocket handler
fixes #163
2022-06-14 12:18:14 -07:00
March 7th
131901fd6d refactor(ThreadManager): Rewrite function 2022-06-14 09:05:38 +07:00
March 7th
83c809cc32 fix(Event): name 2022-06-14 08:48:06 +07:00
Speedy
ca7232afc9
Add user account functionality for fetching active threads 2022-06-13 21:07:59 +01:00
March 7th
a318a40880 fix: Document
n+1
2022-06-14 00:07:36 +07:00
March 7th
e99dcedbd3 fix: Document
n
2022-06-14 00:06:11 +07:00
March 7th
2c5aaa93ef fix: Document 2022-06-14 00:04:59 +07:00
March 7th
3c7c574dd2 feat: Update Document 2022-06-14 00:03:51 +07:00
March 7th
dd2912fb8d chore(release): version 2022-06-13 23:53:43 +07:00
March 7th
1c09f6beb1 fix: markUnread 2022-06-13 19:13:03 +07:00
March 7th
6b89f7c184 fix: SlashCommand sending TextChannel 2022-06-13 18:24:41 +07:00
March 7th
07d52ee41b fix: opcode 24 (Interaction search function)
Todo: Rewrite slash command ...
2022-06-12 19:13:12 +07:00
March 7th
8eaa5e0c72 fix: channel.sendSlash is not function
Todo: fix opcode 24 error
2022-06-11 23:15:51 +07:00
March 7th
81bc22f388 fix: document 2022-06-11 20:17:27 +07:00
March 7th
c9f1010e54 fix: error
- Documents
- Enums
- Checkupdate function
- Update UserAgent
2022-06-11 20:13:52 +07:00
March 7th
21bbfe4aa2 fix(event): userSettingsUpdate memory leak 2022-06-10 15:51:31 +07:00
March 7th
83ce0a0f43 Update
- Warn msg
- Add `nonce` param (interaction)
2022-06-08 12:35:19 +07:00
March 7th
50cce53975 feat(guild): add mfa error code 2022-06-08 10:56:09 +07:00
March 7th
305ccaac90 v2.2.0
Discord.js v13.8.0
2022-06-06 11:21:36 +07:00
March 7th
832bc010c5 Update WebSocketShard.js 2022-06-06 10:30:06 +07:00
March 7th
c165824419 v2.1.0
fix: ClientUser.notes return empty Collection
fix: Recieve messages from large servers #72
feat: checkUpdate return Debug event (not console.log)
feat: RelationshipAdd event, param type return RelationshipTypes
feat: online status when login
feat: fix documents
2022-06-06 00:42:08 +07:00
DarkGuy10
513f2ebcc9 fix: set checkUpdate to false by default
closes #142
2022-06-04 19:29:16 +09:00
March 7th
6d2cbb442a Remove user.presence
Error (clientUser.presence)
2022-06-04 14:59:55 +07:00
March 7th
25a58ff998 Update UserFlags.js 2022-06-04 14:50:16 +07:00
March 7th
852db8048b fix 2022-06-04 14:32:35 +07:00
March 7th
b0172e6b51 Add some UserFlags (Undocument) 2022-06-04 14:00:20 +07:00
March 7th
26f56f1650 fix selfbot running very slow 2022-06-04 13:52:48 +07:00
March 7th
e3d842db53 Fix #121 and smail update 2022-06-04 13:26:53 +07:00
valadaptive
56940a2f36 Remove stray console.log 2022-05-23 05:39:02 -04:00
March 7th
afa03f25aa fix wembed 2022-05-22 12:43:30 +07:00
March 7th
c08085cecc Update WebEmbed.js 2022-05-22 12:39:24 +07:00
March 7th
5081d4a27b fix ring 2022-05-21 21:36:31 +07:00
March 7th
7c25152e1d Update Voice.js 2022-05-21 21:22:40 +07:00
March 7th
f60f5bc691 @discordjs/voice 0.10.0-dev patch 2022-05-21 21:02:00 +07:00
March 7th
f9ec41c9b6 Calling support (1) 2022-05-21 20:58:33 +07:00
March 7th
c201e7da69 Discord.js v13.7 2022-05-14 15:06:15 +07:00
March 7th
fc7f02e85b Fix Webhook send #108
DiscordAPIError: Invalid request origin
2022-05-14 12:12:10 +07:00
March 7th
9c8d53076c fix #105 2022-05-13 18:17:22 +07:00
March 7th
2b2c6e184c friend invite 2022-05-12 11:58:53 +07:00
March 7th
46ba5d3058 update document 2022-05-11 20:28:32 +07:00
March 7th
8355a8e135 maybe minor update ? 2022-05-11 20:19:04 +07:00
March 7th
95cc955da9 document 2022-05-06 22:25:27 +07:00
March 7th
391d972d98 document 2022-05-06 21:17:20 +07:00
March 7th
6b0b670488 Notify only when a new version is available #91 2022-05-06 17:45:16 +07:00
March 7th
79075aba69 Update UA #88 2022-05-05 17:34:02 +07:00
Haneul Seong
0000000258
Remove GoogleBot User-agent 2022-05-05 13:05:22 +07:00
March 7th
c19095e0e1 fix #86 2022-05-04 11:49:16 +07:00
March 7th
c6316814eb fix 2022-05-03 14:26:19 +07:00
March 7th
a7468df6de fix bug 2022-05-03 14:21:44 +07:00
March 7th
da02043957 update setting 2022-05-03 14:15:02 +07:00
March 7th
69e5a2e73c fix bug .-. 2022-05-03 12:50:59 +07:00
March 7th
25b2d9fdaa Login using QRcode 2022-05-03 12:29:10 +07:00
March 7th
615c772280 feat: <Message>.markUnread() #65
and script check update module .-.
2022-04-29 12:35:28 +07:00
March 7th
c7cc764718 readyStatus
The option is set to auto-on. Automatically sync status from other Client (web, desktop) to selfbot
2022-04-29 12:13:59 +07:00
March 7th
80115acecd New Event (userSettingsUpdate) 2022-04-29 12:12:50 +07:00
March 7th
9ee3f1e0c3 Fix Interaction (EPHEMERAL message) 2022-04-29 12:12:18 +07:00
March 7th
ca65ee382c fix setDeaf + setMute 2022-04-28 18:25:40 +07:00
March 7th
ce37b72dc3 so... 1.3.92 ? 2022-04-27 20:58:06 +07:00
March 7th
e4c0c84984 .-. 2022-04-27 20:37:32 +07:00
March 7th
7c5da85670 update bio 2022-04-27 10:48:33 +07:00
March 7th
6cb13101d8 Revert "Merge pull request #54 from lazuee/main"
This reverts commit d303e0420a, reversing
changes made to 43045f0b70.
2022-04-26 12:54:30 +07:00
March 7th
d303e0420a
Merge pull request #54 from lazuee/main
[Suggestion] Separate the content and webembed
2022-04-26 12:54:16 +07:00
March 7th
43045f0b70 Automatic update of _Sidebar.md from github-wiki-sidebar 2022-04-26 12:41:31 +07:00
Nguyễn Hồng Đức
4bada5b444 Fix Reddem 2022-04-25 20:22:24 +07:00
March 7th
817aa690ff Adding feature
voiceState.getPreview(): Return URL Image Stream .-.
2022-04-25 19:28:45 +07:00
lazuee
c08042d64f
Update Webhook.js
oof,..
2022-04-22 01:55:51 +08:00
lazuee
8749c50f0a
Update Webhook.js 2022-04-22 01:51:28 +08:00
lazuee
2558771083
Update Webhook.js 2022-04-22 01:49:28 +08:00
lazuee
225eac5ed2
Update TextBasedChannel.js 2022-04-22 00:01:25 +08:00
lazuee
d626efb96b
Update MessagePayload.js 2022-04-21 23:55:56 +08:00
March 7th
d227e0584b Fix bug (Hot fix) 2022-04-17 22:22:55 +07:00
March 7th
f165491083 GuildMember.fetch() fix 2022-04-17 17:21:54 +07:00
March 7th
44a7f4cb60 Update MessagePayload.js
Reported by Dux#2925 [881113828195205131]
2022-04-17 17:20:27 +07:00
March 7th
e9ba80a325 RPC with Custom Image
and fix something
2022-04-17 00:11:46 +07:00
March 7th
70637bb8d6 ClientSetting.setCustomStatus()
.-.
2022-04-16 22:56:18 +07:00
March 7th
2a559f7d36 Eslint fix all 2022-04-16 19:01:05 +07:00
March 7th
522f7f756a copy eslint + tslint from Discord.js (v13) 2022-04-16 17:44:43 +07:00
March 7th
7fc069f4b9 update sth 2022-04-16 11:59:23 +07:00
March 7th
03280160e1 1.3.7
Hot fix WebEmbed
2022-04-15 00:01:41 +07:00
March 7th
4fae7ba2af Fix Webembed
Report by PinkDuwc._#3443
2022-04-14 23:02:59 +07:00
March 7th
7c7fc192ba 1.3.5
+ Fix Typescript
+ Add some websocket event
+ bla bla
2022-04-14 21:32:11 +07:00
March 7th
f9f74cc649 Document + Debug Websocket 2022-04-13 17:51:43 +07:00
March 7th
d78a10ed76 1.3.4
Get interaction commands using gateway
2022-04-12 20:46:25 +07:00
March 7th
f73525f278 1.3.3
Change logs:
+ New Event:
> relationshipAdd: user.id, type
> relationshipRemove: user.id
> client.relationships: RelationshipsManager
> User.relationships
> Update Document .-.
- DEPRECATED
> client.blocked
> client.friends
> clientUser.findFriend
> User.blocked
> User.friend
> some console.log()
2022-04-12 12:46:08 +07:00
March 7th
89d8b08a08 1.3.2
Fix guild.members.fetch()
New event: guildMemberListUpdate (same as guildMemberChunk)
2022-04-11 19:48:20 +07:00
March 7th
8688dbac8c 1.3.1
- Update Document
- Fix WebEmbed
- Fix MessagePayload
- Clear warn "Accessing non-existent property inside a circular dependency" (Pull #26)
2022-04-11 12:53:02 +07:00
Tropicallism
3bc4608535
Add files via upload 2022-04-11 04:14:16 +02:00
Tropicallism
f1fc882d35
Add files via upload 2022-04-11 04:12:35 +02:00
March 7th
d900f7321c Update
1. Fix Interaction with ephemeral message
2. client.updateCookie()
3. clientUser.findFriend('test', 1234)
4. WebEmbed not working, sad
5. Update Document later ...
2022-04-10 19:03:40 +07:00
March 7th
f361bed628 Selfbot update
added headers to discord hard to detect selfbot
'x-fingerprint'
cookies
'x-super-properties'
2022-04-08 19:00:31 +07:00
March 7th
590a778c4a setCommunity mode 2022-04-08 12:02:46 +07:00
March 7th
cddbe4f9bb Leave HypeSquad 2022-04-05 19:11:27 +07:00
March 7th
26d9e4cbb9 mini update
- ClientUserSettingManager (Discum)
- Document (API version, Cookie, ...)
- x-super-properties header Request (Discum)
2022-04-05 19:01:20 +07:00
lazuee
0cb30e9f4d
Update WebEmbed.js 2022-04-05 02:25:56 +08:00
March 7th
3688622120 API v9, edit document + readme
Request by github.com/dolfies
2022-04-03 15:20:39 +07:00
March 7th
fe8d9786f0 encodeURL 2022-04-03 12:35:38 +07:00
March 7th
54d0e9d272 Group DM channel
Feature list: Create, Add member, Remove member, fetchInvite, createInvite, setName, setIcon, send Message, leave .-.
2022-04-03 11:53:09 +07:00
March 7th
ed996371b0 new api shorten url 2022-04-02 23:28:08 +07:00
March 7th
498200d706 Todo
.-.
2022-04-02 23:22:57 +07:00
March 7th
a5a0ede5b1 Report by Trîggered#0001 2022-04-02 22:22:00 +07:00
March 7th
76902bf8b2 Fix send Subcommand + new WebEmbed 2022-04-01 23:15:16 +07:00
March 7th
42bea13249 Embeds send support
maybe ... + fix message edit
2022-04-01 22:48:49 +07:00
March 7th
f8c0ab6bb9 Revert "Merge pull request #17 from lazuee/patch-2"
This reverts commit 30150cc0e5, reversing
changes made to fbce711a95.
2022-04-01 22:42:50 +07:00
March 7th
0201bc1f9d Revert "Merge pull request #16 from lazuee/patch-1"
This reverts commit fbce711a95, reversing
changes made to db88aee52a.
2022-04-01 22:42:42 +07:00
March 7th
30150cc0e5
Merge pull request #17 from lazuee/patch-2
URL shorten WebEmbed
2022-04-01 22:25:59 +07:00
John Marlo
dde279db22
bug? 2022-04-01 23:13:54 +08:00
John Marlo
fbfa0fd953
Fix WebEmbed.js 2022-04-01 23:10:54 +08:00
John Marlo
4dcc8a2353
Update webembeds
check content, if it too long remove hidden characters..
2022-04-01 23:06:22 +08:00
March 7th
db88aee52a Multiple webembeds are not supported :) 2022-04-01 20:32:09 +07:00
March 7th
7f95363348 bug ? 2022-04-01 20:15:33 +07:00
March 7th
50516bf89d Update before publish to npm
Dev version
2022-04-01 20:09:32 +07:00
John Marlo
414c03af12
Merge branch 'main' into main 2022-04-01 20:44:16 +08:00
March 7th
95dd8ae90a WebEmbed shorten api 2022-04-01 18:26:43 +07:00
March 7th
5b0ebe175b Revert "Merge pull request #13 from lazuee/main"
This reverts commit fd7910de95, reversing
changes made to 44db21c06f.
2022-04-01 18:22:36 +07:00
John Marlo
3cd243a50f
revert embeds,.. 2022-04-01 18:55:40 +08:00
John Marlo
e552d14305
Update TextBasedChannel.js 2022-04-01 18:48:59 +08:00
John Marlo
e01bd304fc
Update MessagePayload.js 2022-04-01 18:45:07 +08:00
John Marlo
4d96b4abe8
Fix title and description 2022-04-01 18:20:58 +08:00
John Marlo
91a717b635
Update WebEmbed.js 2022-04-01 16:42:03 +08:00
John Marlo
f8ce147a52
Update WebEmbed.js 2022-04-01 16:41:06 +08:00
John Marlo
5953ec764e
fix error.. 2022-04-01 16:32:50 +08:00
John Marlo
0bdc325a34
Update TextBasedChannel.js 2022-04-01 16:18:02 +08:00
John Marlo
65b74654ea
Update TextBasedChannel.js 2022-04-01 16:06:48 +08:00
John Marlo
4bb60f3630
Update TextBasedChannel.js 2022-04-01 15:55:32 +08:00
John Marlo
2d3e6ec271
Remove default embeds option.. 2022-04-01 15:54:01 +08:00
March 7th
0c4ae34567 Update WebEmbed.js 2022-04-01 12:14:13 +07:00