Gus Caplan
68c25fef28
Update Guild.js ( #1545 )
2017-05-30 15:34:06 +02:00
Drahcirius
4292134647
Refactored static resolvers to Util ( #1517 )
...
* ready event will now throw errors properly
* ws login rejection fix
* moved static resolves to util
2017-05-23 12:18:18 +02:00
Gus Caplan
694f8278f1
make fetching members way better ( #1124 )
...
* make fetching members way better
* fix up fetching edge cases yet again
* stop making useless collections
* Update Guild.js
* Update Guild.js
* consistency?
* Update GuildMembersChunk.js
* Update Guild.js
* Update Guild.js
* Open editor to fix issues instead of GH: check
2017-05-21 22:09:37 +02:00
SpaceEEC
fce15ba33c
Fix for bulkDelete, acknowledge, createInvite and remove some redundant stuff ( #1515 )
2017-05-21 22:04:57 +02:00
Gus Caplan
0baa59b679
Internal API Request Rewrite ( #1490 )
...
* start rewrite
* converted guilds
* more changes
* convert GuildMember
* convert User and remove friend methods which kill people
* convert more stuff
* even more stuff
* make things nicer
* speed and fixes and stuff
* almost finished
* fix
* Update Client.js
* uwu
* Update RESTMethods.js
* message editing
* fix router
* fix issue with references
* message delete reason
* move message sending
* fix dm
* message splitting
* NO MORE REST METHODS
* Update Client.js
* Update WebhookClient.js
* remove all those endpoints from the constants
* Update ClientUser.js
* Update ClientUser.js
* fixes
* Update ClientUser.js
* complaiancy
* all sort of fixes
* merge master (#1 )
* Fix Permissions now that member is deprecated (#1491 )
* removing more deprecation leftovers (#1492 )
* Fix MessageCollectors
* Fix awaitMessages (#1493 )
* Fix MessageCollector#cleanup
* Fix MessageCollector#postCheck
* Add max option back for safety
* Update Invite.js (#1496 )
* guild setPosition missing docs (#1498 )
* missing docs
* update return docs
* indent
* switched .invites for the apirouter and invite.js
* make multiple options an object
* Update ClientUser.js
* fix nicks
* Update WebhookClient.js
2017-05-21 07:04:19 +02:00
bdistin
4aa734b9ef
guild setPosition missing docs ( #1498 )
...
* missing docs
* update return docs
2017-05-16 16:11:11 +02:00
Gus Caplan
35ef9cd33d
Add Guild#nameAcronym and make avatar/iconURLs into functions ( #1144 )
...
* Guild#iconURL(format, size);
* OAuth2Application#iconURL(format, size);
* User#iconURL(format, size);
2017-05-01 20:37:00 +01:00
Amish Shah
2ace21c412
backwards compat docs
2017-05-01 15:10:11 +01:00
Amish Shah
140839128a
Fix ban delete days
2017-05-01 15:07:02 +01:00
Amish Shah
0f4983852e
Fix ban message delete days
2017-05-01 14:57:27 +01:00
aemino
5cad25ea69
Add Guild#me ( #1384 )
...
* Add Guild#me
(also did minor docs cleanup)
* Don't use Guild#member as there's nothing to resolve
* Update ClientDataResolver.js
* Update Guild.js
* Update Guild.js
* Update Guild.js
2017-04-30 04:30:59 -04:00
Crawl
ac92d2cecc
Improve docs a bit
2017-04-30 04:30:44 +02:00
Schuyler Cebulskie
3f8c0a4d11
Move things
2017-04-29 20:56:40 -04: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
956372731f
Using ws.connection.status rather than undefined ws.status ( #1429 )
2017-04-28 21:27:30 +02:00
SpaceEEC
401822a094
Made search argument optional, added useronly warning and fixed endpoint ( #1407 )
2017-04-24 14:31:39 +02:00
Crawl
96041dbd3a
Fix doc string
2017-04-23 08:51:07 +02:00
Mr. Sakamoto
4aa82b4fdf
fix Guild setOwner example ( #1383 )
...
* fix Guild setOwner docs
* hello s and bye s
2017-04-15 22:13:20 +02:00
Crawl
878e5d7c76
Fix example typo
2017-04-10 00:39:07 +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
Amish Shah
970bfffc46
Fix emoji events ( fixes #1333 )
2017-04-05 17:05:27 +01:00
SpaceEEC
ecb8655dac
Document readonly and private properties ( #1338 )
2017-04-03 20:05:36 +02:00
Crawl
09489e2b9f
Fix indent on doc string
2017-04-01 21:19:39 +02:00
Isabella
d189b51da5
explicit content filter for guilds ( #1329 )
2017-04-01 21:16:30 +02:00
Crawl
358131fb6f
Fix _sortedRoles in Guild.js
2017-04-01 16:27:55 +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
Gus Caplan
305a7d14af
whoops ( #1325 )
2017-03-31 23:13:41 +02: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
104f3397af
Add defaultRole to guild ((╯°□°)╯︵ ┻━┻) ( #1311 )
...
* (╯°□°)╯︵ ┻━┻
* Update Guild.js
2017-03-30 08:44:08 -04:00
Schuyler Cebulskie
136cab240d
Add new ESLint rules
2017-03-17 01:23:39 -04:00
Gus Caplan
94062d19dd
Add message/channel/guild acknowledging ( #1239 )
...
* add acking
* 👀
* Update RESTMethods.js
* Update TextBasedChannel.js
* Update RESTMethods.js
* Update Guild.js
* Update TextBasedChannel.js
* Update Message.js
* super shitty names
* Update GroupDMChannel.js
* Update DMChannel.js
* Update TextChannel.js
2017-03-16 09:38:12 -04:00
Gus Caplan
2897692cf1
fix created timestamp precision ( #1241 )
...
* fix created timestamp precision
* perf
* Update Snowflake.js
* gawdl3y was butthurt
* Update Snowflake.js
2017-03-09 18:31:31 -05:00
lipgloss
0e6b5e9193
Change update to create ( #1231 )
2017-02-27 07:03:24 +00:00
Schuyler Cebulskie
f3a7f59824
Several improvements
...
- Rename Guild#updateChannelPositions -> setChannelPositions
- Allow Guild#setChannelPositions to take ChannelResolvables
- Prioritise ClientDataResolver#resolveChannel's string case
- Minor cleanup
2017-02-25 15:29:32 -05:00
Programmix
a029999b09
Doc fixes, mostly pertaining to Snowflakes ( #1218 )
...
GUS!!!! @GusCaplan
2017-02-24 15:33:51 -05:00
lipgloss
f068010e96
Implement 'Modify Guild Channel Positions' ( #1198 )
...
* Adding shuffleArray method to utils
* Shuffle channels functionality on guild.
* Comment fix
* Removing shuffle functionality and replacing with a simple update
* Code review changes to method/variable names
* Update comment reference to channelId as well
* Updating jsdoc with typedef of ChannelPosition
2017-02-22 20:24:05 +00:00
Schuyler Cebulskie
b0338df7db
Add more required permissions to Guild#addMember
2017-02-21 15:09:46 -05:00
Schuyler Cebulskie
8d1bc30e40
Clean up dd6dd6f
2017-02-21 15:07:54 -05:00
Jamelele
1273bb42ec
Doc fixes ( #1197 )
...
* Improve ban/unban examples
* Fix example comments
* Replace nondescript 'user' parameter with 'some user ID'
* Update Guild.js
* Update Guild.js
2017-02-19 16:06:18 -05:00
Schuyler Cebulskie
7232531eb1
Move all util methods into class
...
Remove TransformMessageOptions altogether
2017-02-15 22:25:18 -05:00
Mike
dd6dd6fb59
Added support for adding users to guild 2 ( #1179 )
...
* Added support for adding users to guild
added RESTMethods#AddGuildMemberOptions and Guild#addMember with typedef
AddGuildMemberOptions to be able to add user to guild as a member
through `PUT/guilds/{guild.id}/members/{user.id}`
https://discordapp.com/developers/docs/resources/guild#add-guild-member
* fixing lint errors
* Changes based on discussion
* Changes based on discussion 2
* Changes based on discussion 3
Yay! More changes.
2017-02-08 21:04:39 +00:00
Alex
ab5e57d94b
Create Emoji requires a base64 data uri ( #1154 )
2017-02-06 14:19:03 -05:00
Gus Caplan
59ff1d99ba
fix types for snowflakes ( #1156 )
...
* fix types for snowflakes
* Update TextBasedChannel.js
2017-02-03 21:37:58 -05:00
Gus Caplan
1e94a9e2a4
serious role position stuff ( #1159 )
...
* serious role position stuff
* kill meh
* Update Role.js
* Update Guild.js
* Update Role.js
2017-02-01 22:02:16 +00:00
Gus Caplan
565c640bc6
Add role support to emoji creation ( #1141 )
...
* add role support to emojis
* specify types
2017-01-30 22:47:27 -05:00
Programmix
c1a5bee61f
GuildMembersChunk packet handler hotfix ( #1125 )
...
* GuildMembersChunk packet handler hotfix
* Add limit, resolve properly if a query is used
* Document new GuildMemberChunk param
2017-01-24 21:55:36 +00:00
Gus Caplan
306ea97f99
fix guild member fetching edge cases ( #1115 )
...
* thx4tipprogrammixluvubye
* consistancy
* make this loop for some reason
* so impatient
2017-01-21 16:37:28 +00:00
Gus Caplan
0300601649
remove redundant editing ( #1116 )
...
* remove redundant editing
* update docs
2017-01-19 17:11:24 +00:00
Gus Caplan
3f4cbd07dd
add voice region getting ( #1108 )
...
* add voice region getting
* clean up this mess
* add docstrings
* Update VoiceRegion.js
* Update RESTMethods.js
2017-01-18 19:14:44 -05:00
Programmix
7cb5b22ebb
@Gawdl3y dun goofed ( #1099 )
2017-01-14 20:03:26 -05:00