SpaceEEC
97457e1de2
feat(RichEmbed): add toJSON returning an api-compatible object
...
This backports:
PR: https://github.com/discordjs/discord.js/pull/3813
Commit: 4ec01ddef5
2020-02-28 18:29:41 +01:00
SpaceEEC
7e9c995566
feat(Message*): add missing fields, add support for flag editing ( #3795 )
2020-02-22 12:38:43 +01:00
SpaceEEC
c955fd00c7
feat(Integration): add guild integrations ( #3756 )
2020-02-02 11:11:31 +01:00
SpaceEEC
6d7e1e4953
fix: remove for..in in favor of Object.keys ( #3745 )
2020-01-31 11:38:47 +00:00
Ryan Munro
ab7f9e80b4
feat(MessageReaction): backport removeAll and MessageReactionRemoveEmoji event ( #3741 )
...
* Add new action and websocket handler
* Add REST method for removing reaction emoji
* Update Message#_removeReaction to handle removing whole emoji
* Add MessageReaction#removeAll and update typings
* Apply uncached user fix
2020-01-25 15:36:35 +01:00
SpaceEEC
fbe9bc499b
feat(Webhook): add ability to change channel and specify reason to edit ( #3587 )
...
* feat(Webhook): add ability to change channel and specify reason to edit
* fix(RESTMethods): update channelID of the webhook too
2020-01-05 18:34:00 +01:00
SpaceEEC
f91ad7023b
feat(GuildMember): filter out duplicate roles when updating ( #3502 )
2019-10-27 10:27:01 +01:00
Ryan Munro
505df2ebb3
backport(Guild): createChannel's default type incorrectly set ( #3497 )
...
Backports #3496 (a03e439d6b ) to the 11.5-dev branch
2019-10-01 10:59:02 +02:00
SpaceEEC
c355236f7f
feat(Emoji): backport delete method ( #3343 )
...
This backports #1877 (c93c4ad21f ) in a semver-minor manner.
2019-06-16 10:07:32 +02:00
SpaceEEC
e6a378b361
feat(Guild): backport misc properties and setRolePositions ( #3337 )
...
* feat(Guild): backport misc properties and setRolePositions
PRs:
* #3168
* #3317
* typings
2019-06-13 18:33:07 +02:00
SpaceEEC
6f49aadf4f
fix(Guild): allow fetchMember to be used with an uncached user ( #3333 )
2019-06-08 10:39:03 +02:00
SpaceEEC
06b72ee19f
fix(GuildMember): do not create a channel key when editing
...
This is to not break GuildMember#setNickname for the current user
2019-05-18 14:08:50 +02:00
SpaceEEC
ee42bdfd76
feat(GuildMember): add support for voice kicking ( #3246 )
...
This backports e64773e21b (#3242 )
2019-05-06 19:18:29 +02:00
izexi
5cd6d8d380
feat(Guild): add fetchBan and withReasons to fetchBans ( #3170 )
...
* add Guild#fetchBan() & backport BanInfo
* and the typings
* requested changes
* typings overloads
Co-Authored-By: izexi <43889168+izexi@users.noreply.github.com >
* nullable reason typings
Co-Authored-By: izexi <43889168+izexi@users.noreply.github.com >
2019-04-01 09:07:52 +02:00
SpaceEEC
a0ff72b556
fix(GuildMember): add explicit channel resolve error to member edit ( #3059 )
2019-02-12 10:13:37 +01:00
SpaceEEC
7bc2e231cf
feat(Guild): add position to createChannel's implementation ( #3058 )
2019-02-12 10:12:25 +01:00
SpaceEEC
691aaef07e
backport(Guild): support for rateLimitPerUser when creating a channel
...
PR: #2878
Commit: 8ec3b5134d
2018-11-17 17:24:48 +01:00
SpaceEEC
7ea88adeca
backport(Guild): support for createChannel with options object ( #2888 )
2018-10-10 10:05:32 +02:00
SpaceEEC
c6201ee41b
backport(Guild): add fetchVanityCode ( #2871 )
2018-10-03 17:31:20 -05:00
Isabella
1e85887229
backport: rateLimitPerUser ( #2874 )
2018-10-03 17:21:26 -05:00
Kyra
091b4fc214
backport: Guild#{fetchEmbed,setEmbed} ( #2778 )
...
* backport: Guild Embeds
* fix: Added missing return
* docs: Updated typings
2018-08-28 10:33:51 -05:00
Lewdcario
93bf430fc7
fix: Guild#addMember incorrectly resolving userID
2018-08-26 09:46:55 -06:00
Lewdcario
c76f3048af
backport: TextChannel#bulkDelete accepts Snowflake[]
2018-08-08 17:14:52 -05:00
Lewdcario
87b4b23596
backport: fix circular conversion when editing RichEmbed
2018-08-03 15:33:51 -06:00
Lewdcario
524a15df0b
backport: Permissions improvements
2018-07-17 21:49:21 -05:00
Amish Shah
695ff1e70f
voice: fix #2635 (channel bitrate not being set)
2018-07-02 19:45:35 +01:00
Lewdcario
a667e44c4d
fix(Client): login catch
2018-07-01 10:05:56 -05:00
Lewdcario
448f38429d
fix(Client): login not properly rejecting on invalid token
2018-06-29 19:38:06 -05:00
SpaceEEC
15a8e17710
fix(Guild): memberCount not decrementing when an uncached member leaves
...
Backported from commit: 93e083da4f
2018-05-09 16:07:20 +02:00
SpaceEEC
54913d9edb
feat(GuildChannel): add setNSFW method
...
Backported from commit: 0fc9459450
PR: #2050
2018-05-09 16:04:49 +02:00
SpaceEEC
2f2e28183b
fix(Role): allow role color to be removed
...
Backported from: f985b6bef3
PR: #2447
2018-05-08 22:05:56 +02:00
Kyra
a89de09855
fix(RESTMethods): remove listener from correct event ( #2534 )
2018-05-03 17:56:10 +02:00
SpaceEEC
ff671b2f3c
fix(RestMethods): typo timeout -> timed
2018-04-19 13:53:44 +02:00
SpaceEEC
de78a8d0b4
fix(RESTMethods): verify correct member in add and remove role listeners
...
Fixes #2480
2018-04-19 13:13:28 +02:00
SpaceEEC
7c37a0d386
fix(MessageDeleteBulkAction): remove bulkDeleted messages from cache
...
Fixes #2382
2018-04-19 11:50:30 +02:00
Lewdcario
7c0b6173dd
fix: Role#setPermissions resolving & docs
2018-04-18 19:57:16 -05:00
Lewdcario
92b421607e
fix: GuildChannel#setTopic not nullable
2018-04-18 19:35:28 -05:00
sekwah41
6e5b674338
Fixed updateChannel being too protective ( #2460 )
...
If I am not mistaken the only way atm to remove a channels parent atm is to do this to get the null value through the code.
channel.client.rest.methods.updateChannel({id:channel.id, name:channel.name,
topic:channel.topic,position:channel.position,
bitrate:channel.bitrate,userLimit:channel.userLimit,parent:{id:null}}, {});
This fixes the method allowing channel.setParent(null); to work
2018-04-13 14:03:18 +02:00
Lewdcario
363ead922a
fix: bulkDelete discarding non-cached messages
2018-03-02 12:17:10 -06:00
Lewdcario
40a2f093aa
fix(VoiceChannel): setUserLimit defaulting to wrong value
2018-02-13 10:43:38 -06:00
Lewdcario
e978253896
fix(Webhook#send): incorrect docs + return
...
Two things:
* Documentation doesn't account for possible raw object return
* Allows the return to be a Message object as well, like the docs originally intended
2018-01-24 13:06:05 -06:00
Isabella
932980e91f
fix(guild#createRole): incorrect guild reference
2018-01-16 08:28:08 -06:00
SpaceEEC
db5bdcd855
feat: backport after and before parameter when fetching a reaction's users ( #2218 )
...
Commits:
- f40a5e9f88
- 5cd42695ae
2018-01-04 01:07:14 +01:00
Isabella
9f0417c09d
fix(Guild#createChannel): default to text ( #2168 )
...
update docs
doc fixes
real fix
stuf
2017-12-12 06:33:48 +01:00
Isabella
862b2ec3d4
Backport: Guild#createChannel ( #2145 )
...
* Backport: Guild#createChannel
* this should not return a buffer
2017-12-06 07:08:46 +01:00
Isabella
d705a0c7d0
fix(VoiceChannel#edit): incorrect bitrate ( #2144 )
2017-12-04 05:38:06 +01:00
Isabella
cce2480bb5
feature(CategoryChannel): backport ( #2117 )
...
* feature(CategoryChannel): backport
fix
no
* ????
* bad ternary
2017-11-19 23:19:46 -05:00
SpaceEEC
1fe201ae90
Backporting, doc/bug fixes as well deprecation ( #1826 )
...
* Backporting, doc/bug fixes as well deprecation
* Adress issue with not resettable icons/images
2017-08-25 15:14:05 +02:00
Isabella
17d7f5c723
resolveImage backport ( #1822 )
...
* add resolveImage
* add groupDMChannel#setIcon + icon getter
* doc fix
* crawl no kill pls
* *whistles*
* channe
2017-08-23 05:29:22 +02:00
SpaceEEC
0b22d9a774
Backporting Attachments ( #1817 )
2017-08-22 00:39:27 +02:00