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
SpaceEEC
f7664b01a2
Backports ( #1813 )
...
* Backported OAuth2Application 201ecd25a2
* Backported retry on 500 57b6980313
* Backported b8034525e3 and fa5c4efa2b
2017-08-21 22:25:21 +02:00
SpaceEEC
be4ccb3686
Backporting audit log reasons and createRole with position for 11.2 ( #1810 )
...
* Backporting audit log reasons and createRole with position for 11.2
* Sending kick reason via header rather than via query
2017-08-21 22:21:18 +02:00
Crawl
26e5ef3205
Update deps and fix webpack
2017-07-16 14:34:23 +02:00
Gus Caplan
3ec08d5976
add nsfw options to 11.1 search ( #1540 )
...
* Update RESTMethods.js
* Update TextBasedChannel.js
2017-05-29 23:53:49 +02:00
aemino
e3c3a4fd60
GuildMember#setVoiceChannel fix ( #1482 )
...
Looks like someone forgot to remove the full channel object from the PATCH payload.
2017-05-12 06:42:18 +02:00
SpaceEEC
1e115efa56
fix fetchMentions' auth header, options and data mapping ( #1457 )
...
* fix fetchMentions' auth header, options and data mapping
* vscode strikes again
* switched to Util.mergeDefault
* vscode
* removed duplicated optionals and switched to instanceof
2017-05-06 01:04:05 +02:00
Anxeal
e96daba7c0
Fix typo in RESTMethods.js ( #1455 )
...
Mentions should be written with a capital M
2017-05-03 20:36:22 +01:00
Anxeal
3a73628567
Fix typo in RESTMethods.js ( #1454 )
...
fetchMeMentions -> fetchMentions 🤔
2017-05-03 20:36:17 +01:00
Gus Caplan
4127cf6e40
Experimental support for Audit Logs ( #1403 )
...
* start audit logs
* make better var types so gawdl3y doesn't shit on this
* add constructor stuff
* make more changes
* add entry creation
* add methods
* make it all work hopefully
* aaa
* aaaa
* i wish i could test this locally
* fix users, guild when i feel like it
* make guild prop non-enumerable
* make better types
* change nouns
* e
* Update GuildAuditLogs.js
* Update GuildAuditLogs.js
* Update GuildAuditLogs.js
* eek
* Update GuildAuditLogs.js
* Update GuildAuditLogs.js
* friggin trailing spaces
* Update GuildAuditLogs.js
* docs!
* Update GuildAuditLogs.js
* reason stuff
* Update GuildAuditLogs.js
* Update GuildAuditLogs.js
* support before/after for pagination
* Update Guild.js
* Update GuildAuditLogs.js
* mfw using github web editor
* fix build
* Update Guild.js
* amazing cache fuckery shit evil
* cool stuff
* make building audit logs nicer
* ban endpoint stuff
* dox
* <.<
2017-04-29 20:34:57 +01:00
SpaceEEC
909b825c94
Fixed acknowledging of channels ( #1411 )
...
* Fixed acknowledging of channels
* using channel#lastMessageID and resolve when it's not present
2017-04-25 23:29:08 +02:00
Gus Caplan
c670209021
allow search('string here') ( #1408 )
2017-04-24 16:43:30 +02:00
Drahcirius
84aab1021a
reaction remove fix ( #1366 )
2017-04-11 18:10:14 +01:00
Gus Caplan
0a56fa0aae
websocket cleanup ( #1346 )
...
* websocket cleanup
* resume event
* Update Resumed.js
* Update WebSocketManager.js
2017-04-10 20:02:17 +02:00
Gus Caplan
801633b970
User settings ( #1337 )
...
* user settings bruh
* remove development dump
* emit stuff
* i am so done
* Update ClientUserSettings.js
* modularize
* Update ClientUserSettings.js
* Update Constants.js
* Update ClientUserSettings.js
* Update RESTMethods.js
* Update ClientUserSettings.js
* <.<
2017-04-05 22:03:33 +02:00
SpaceEEC
6ce24398ab
Fix messageReactionAdd internally & doc fix ( #1341 )
2017-04-05 21:34:14 +02:00
SpaceEEC
d2e3d6dc63
replaced 'del' with 'delete' ( #1328 )
2017-04-01 16:16:05 +02:00
Gus Caplan
a4e0af2e45
make positions for channels and roles nicer ( #1211 )
...
* make role calculated position nicer
* make channels sortable in a nice way too
* stupid git web rebase editor
* Update Guild.js
* Update Guild.js
* Update Guild.js
* Update Guild.js
* Update RESTMethods.js
2017-04-01 08:28:54 +02:00
SpaceEEC
07740955cf
Fixing stuff, borked by #1323 ( #1326 )
...
* several things
* see my comment
* Fixed missing stuff and returned undefined
2017-04-01 07:29:31 +02:00
Gus Caplan
1df3b84da6
rewrite endpoints for consistancy and modularity ( #1323 )
...
* rewrite endpoints for consistancy and modularity
* clean up a bit
* add missing endpoint
2017-03-31 18:36:09 +01:00
SpaceEEC
e08f2bad30
Add guild#createRole resolve permissions and RoleData optional ( #1321 )
...
* resolving permissions
* make RoleData optional
2017-03-31 12:55:23 +02:00