Commit graph

848 commits

Author SHA1 Message Date
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
db492e66e2
chore: explicitly mark everything deprecated as @ deprecated (#3307) 2019-05-29 22:18:14 +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
Schuyler Cebulskie
8a086e04ab Add news/store channel support to CHANNEL_CREATE 2019-05-11 18:11:19 -04:00
Schuyler Cebulskie
f30019dd4f Remove unnecessary import 2019-05-11 17:24:25 -04:00
Schuyler Cebulskie
5e4654ee07 Backport news/store channels 2019-05-11 14:58:46 -04:00
SpaceEEC
ee42bdfd76
feat(GuildMember): add support for voice kicking (#3246)
This backports e64773e21b (#3242)
2019-05-06 19:18:29 +02:00
SpaceEEC
67da457c0a
fix/docs(Client): type status and do not throw an error if accessed before login 2019-05-05 13:44:34 +02:00
SpaceEEC
60013b7a10
fix(WebSocketConnection): stringify data when no websocket is available
[object Object] is not really descriptive
2019-05-04 21:00:49 +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
Amish Shah
745e18b823 fix #3150: can now create dispatcher with 0 volume 2019-03-22 12:43:51 +00: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
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
5272cec6c8 feat(Util): add WHITE as color resolvable (#3062) 2019-02-09 23:52:38 +00:00
izexi
3b7b282b69 docs(Client): add missing example tag and closing parenthesis (#3024) 2019-01-17 09:58:04 +01:00
Darqam
5ed2a95856 docs(Client): add missing parenthesis in fetchInvite example (#3023)
This is already fixed in master, resolves #3022
2019-01-16 19:17:19 +01:00
Drahcirius
7186c91063 fix(TextBasedChannel): added missing lastMessage functionality in textchannels (#2999) 2018-12-23 22:16:50 -06:00
SpaceEEC
691aaef07e
backport(Guild): support for rateLimitPerUser when creating a channel
PR: #2878
Commit: 8ec3b5134d
2018-11-17 17:24:48 +01:00
Isabella
950abd4ac3
fix: revert #2768 (#2848)
* fix: revert #2768

* fix merge
2018-10-14 11:44:02 -05:00
SpaceEEC
7ea88adeca
backport(Guild): support for createChannel with options object (#2888) 2018-10-10 10:05:32 +02:00
SpaceEEC
ea3e575546
backport(TextBasedChannel): add lastPinTimestamp and lastPinAt (#2870)
And clarify Client#channelPinsUpdate's 'time' parameter.
2018-10-10 10:01:04 +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
SpaceEEC
e0f522a745 backport(ClientOptions): add retryLimit (#2869) 2018-10-03 17:20:53 -05:00
Crawl
641ee86105 build(peer-deps): use uws fork backport (#2782)
* build(peer-deps): uws backport

* chore: update to 149 for uws
2018-08-30 17:55:31 -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
Kyra
3345c77ce2 backport: GUILD_INTEGRATIONS_UPDATE event (#2794)
* backport: Client#on{guildIntegrationsUpdate,webhookUpdate}

misc: Update Constants.WSEvents and WSEventType

backport: Add guildIntegrationsUpdate event handler

* docs: Updated typings
2018-08-28 10:25:44 -05:00
Kyra
453098117f backport: WEBHOOKS_UPDATE event (#2779) 2018-08-26 11:59:15 -05:00
Lewdcario
93bf430fc7
fix: Guild#addMember incorrectly resolving userID 2018-08-26 09:46:55 -06:00
Isabella
4ee3cf0b55
fix: WebhookClient should handle ratelimits properly 2018-08-21 11:12:02 -05:00
Kyra
dc8cf08de9 backport: handle async stacktraces correctly (#2768) 2018-08-21 10:31:32 +02:00
Lewdcario
d772bff632
fix(ClientDataManager): replacing channels unecessarily 2018-08-12 11:50:01 -05:00
SpaceEEC
8adfc97409
docs(Client): actually fix rateLimit's event params 2018-08-11 09:38:58 +02:00
Lewdcario
0e370d7a4c
docs: fix client#rateLimit parameters 2018-08-09 14:58:17 -05: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
95a2d25b7d
chore: deprecate userbot methods 2018-07-26 11:18:41 -06:00
Gymnophoria
a97b5040e6 docs(Client): clarify messageReactionRemove event's user description (#2657)
* Clarify messageReactionRemove user description

* Update MessageReactionRemove.js

* wait one more word difference lol
2018-07-18 11:37:36 +02:00
Lewdcario
524a15df0b
backport: Permissions improvements 2018-07-17 21:49:21 -05:00
Amish Shah
d81441f627
voice: null-check UDP socket 2018-07-03 14:15:27 +01: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
3d82ca901b
docs: improvements in various places
* Client#login example consistency

* add warning to Client#fetchApplication

* incorrect WEBHOOK_DELETE value
2018-06-29 19:38:20 -05:00
Lewdcario
448f38429d
fix(Client): login not properly rejecting on invalid token 2018-06-29 19:38:06 -05:00
Lewdcario
3fa9ed1f42
backport: deleted property 2018-06-29 19:11:50 -05:00
Camzure
7ce1d1642c docs: only cached messages emit reaction events (#2607)
* wording improvement

* wording improvement for docs

* docs: wording

* wording

* user account only: docs

* Edited

* Edited

Signed-off-by: SpaceEEC <spaceeec@yahoo.com>
2018-06-21 21:40:52 +02:00