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
Gus Caplan
69b7d5d58e
Fix #1903 ( #1904 )
2017-09-07 16:25:55 +01:00
SpaceEEC
95e22c2f12
feat/fix: add DiscordAPIError#path and fixed Burst request handler handling api errors ( #1867 )
2017-09-01 16:05:22 +02: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
iCrawl
8a9b6cbdb5
Stop doubling the message key
2017-07-31 01:32:44 +02:00
iCrawl
bdc61a4068
Wrong operator in flattenErrors
2017-07-31 01:29:46 +02:00
SpaceEEC
a56a24d042
Fixed DiscordAPIError#message sometimes being undefined
2017-07-31 01:26:42 +02:00
Crawl
26e5ef3205
Update deps and fix webpack
2017-07-16 14:34:23 +02:00
Gus Caplan
85ec7c64bc
update docs for discord api error ( #1575 )
...
* aaaaa
* Update DiscordAPIError.js
2017-06-29 19:52:44 +01: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
Gus Caplan
6eced4d465
fix infinte loop issue ( #1488 )
2017-05-14 19:34:51 +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
Cody A. Taylor
61a081faa5
Document flattenErrors keys param ( #1447 )
...
* Document flattenErrors keys param.
* Remove parens.
* Capitalise a letter
2017-05-01 20:47:45 +01:00
Crawl
ac92d2cecc
Improve docs a bit
2017-04-30 04:30:44 +02:00
Amish Shah
1a69331f0c
Merge branch 'master' of https://github.com/hydrabolt/discord.js
2017-04-29 21:09:56 +01:00
Amish Shah
c40252381b
Deprecate all the things
2017-04-29 21:09:53 +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
Amish Shah
b0a3528411
sorry gus i borked
2017-04-29 20:00:05 +01:00
Amish Shah
195fcfa15c
Rewrite WebSocket internals ( #1410 )
...
* Start rewriting Manager and Connection
* more stuff
* stuff
* Fix ready bug
* some stuff i forgot
* fix some stuff
* add stupid heartbeat ack like seriously who cares
* woo!
* fix a bug
* rate limit the dumb websocket
* stuff
* hdocs
* Docs
* Remove ClientManager#setupKeepAlive as it is now redundant
* Change Client._pingTimestamp to a getter that fetches the timestamp from the WebSocketConnection
* are you happy now eslint smh
* make gus happy
* Add CloseEvent external doc
* Make sure to emit 'reconnecting' when actually reconnecting
* ffs
* Fix RESUME logic
* Add heartbeat ack debug messages, including latency data
* Dumb stuff for Gus
* thx eslint
* more dumb stuff
* more dumb crap smh gus i h8 u
* moar messages
* fix for using wrong status, causing certain events not to be fired (#1422 )
2017-04-28 16:13:06 +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
Amish Shah
25e0048bbf
remove useless waiting reference
2017-04-11 17:59:27 +01:00
Amish Shah
6495df50f9
Fix sequential rate limiting
2017-04-11 17:54:03 +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
ecb8655dac
Document readonly and private properties ( #1338 )
2017-04-03 20:05:36 +02:00
SpaceEEC
d2e3d6dc63
replaced 'del' with 'delete' ( #1328 )
2017-04-01 16:16:05 +02:00
Gus Caplan
cb3f6d9646
http rewrite (actually works this time!!1!) ( #1257 )
...
* rewrite http
* browser fun
* all the mimes dammit
* i need a newline
* whoops
* forgot about this
* use promises and HTTPRequest.method
* fluent
* move httpclient to external module
* branding
* middleware
* revert middleware
2017-04-01 09:04:01 +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
Gus Caplan
dd8907472c
nonce has to be a uint64 :< ( #1240 )
...
* nonce me daddy
* Update RESTMethods.js
* Update RESTMethods.js
* Update RESTMethods.js
* Update RESTMethods.js
* Update RESTMethods.js
* Update RESTMethods.js
* (╯°□°)╯︵ ┻━┻
* Update RESTMethods.js
* Update RESTMethods.js
2017-03-21 03:17:20 -04:00
Gus Caplan
3e0c0f44a2
make useragent better because data is fun ( #1244 )
...
* Update UserAgentManager.js
* Update UserAgentManager.js
* gawdl3y is one of the most pants-on-head retarded people i have ever met
* Update UserAgentManager.js
* Update UserAgentManager.js
* Update UserAgentManager.js
* Update UserAgentManager.js
2017-03-21 03:12:20 -04:00