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
Carter
290938bf80
feat: bypass cache check with forceFetch param ( #4592 )
2020-08-12 21:23:04 +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
5be6630843
feat(Guild): discovery splash ( #4619 )
...
Co-authored-by: Antonio Román <kyradiscord@gmail.com >
2020-08-12 11:09:18 +02:00
Advaith
446bbfe9eb
docs(Ban): days must be 0-7 ( #4693 )
...
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com >
Co-authored-by: Noel <icrawltogo@gmail.com >
2020-08-12 09:35:33 +02:00
Sugden
e92cbc444b
feat: deprecate GuildEmbed methods and properties in favour of GuildWidget ( #4121 )
2020-08-12 09:33:00 +02:00
Advaith
baffbdb541
fix(Integration): user might not be present ( #4691 )
...
Co-authored-by: Antonio Román <kyradiscord@gmail.com >
2020-08-12 09:30:34 +02:00
Bence
b7740d4859
feat(GuildEmoji): cache the author ( #4334 )
...
Co-authored-by: Papaia <43409674+Papaia@users.noreply.github.com >
2020-08-12 09:27:00 +02:00
Souji
599cde3627
fix(GuildChannel): make lockPermissions use parent overwrites ( #4627 )
...
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com >
2020-08-12 09:23:31 +02:00
Nathan Franke
124afeb843
fix(Collector): support async ( #4123 )
2020-08-11 23:34:47 +02:00
Hayden Andreyka
05cbf70486
docs(Guild): clarify vanity URL documentation ( #4125 )
...
Co-authored-by: Antonio Román <kyradiscord@gmail.com >
Co-authored-by: Crawl <icrawltogo@gmail.com >
2020-08-11 23:05:03 +02:00
Jan
f628981f42
docs(CategoryChannel): Fix children being incorrectly marked as nullable ( #4620 )
2020-08-11 22:58:30 +02:00
Souji
a663ea4d2c
fix(ApiMessage): respect allowedMentions with split ( #4588 )
2020-08-11 22:57:12 +02:00
Zaid - Nico
2be68e4125
fix(Message): Message#createdTimestamp uses deconstructed message id to get timestamp ( #4632 )
2020-08-11 21:02:15 +02:00
Souji
fab3153de6
fix: consider #nsfw false if not present in data ( #4593 )
2020-08-11 21:00:29 +02:00
Souvik
2adb5815bf
fix: set #nickname to null as the default value ( #4641 )
2020-08-11 20:58:52 +02:00
Souji
bbfc715821
fix(Message): include MessageEmbed type ( #4675 )
2020-08-11 20:56:01 +02:00
Jan
b0e53e9c6d
docs(Message): add NewsChannel type to Message#channel ( #4680 )
2020-08-11 20:53:29 +02:00
Jan
0e61fca974
docs: make use of MessageResolvable type for bulkDelete ( #4661 )
2020-07-29 12:15:23 +02:00
Souji
c79ac4d9fc
feat(Message): support pin and unpin with reason ( #4586 )
...
Co-authored-by: SpaceEEC <spaceeec@yahoo.com >
2020-07-17 10:13:30 +02:00
Phineas
ea19faa411
Change domain to discord.com ( #4160 )
2020-06-19 11:46:59 +02:00
Jan
214981f0b1
feat(MessageMentions): fix typings/docs, add resolvables support ( #4339 )
2020-06-19 11:43:19 +02:00
uhKevinMC
54a7fdadda
feat(voiceState): add self_video property ( #4346 )
2020-06-19 11:41:11 +02:00
Papaia
1c275afd7c
fix(Guild): fix vanityURLUses desc, internally use fetchVanityData ( #4335 )
...
* docs(vanityURLUses): use fetchVanityData
* feat(fetchVanityCode): internally call fetchVanityData
* Update src/structures/Guild.js
2020-06-04 19:17:18 +02:00
Johnson Chen
8030612e52
feat(Guild): add fetchVanityData ( #4103 )
...
* chore: deprecate Guild.fetchVanityCode()
* feat: add Guild.fetchVanityData()
* chore: update typings
* fix: remove redundant .then()
Co-Authored-By: Antonio Román <kyradiscord@gmail.com >
* chore: fix lint
* chore: util.deprecate fetchVanityCode
* feat: add VanityData typedef and populate vanityURLUses
* chore: update typings
* chore: properly deprecate fetchVanityCode
* chore: fix jsdoc description for fetchVanityData
* feat: make fetchVanityData an async function
* chore: update Vanity typedef
* docs: update jsdoc
* feat: throw vanity url error instead of returning rejected promise
Co-Authored-By: Vlad Frangu <kingdgrizzle@gmail.com >
* docs: disable max-len rule and add info about receiving parameter
* fix: throw Error instead of rejecting Promise
* revert: revert "fix: throw Error instead of rejecting Promise"
This reverts commit 7ffd53eba4 .
* fix: require DJSError to fix throwing VANITY_URL error
* nitpick: re-add TypeError to the import
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com >
Co-authored-by: Antonio Román <kyradiscord@gmail.com >
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com >
2020-06-04 13:41:20 +02:00
Papaia
fc4bddf82a
fix: grammatical errors in INVALID_TYPE errors ( #4289 )
...
* fix(GuildMemberRoleManager): grammatical error
* fix: eslint
* fix(GuildChannel): an
* fix(PermissionOverwrites): an
Co-authored-by: Papaia <43409674+ItsPapaia@users.noreply.github.com >
2020-06-04 13:02:28 +02:00
Souji
bd349650a7
docs(Guild): description of Guild#premiumSubscriptionCount ( #4324 )
2020-06-04 12:56:48 +02:00
Sugden
15b53509da
fix(APIMessage): only pass allowedMentions if content is defined ( #4269 )
2020-05-21 13:17:00 +02:00
SpaceEEC
a6510d6a61
revert "chore(docs): example for timeout in message.delete()" ( #4167 )
2020-05-07 23:39:45 +02:00
SpaceEEC
407bc77d34
fix: in/de-crement max listener for client events ( #4168 )
2020-05-07 23:39:23 +02:00
anandre
b385aedf36
chore(docs): example for timeout in message.delete() ( #4165 )
2020-05-05 22:41:41 +02:00
anandre
2617d3c9f3
docs(VoiceState): remove permissions required from description ( #4156 )
2020-05-04 12:46:58 +02:00
Carter
026691702d
feat(Guild#fetch): withCount param ( #4111 )
2020-04-27 09:05:39 +02:00
Corentin Poupry
605ee8587b
fix(MessageEmbed): explicitly mark proxyIconURL as undefined ( #4097 )
2020-04-26 17:02:45 +02:00
Papaia
97cbbb176b
fix(Guild): name acronym ( #4104 )
2020-04-20 21:15:14 +02:00
Souji
863a70918a
docs(Message): add timeout to Message#delete example ( #4090 )
2020-04-18 12:16:19 +02:00
Jyguy
6fbaf0a036
fix(User): jsdoc for User#flags ( #4094 )
2020-04-18 12:15:30 +02:00
Ryan Munro
7c6000c5e3
feat(ClientOptions): allow setting default allowedMentions ( #4085 )
...
* feat(ClientOptions): add default allowedMentions
* feat(ClientOptions): use default allowedMentions when not provided
* Update src/structures/APIMessage.js
Co-Authored-By: SpaceEEC <spaceeec@yahoo.com >
* Update src/structures/APIMessage.js
Co-Authored-By: SpaceEEC <spaceeec@yahoo.com >
* fix(ClientOptions): default allowedMentions should be undefined
Co-authored-by: SpaceEEC <spaceeec@yahoo.com >
2020-04-17 11:23:31 +02:00
SpaceEEC
4625881c54
docs(MessageEmbed): document the constructor ( #4077 )
2020-04-16 12:07:08 +02:00
withmask
d7096569c8
fix(PermissionOverwrites): resolveOverwriteOptions description ( #4088 )
...
smoll update
2020-04-16 11:52:06 +02:00
Advaith
fcacf1bc0d
fix(Guild): sort text, news, and store channels together ( #4070 )
2020-04-16 10:35:19 +02:00
Carter
2e5a6476d5
feat: User#flags ( #4060 )
...
* feat: user flags
* fix: unnecessary negated statement
* fix: wording for description
* fix: an vs. a
* feat: add verified bot and dev flags
Co-Authored-By: Vlad Frangu <kingdgrizzle@gmail.com >
* typings :verified bot and dev flags
Co-Authored-By: Vlad Frangu <kingdgrizzle@gmail.com >
* feat: mon's suggestion, async fetchFlags & jsdoc
* feat: added to index.js
* fix: typo
* style: leveled flags
* typings: update leveled flags
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com >
2020-04-16 10:32:15 +02:00
SpaceEEC
a8db9884d5
feat(Message): add allowedMentions to MessageEditOptions ( #4071 )
2020-04-16 09:27:19 +02:00
SpaceEEC
9e4c39ae53
fix(Message): update MessageMention's roles on message edit ( #4016 )
2020-04-03 21:30:49 +02:00
Advaith
849c6324d3
feat(Guild): PUBLIC_DISABLED and WELCOME_SCREEN_ENABLED features ( #4009 )
2020-04-03 11:59:51 +02:00
SpaceEEC
b441469044
revert: channel unions ( #3918 69d69f2) ( #3978 )
...
* revert: channel unions (#3918 69d69f25b9 )
* fix: correct tslint:disable
* revert: keep the GuildChannel#setParent change
Co-authored-by: Crawl <icrawltogo@gmail.com >
2020-03-27 20:58:11 +01:00
SouSinner
88133d0d77
feat(GuildPreview): implement support for "preview" endpoint ( #3965 )
...
* feat(GuildPreview): method — fetchGuildPreview
* feat(GuildPreview): structure — GuildPreview
* feat(GuildPreview): update typings
* fix(GuildPreview): remove typedef for Features — already exists
* refactor(GuildPreview): update JSDocs & method
* feat(GuildPreview): implement DiscoverySplash function
* fix(GuildPreview): description & error handling for id
* fix(GuildPreview): misleading description, assign emojis correctly
* feat(GuildPreview): func DisplaySplash & GuildPreviewEmoji interface
* fix(Typings): satisfy TSLint
* fix(GuildPreview): toJSON - returns a value now
* feat(GuildPreview): add fetchPreview method on instance of Guild
* feat(GuildPreview): update typings
* fix: missing client constructor
* fix: typo in typings
* feat(BaseEmoji): implement BaseEmoji — parent for emoji instances
* feat(BaseEmoji): refactor - GuildEmoji extends BaseEmoji now
* feat(BaseEmoji): refactor - adjust emojis prop to BaseEmoji instance
* feat(BaseEmoji): not documented fully - GuildPreviewEmoji
* feat(BaseEmoji): update typings
* fix: remove duplicate typing properties - inherited
* fix: remove redundant methods & properties - inherited / already set
* fix: let -> const
* fix: typings - put BaseEmoji after BaseClient
* fix: remove _clone method - redundant
* refactor(GuildPreview): emojis should be a collection
* refactor: rename base class, move relevant props there and expose roles
* fix(GuildPreview): update emojis in _patch
* fix(Typings): remove empty line, add Client#fetchGuildPreview
* feat: export GuildPreview
* fix(Typings): add GuildPreview#discoverSplash, icon, and splash
Co-authored-by: LxveFades <twitchisadeck@gmail.com >
Co-authored-by: Crawl <icrawltogo@gmail.com >
Co-authored-by: SpaceEEC <spaceeec@yahoo.com >
2020-03-27 20:57:28 +01:00
Jyguy
fee9a218e8
docs(MessageMentionTypes): move possible values to description ( #3990 )
...
* docs(MessageMentionTypes): correct type
* docs(MessageMentionTypes): change role to roles
* docs(MessageMentionOptions): correct description to allow usage as an array
* remove unneeded part of description
Co-Authored-By: Ryan Munro <rsm999@uowmail.edu.au >
* docs: add DisableMentionType to remove literal string types
Co-authored-by: Ryan Munro <rsm999@uowmail.edu.au >
2020-03-27 20:54:27 +01:00