Quentin
372a405926
docs(ReactionCollector): Revise JSDoc for ReactionCollector#dispose and #remove ( #4709 )
...
Co-authored-by: Amish Shah <amishshah.2k@gmail.com >
Co-authored-by: uhKevinMC <plainkevin123@gmail.com >
Co-authored-by: Sugden <28943913+NotSugden@users.noreply.github.com >
Co-authored-by: Antonio Román <kyradiscord@gmail.com >
Co-authored-by: Noel <icrawltogo@gmail.com >
2020-09-08 09:57:39 +02:00
anandre
dfd63bdb6b
docs(Guild): Guild.setName() example ( #4797 )
...
The docs example was incorrect, as the parameter is called `updated` but was later referenced as `guild`. This PR fixes that by changing it to `updated` to match other examples, such as `setRegion()`
2020-09-05 20:18:00 +02:00
Papaia
5b39737d49
fix(lint): RESTManager warning ( #4796 )
...
Co-authored-by: Papaia <43409674+ItsPapaia@users.noreply.github.com >
2020-09-05 20:16:09 +02:00
cherryblossom000
904aecfdb7
types: don't use readonly arrays in interfaces ( #4794 )
...
This reverts some of the changes in f451be05 so that this works:
```ts
const embed: MessageEmbedOptions = {
fields: [{
// fixed stuff
}],
};
if (/* condition */) {
embed.fields.push({
// conditional stuff
});
}
```
See https://github.com/discordjs/discord.js/pull/4692#issuecomment-687252066 .
2020-09-05 20:14:39 +02:00
MrWasdennnoch
a28754b892
fix(Typings): remove Partial types from some events ( #4781 )
2020-09-05 20:13:59 +02:00
Sugden
b43e742503
docs(GuildChannel): ThisType should be this ( #4793 )
2020-09-05 10:20:32 +02:00
Darqam
8ac25d37d9
docs(MessageManager): Update example for fetchPinned ( #4785 )
...
Example showed the method for channel and not messageManager
2020-09-04 20:19:51 +02:00
Souji
77b6a7d5bd
fix(Util): throw token invalid for fetching rec. shard amount ( #4779 )
2020-09-04 12:51:15 +02:00
MrWasdennnoch
aa25608c52
typings(PartialUser): fix PartialUser remove deleted property ( #4773 )
2020-09-03 09:53:44 +02:00
Jan
b0ab37ddc0
feat(Channel): add isText() type guard ( #4745 )
2020-08-31 09:59:17 +02:00
Sugden
3141f7cb04
feat(Guild): add includeApplications option for fetchIntegrations ( #4762 )
2020-08-31 09:17:53 +02:00
Sugden
7ba9440053
fix(Guild): cache fetched widget data ( #4760 )
2020-08-31 09:16:53 +02:00
Sugden
f97316319f
feat(UserFlags): add renamed UserFlags ( #4761 )
2020-08-30 00:34:37 +02:00
Tristan Guichaoua
405b487dc3
fix(Typing): change NodeJS.Timer into NodeJS.Timeout ( #4755 )
2020-08-29 18:54:39 +02:00
Tristan Guichaoua
b48b782c87
chore(Prettier): add settings for prettier plugin ( #4756 )
...
Co-authored-by: Papaia <43409674+Papaia@users.noreply.github.com >
2020-08-29 12:08:47 +02:00
cherryblossom000
74763ef3fb
types: don't allow any object in the first parameter if second parameter is not given in TextBasedChannel#send ( #4736 )
2020-08-29 12:08:04 +02:00
Carter
74ebb650df
style: remove unnecessary eslint comment ( #4758 )
2020-08-29 12:05:33 +02:00
Louis
a363b90fa5
docs(BaseGuildEmoji): account for optional properties ( #4723 )
2020-08-28 14:19:53 +02:00
Sugden
6aab9c3d64
fix: correctly import extendable classes ( #4744 )
2020-08-28 14:19:20 +02:00
Tristan Guichaoua
2dc70af717
types: add all types for GuildAuditLogsEntry#target ( #4738 )
...
Co-authored-by: Sugden <28943913+NotSugden@users.noreply.github.com >
2020-08-28 14:18:45 +02:00
Sugden
46acfac327
refactor(Client): remove non-existant property from toJSON ( #4750 )
2020-08-28 14:18:17 +02:00
Sugden
727b29c85d
feat(Client): allow options for generateInvite ( #4741 )
2020-08-28 14:17:37 +02:00
Sugden
e0e271162c
fix(typings): bot cannot be null ( #4719 )
2020-08-27 16:40:36 +02:00
InkoHX
cfc68677ee
docs(ClientOptions): fix typo ( #4730 )
2020-08-27 16:39:55 +02:00
Noel
43c4d80b12
ci(CodeScanning): add CodeQL code scanning workflow
2020-08-24 19:27:00 +02:00
Carter
05c9e30163
docs(APIMessage): fix wording on comment ( #4717 )
2020-08-17 09:56:18 +02:00
Carter
b6167d8c3b
docs: update jsdoc type for User#bot ( #4716 )
2020-08-17 09:45:57 +02:00
iCrawl
56e8ef2d38
chore(Release): version upgrade
12.3.1
2020-08-15 20:38:09 +02:00
Jan
db512d8f62
fix(User): set User#bot to false if not partial ( #4706 )
...
Co-authored-by: Noel <icrawltogo@gmail.com >
2020-08-15 20:04:32 +02:00
Noel
5249cf33e5
revert(Shard): "fix missing child_process silent option of Shard to allow listening to output" ( #4707 )
...
This reverts commit 58d1589a55 .
2020-08-15 12:50:05 +02:00
Jan
09bde74e43
chore: bump version in package-lock.json ( #4705 )
2020-08-15 12:38:40 +02:00
iCrawl
a4dbfdce59
chore(Release): version upgrade
12.3.0
2020-08-14 21:56:11 +02:00
Noel
dea48d64a5
chore(Deps): upgrade deps ( #4701 )
2020-08-14 21:46:23 +02:00
Advaith
178439ef8c
feat: trigger userUpdate on GUILD_MEMBER_UPDATE ( #4697 )
2020-08-14 20:49:44 +02:00
Carter
f1194afd7c
feat(GuildMemberManager#prune): roles query param ( #4142 )
...
Co-authored-by: izexi <43889168+izexi@users.noreply.github.com >
Co-authored-by: Sugden <28943913+NotSugden@users.noreply.github.com >
Co-authored-by: kyranet <kyradiscord@gmail.com >
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com >
Co-authored-by: Noel <icrawltogo@gmail.com >
2020-08-14 20:14:31 +02:00
Carter
2742923df4
feat(GuildManager): adds GuildManager#fetch ( #4086 )
...
Co-authored-by: Sugden <28943913+NotSugden@users.noreply.github.com >
2020-08-14 19:34:19 +02:00
Human
0b38c5d8b3
docs: updated applications URL ( #4699 )
2020-08-14 19:33:11 +02:00
cherryblossom000
f451be0519
feat(typings): use readonly arrays in parameters ( #4692 )
...
Co-authored-by: Noel <icrawltogo@gmail.com >
2020-08-13 20:43:51 +02:00
Advaith
f991bd46f3
chore(Constants): update large_threshold default ( #4698 )
2020-08-13 20:38:59 +02:00
Quentin
139e56c774
docs(ReactionCollector): update remove and dispose events ( #4136 )
...
Co-authored-by: Amish Shah <amishshah.2k@gmail.com >
Co-authored-by: uhKevinMC <plainkevin123@gmail.com >
Co-authored-by: Sugden <28943913+NotSugden@users.noreply.github.com >
Co-authored-by: Noel <icrawltogo@gmail.com >
2020-08-12 23:22:45 +02:00
Androz
e7eda72c9d
feat(typings): add number type for setExplicitContentFilter method ( #4694 )
2020-08-12 23:18:58 +02:00
Sugden
980243f2d5
fix(Partials): correctly set properties as nullable ( #4636 )
2020-08-12 21:26:59 +02:00
Sugden
b6ddd4ce41
fix(APIMessage): add reply user to allowedMentions ( #4591 )
2020-08-12 21:25:38 +02:00
Arthur
6caeaeb391
fix(MessageReactionAdd): prevent double messageReactionAdd triggering ( #4682 )
...
Co-authored-by: Sugden <28943913+NotSugden@users.noreply.github.com >
Co-authored-by: SpaceEEC <spaceeec@yahoo.com >
2020-08-12 21:24:45 +02:00
Carter
290938bf80
feat: bypass cache check with forceFetch param ( #4592 )
2020-08-12 21:23:04 +02:00
Souji
0225851e40
feat(BitField): add problematic bit to error ( #4617 )
2020-08-12 12:37:01 +02:00
Sardonyx
2a7f749d5a
docs(Embeds): Added descriptions to the typedefs ( #4303 )
...
Co-authored-by: RDambrosio <rdambrosio016@gmail.com >
2020-08-12 12:29:02 +02:00
Advaith
57ca3d7843
feat(Guild): updates for Community guilds ( #4377 )
...
Co-authored-by: SpaceEEC <spaceeec@users.noreply.github.com >
2020-08-12 12:21:17 +02:00
Advaith
de8d26d791
docs(Constants): Improve large_threshold description ( #3744 )
...
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com >
Co-authored-by: Antonio Román <kyradiscord@gmail.com >
Co-authored-by: Crawl <icrawltogo@gmail.com >
2020-08-12 12:17:13 +02:00
Advaith
5be6630843
feat(Guild): discovery splash ( #4619 )
...
Co-authored-by: Antonio Román <kyradiscord@gmail.com >
2020-08-12 11:09:18 +02:00