Souji and kodiakhq[bot]
73c2f8aa17
feat(presence): re-introduce image resolving for other platforms ( #9637 )
...
* spotify, youtube, twitch
* regression born from misunderstanding in 9a6e691
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-06-14 17:45:28 +00:00
Souji
37587e2bcb
chore: issue template changes for monorepo ( #7198 )
2022-01-07 23:13:04 +01:00
Souji
8bc1ece98e
docs: fetchReply info + example ( #6753 )
2021-10-05 01:37:04 +02:00
Souji
0a71a4d18f
chore: issue forms ( #6611 )
2021-09-15 00:25:19 +02:00
Souji
06460565e4
chore: issue forms ( #6583 )
2021-09-03 12:53:05 +01:00
Souji
54b33dd7df
chore: issue forms ( #6560 )
...
* workflow: issue forms
* chore: make intents and partials dropdowns
* chore: add tip about multi-select
* chore: use typescript for cb
2021-08-30 11:53:55 +01:00
Souji
ceae5960ed
fix(Message): handle fetched messages ( #6325 )
2021-08-07 10:35:30 +01:00
Souji
6e3236ab64
fix(Message): make #channel and #guild getters ( #6271 )
2021-08-04 21:47:32 +01:00
Souji
3022b0f5b1
refactor(Intents): remove computed shorts ( #6050 )
2021-07-05 16:07:30 +01:00
44e2ee7b20
feat(WelcomeScreen): welcome screens ( #5490 )
...
Co-authored-by: Jan <66554238+vaporox@users.noreply.github.com >
Co-authored-by: izexi <43889168+izexi@users.noreply.github.com >
Co-authored-by: SpaceEEC <spaceeec@yahoo.com >
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com >
2021-06-19 16:44:45 +01:00
Souji
a1f763ee75
refactor(Guild): remove region from guild and manager methods ( #5766 )
2021-06-10 15:09:57 +01:00
Souji
65dc00f321
feat(Message): applicationID for interaction responses ( #5765 )
2021-06-07 09:58:38 +01:00
Souji
bf191df9c0
feat(Client): make use of with_expiration in #fetchInvite ( #5764 )
2021-06-07 09:58:26 +01:00
Souji and SpaceEEC
7b85a7259f
feat(*): enforce strings ( #4880 )
...
BREAKING CHANGE: Removes all Resolvables for only string inputs
Co-authored-by: SpaceEEC <spaceeec@yahoo.com >
2021-06-01 16:31:49 +01:00
Souji
d52bcd46ec
feat: easier guards for channelUpdate ( #5716 )
...
* feat: easier guards for channelUpdate
* typings: more explicit typings for client events involving channels
* docs: event doc consistency regarding channel types
2021-05-31 16:38:37 +01:00
f831872125
feat(GuildChannel): createInvite target options ( #5514 )
...
Co-authored-by: Antonio Román <kyradiscord@gmail.com >
Co-authored-by: Advaith <advaithj1@gmail.com >
2021-05-11 22:25:09 +02:00
Souji
d9fa180cf9
feat(GuildManager): allow system channel flags in create ( #5504 )
2021-04-30 21:48:57 +02:00
Souji and Antonio Román
4866e2672f
feat(Guild): setChannelPositions parent, lockPermissions keys ( #5507 )
...
Co-authored-by: Antonio Román <kyradiscord@gmail.com >
2021-04-30 21:48:51 +02:00
Souji
5397021efb
fix(Emoji): name can be null ( #5513 )
2021-04-30 21:47:15 +02:00
Souji
116ecf246e
feat(Webhook): sourceGuild, sourceChannel, improve owner ( #5508 )
2021-04-30 21:44:23 +02:00
Souji
8a059cccb8
feat(Guild): allow description and features in edit ( #5505 )
2021-04-27 09:36:48 +02:00
Souji
2c54f72670
chore(UserFlags): remove system flag ( #5517 )
2021-04-25 18:59:13 +02:00
Souji and Advaith
596832371c
feat(Guild): nsfw guilds ( #5525 )
...
Co-authored-by: Advaith <advaithj1@gmail.com >
2021-04-18 18:52:53 +02:00
Souji
e9bf206d88
fix(GuildAuditLogsEntry): executor can be missing ( #5500 )
2021-04-15 00:37:45 +02:00
Souji
fe93a7e084
feat(SysChanFlags): new flag and rename in sync with client ( #5506 )
2021-04-15 00:37:32 +02:00
Souji
599f0f5cef
docs(ClientUser): #setPresence does not return a promise ( #5485 )
2021-04-05 23:26:28 +02:00
Souji
e848d25c86
docs(GuildChannel): #members add cached spec, include voice ( #5385 )
2021-04-03 20:01:54 +02:00
Souji
8023250ee7
fix(IntegrationApplication): add missing export to index.js ( #5475 )
2021-04-03 20:00:41 +02:00
Souji
6c6b1053b7
fix(InviteDelete): guild can be missing ( #5457 )
2021-03-31 22:31:37 +02:00
Souji
624a4464ca
feat(WebSocketManager): let identify throw on depleted limits ( #5283 )
...
* feat(WebSocketManager): let identify throw on depleted limits
* chore: remove WSM#sessionStartLimit
2021-03-28 15:33:31 +02:00
Souji
43bd568f1c
fix(ReactionUserManager): remove before query option ( #5281 )
2021-03-28 15:28:33 +02:00
Souji
62ba2499e0
docs(GuildMember): document owner override in permissions getter ( #5320 )
2021-03-28 15:27:32 +02:00
Souji
e7c4f3672e
fix(GuildChannel): regression on default channel type ( #5251 )
2021-03-28 15:24:41 +02:00
Souji
cee6cf70ce
chore(*): streamline issue and PR templates and redirects ( #5269 )
...
* chore(*): streamline issue and PR templates and redirects
* chore: reword redirect to not sound apologetic
* chore: reintroduce one-liner to use discord for questions
* chore: ae consistency
2021-01-27 20:31:47 +01:00
Souji
273e9557be
feat(BitField): move problematic bit into the error message ( #5228 )
...
* feat(BitField): move problematic bit into the error message
* fix: remove intermediate constant
2021-01-22 17:44:50 +01:00
Souji and Jan
d6234b764e
feat(Role): role tags ( #4628 )
...
* feat(Role): role tags
* fix(RoleManager): fix js docs and mark nullable
* fix(Role): typings tags are be null, not undefined
* fix(Role): getters should actually return a bool
* fix(RoleManager): typo
* fix(Role): should always return a boolean
* fix(Gmrm): getter should return null
* fix(RoleManager): getters should return null
* fix: typing getters should return null
* fix(Role): docs grammar and consistency
* chore: prefer in operator over Reflect#has
* feat(GmRm): botRole getter
* fix(GmRm): use the actual properties
* feat(RoleManager): rem myRole in pref o botRoleFor
* fix(Role): remove obsolete is- getters
* fix: checking tags after getter removal
* chore: identifier naming consistency
* chore: prefer explicit true type over boolean
* fix: typo
* feat(Integration): Add Integration#roles getter (#1 )
* fix(RoleManager): remove bot check r:partials
* feat(RoleManager): robustness against uncached u
* docs: possibly undefined
Co-authored-by: Jan <66554238+Vaporox@users.noreply.github.com >
2020-12-14 13:54:02 +01:00
Souji
8883a0144b
fix: implement valueOf on pseudomanagers ( #4595 )
2020-12-14 13:52:21 +01:00
Souji
30808f9f0b
feat(Message): allow custom emoji format for react ( #4895 )
2020-10-17 15:54:22 +02:00
Souji
77b6a7d5bd
fix(Util): throw token invalid for fetching rec. shard amount ( #4779 )
2020-09-04 12:51:15 +02:00
Souji
0225851e40
feat(BitField): add problematic bit to error ( #4617 )
2020-08-12 12:37:01 +02:00
Souji and Vlad Frangu
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
Souji
b4d651055a
fix(BaseManager): properly type valueOf ( #4594 )
2020-08-11 22:59:44 +02:00
Souji
a663ea4d2c
fix(ApiMessage): respect allowedMentions with split ( #4588 )
2020-08-11 22:57:12 +02:00
Souji
317f24076e
fix(Util): support empty array for flatten ( #4590 )
2020-08-11 21:01:29 +02:00
Souji
fab3153de6
fix: consider #nsfw false if not present in data ( #4593 )
2020-08-11 21:00:29 +02:00
Souji
276dddcbfb
fix(PresenceStatus): include invisible in typings ( #4585 )
2020-08-11 20:59:47 +02:00
Souji
bbfc715821
fix(Message): include MessageEmbed type ( #4675 )
2020-08-11 20:56:01 +02:00
Souji
5027787aec
chore: add relevant client options section to issue template ( #4587 )
2020-07-17 10:16:37 +02:00
Souji and SpaceEEC
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
Souji
f9f3661090
fix(User): type dmChannel as nullable ( #4609 )
2020-07-06 19:07:33 +02:00
Souji
16847a3c13
fix: typing start event emitting on non text based channels ( #4349 )
2020-06-19 11:42:06 +02:00
Souji
bd349650a7
docs(Guild): description of Guild#premiumSubscriptionCount ( #4324 )
2020-06-04 12:56:48 +02:00
Souji
863a70918a
docs(Message): add timeout to Message#delete example ( #4090 )
2020-04-18 12:16:19 +02:00
Souji
61ef46ff30
fix: adapt #manageable to check for CONNECT for VoiceChannel ( #3885 )
2020-03-06 07:00:49 +01:00
Souji
2d67fbb24c
docs: clarify which checks GuildMember#manageable does ( #3870 )
2020-03-01 15:11:06 +01:00
Souji
acdd832fe2
fix(typings): enum values for ChannelType ( #3861 )
2020-02-29 18:58:20 +01:00
Souji
09e4912a90
fix(typings): remove duplicate VerificationLevels ( #3862 )
2020-02-29 18:58:11 +01:00
Souji
a6d3501ff8
fix(typings): for intents ( #3860 )
...
* re-introduce Intents export
* properly type WebsocketOptions#intents
2020-02-29 18:18:59 +01:00
8a2f8938be
feat: Intents bitfield ( #3844 )
...
* feat: Intents bitfield
* suggestion: properly construct Intents.ALL
* fix: actually document the ws option
* suggestion: remove disabledEvents in favor of intents
* suggestion: remove obsolete check, validate falsy values
Co-Authored-By: SpaceEEC <spaceeec@yahoo.com >
* fix: GUILD_BANS flag
* fix: exception for intents check in ws options
Co-Authored-By: SpaceEEC <spaceeec@yahoo.com >
* docs: IntentsResolvable
Co-Authored-By: SpaceEEC <spaceeec@yahoo.com >
* Update Client.js
Co-authored-by: SpaceEEC <spaceeec@yahoo.com >
Co-authored-by: Crawl <icrawltogo@gmail.com >
2020-02-29 15:20:15 +01:00
Souji and SpaceEEC
6eaf63fb7c
feat(RichEmbed): backport spliceFields and normalizeField ( #3762 )
...
* backport: RichEmbed#checkField, Util#resolveString
* backport: RichEmbed#spliceFields
* fix: typo
* chore: use util.resolveString everywhere
* chore: rename EmbedFIeld to EmbedFieldData
* consistency with v12
* chore: rename checkField to normalizeField
* consistency with v12
* fix: EmbedField instead of EmbedFieldData
* fix(typings): EmbedFIeld#inline is guaranteed
* fix(docs): add JSDocs typedef for EmbedFieldData
* fix(typings): EmbedFIeldData#name/#value
* should be StringResolvable
* refactor(RichEmbed): do not duplicate field prop checking
* docs(RichEmbed): document default for inline
* fix(RichEmbed): pass correct parameters to normalizeField
* typings(RichEmbed): add missing spaces
Co-authored-by: SpaceEEC <spaceeec@yahoo.com >
2020-02-28 18:16:19 +01:00
Souji
df88729c44
feat(MessageEmbed): re-introduce MessageEmbed#addField ( #3850 )
...
* feat(MessageEmbed): re-introduce MessageEmbed#addField
* suggestion: sorting alphabetically
* suggestion: document inline to default false for #addField
2020-02-28 17:58:52 +01:00
Souji and SpaceEEC
54f24d1fea
typings(MessageEmebd): fix typings for addFields ( #3821 )
...
* typings(MessageEmebd): fix typings for addFields
* fix: add missing semicolon
* docs(MessageEmbed): fix various types
* in accordance with the scope of the PR
* Update src/structures/MessageEmbed.js
Co-Authored-By: SpaceEEC <spaceeec@yahoo.com >
Co-authored-by: SpaceEEC <spaceeec@yahoo.com >
2020-02-24 14:02:06 +01:00
Souji
b727f6c1b9
feat: bring embed builder field manipulation in line with underlying array functionality ( #3761 )
...
* feat: splice multiple fields
* remove MessageEmbed#spliceField
* add MessageEmbed#spliceFields
* to behave more like Array#splice
* and allow multiple fields to be replaced/inserted
* update typings accordingly
* refactor: rename check to normalize
* check suggests boolean return type
* feat: allow spread args or array as field input
* rewrite: replace addField in favor of addFields
* typings: account for changes
* chore: bump min node to 11.0.0
* for Array#flat
* fix: bump min-node in package engines field
* remove addBlankField
2020-02-23 20:41:48 +01:00
Souji
f6075a6e3a
typings(Constants): add VerificationLevels ( #3811 )
2020-02-21 21:48:08 +01:00
Souji
364914fd35
fix(GuildMember): manageable - let owner override ( #3766 )
...
This backports #3765
2020-02-07 18:27:56 +01:00
Souji
3f039016af
fix(GuildMember): manageable - let owner override ( #3765 )
...
* if the bot is owner of the guild the target is managebale
* even though both roles are on the same position
2020-02-07 18:27:05 +01:00
Souji
d8419ac2c7
docs(MessageMentions): backport mention order notice ( #3712 )
2020-01-19 13:09:33 +01:00
Souji
7f99be739a
docs(MessageMentions): add sort order notice ( #3693 )
...
* mention order returned from API
* not left to right in text
2020-01-14 11:28:19 +01:00
Souji
59205a2152
fix: provide count on bulk deletion ( #3682 )
...
* GuildAuditLogsEntry should provide count as extra in case of MESSAGE_BULK_DELETE
* inner class: GuildAuditLogsEntry in GuildAuditLogs.js
2020-01-13 14:02:31 +00:00
Souji and SpaceEEC
7011c512fb
fix: document ChannelData#reason ( #3549 )
...
* fix: document ChannelData#reason
* update respective typings
* closes #3548
* update: add note creation only
Co-Authored-By: SpaceEEC <spaceeec@yahoo.com >
2019-10-22 21:17:56 +02:00
Souji
48856c0815
fix: set messages deleted when their channel is deleted ( #3519 )
2019-10-04 16:44:04 +02:00
Souji
2610bf57ae
feat(GuildChannel): backport permissionsLocked getter ( #3507 )
...
* backport(GuildChannel): GuildChannel#permissionsLocked
* typings: GuildChannel#permissionsLocked
* fix(typings): mark permissionsLocked getter as readonly
2019-10-04 16:43:12 +02:00
Souji
2a78b00454
fix(typings): GuildChannel#parent and #parentID are nullable ( #3509 )
2019-10-02 14:26:53 +02:00
Souji
e936f071c0
fix(typings): GuildChannel#parentID is nullable ( #3508 )
2019-10-02 14:26:42 +02:00
Souji
be2f78851f
docs/typings: RateLimitInfo#limit instead of requestLimit ( #3132 )
...
* fix doc for ratelimit data, fixes #3131
* adapt typings
* typings: unindent #region comments
2019-03-07 16:34:23 +01:00
Souji
980d71f307
fix:(GuilChannel): clone method not taking overwrites into account ( #2932 )
2018-11-06 20:01:48 +01:00
Souji
905f1c3262
docs: add missing docstring for Client#userUpdate ( #2930 )
...
* docs: add missing docstring for Client#userUpdate
* docs: indentn't
* docs: indentn't 2
2018-11-05 17:46:47 +01:00
Souji
fd25d19c9c
docs(ClientUser): fix example for setActivity method ( #2880 )
2018-10-10 10:30:23 +02:00
Souji
78c4be52c6
docs(Collection): clarify example for tap method ( #2881 )
...
* docs: clarify example for Collection#tap
* docs: wording improvement
2018-10-10 10:29:53 +02:00
Souji
da2d4d7230
docs: correct Guild#memberCount ( #2812 )
2018-08-30 00:15:05 -05:00
Souji
cb08a0961a
Docs: merge PermissionOverwriteOptions and OverwriteData ( #2738 )
...
* Docs: merge PermissionOverwriteOptions and OverwriteData
* fix user-member and replace eslint-disable with linebreaks
* consistency fix
* Fix: remove empty line between jsdocs and method
* Fix: allowed/denied to allow/deny to conform with recent master changes
2018-08-24 16:51:15 +02:00
Souji
3021e5ce7f
Docs: document ChannelData.parent and .permissionOverwrites, fix typedefs to not include Collection of ChannelCreationOverwrite ( #2734 )
...
* document ChannelData.parent
* document ChannelData.permissionOverwrites
* Overwrites also take other things, account for it
* note to self: stop copy-pasting
* remove eslint madness, fix param defs
* fix property slip
2018-08-13 15:17:09 +01:00
Souji
0a21280990
add Collection as possible param to GuildChannel#overwritePermissions + wording port from 11.3-dev ( #2719 )
...
* add Collection as possible param to GuildChannel#overwritePermissions
* change PermissionoverwriteOptions desc. default to unset
* fix eslint hiccup
* fix spelling of snowflake
2018-08-10 10:57:05 +02:00
Souji
bafbee9677
docs: small changes regarding permissions/overwrites ( #2718 )
...
* Add Collection as param to GuildChannel#replacePermissionOverwrites
* Add example for null to PermissionOverwriteOptions
* eslint-disable max-len
* PermissionOverwriteOptions desc. change default to unset
* deprecated allow/deny in favor of allowed/denied
2018-08-09 10:52:59 -05:00
Souji
af6d649510
docs: change for GuildChannel#replacePermissionOverwrites ( #2714 )
2018-08-08 16:09:39 -05:00
Souji
95b2dd3fe6
feat: Add support for Guild#setDefaultMessageNotifications ( #2624 )
...
* Feat: Guild#setDefaultMessageNotifications
* fix typo
2018-07-01 11:03:47 -05:00
Souji
de408d735b
docs(Guild): memberCount is not as of ready ( #2621 )
...
but updated every guild member add or remove
2018-06-23 15:22:57 +02:00
Souji
791f58e130
docs: add video to MessageAttachment properties ( #2608 )
2018-06-19 20:09:55 +02:00