Isabella
36555c1cea
refactor(GuildMember#manageable): refactored kickable and bannable ( #2211 )
...
* refactor(GuildMember#manageable): merged kickable and bannable code
* hydar suggestion
2018-01-16 01:32:40 +01:00
bdistin
4122db0275
Return undefined from Collection.find() / findKey() ( #2260 )
...
To be compliant with Array.find() / findIndex()
2018-01-16 01:24:19 +01:00
bdistin
3d32dea5e1
remove pointless function from GuildEmojisUpdate ( #2256 )
2018-01-16 01:20:51 +01:00
bdistin
3038d4b2c7
Address missing application docs in setPresence ( #2257 )
...
fixes #2103 according to how crawl says it should be fixed in #2104
2018-01-16 01:20:36 +01:00
bdistin
4fb7e64a39
Add parent, nsfw, bitrate, and userLimit options to GuildChannel.clone() ( #2259 )
...
* Add parent, nsfw, bitrate, and userLimit options to GuildChannel.clone()
* fix lint
2018-01-16 01:20:09 +01:00
pedall
42c0e50c92
Fix ShardClientUtil#broadcastEval - now really accepting functions ( #2248 )
...
* small fix to broadcastEval accepting functions
* dont ignore idea anymore (separate PR then)
2018-01-14 20:46:08 +01:00
Dim
351f5f7209
fix: missing height & width in embeds ( #2249 )
2018-01-14 13:28:46 +00:00
Dim
a3be0f3726
docs: Collection > RoleStore ( #2251 )
2018-01-14 13:28:00 +00:00
Yukine
352bd13e6f
fix typo in Error constants ( #2243 )
...
* fix typo in Error constants
* another one (#1 )
2018-01-13 12:52:25 +00:00
Jisagi
ea028ae074
Fix destructuring errors in GuildChannelStore and RoleStore ( #2244 )
...
* Permissions#resolve fix
* Travis failed because >120 chars per line
* better fix
Permissions#resolve reverted
removed destructuring in GuildChannelStore and RoleStore
2018-01-13 12:51:09 +00:00
Gus Caplan
8aafcd6cde
allow passing a function to shard eval ( #2193 )
2018-01-12 14:05:27 +01:00
bdistin
2249da464f
Fix member.ban() and channel.clone() ( #2241 )
...
* Fix member.ban()
* also fix channel.clone()
* type is an option parameter in the new create
* lint
* better fix for clone
2018-01-11 18:44:35 +00:00
Isabella
9eac19d9d8
refactor: more oop with stores ( #2216 )
...
* refactor: more oop with stores
* forgot bulk delete
* Revert "forgot bulk delete"
This reverts commit 1b4fb999ee07b358ee6e1af9efb8981b84f83af1.
* appease linter
* missed some
shh
* fail
2018-01-11 16:33:30 +00:00
Amish Shah
90fc161159
Update copyright notice on license
2018-01-11 16:14:54 +00:00
bdistin
5efddac025
Fix Channel.delete() example ( #2238 )
2018-01-09 21:17:08 +01:00
Schuyler Cebulskie
e792757e32
Only create ShardClientUtil when spawned by ShardingManager
2018-01-08 22:13:46 -05:00
SpaceEEC
2318812f7f
fix: allow the Util#parseEmoji regex to match emoji identifier ( #2229 )
2018-01-04 20:29:32 +01:00
Alex
780a311c0a
Minor refactor to Util methods ( #2213 )
...
* Minor refactor to Util methods
* Fix derp
2018-01-04 01:18:56 +01:00
1Computer1
01f1f1b58e
Fix query string on requests after ratelimited ( #2215 )
...
* Fix querystring being appended multiple times when ratelimited
* Better way?
* Better better way
* Fix empty queries
2018-01-04 01:17:15 +01:00
Isabella
45127bb408
docs: improve examples (master branch) ( #2209 )
...
* docs: improve examples
* more improvements
fix
maybe this
another example
collectors
* stuff
2018-01-04 01:12:05 +01:00
Isabella
61da73fee0
GuildMember#permissionsFor takes object ( #2210 )
2018-01-04 01:04:19 +01:00
Gus Caplan
abb93c9eb9
fix location of toString for channels ( #2202 )
2018-01-04 01:01:39 +01:00
Darqam
954a1c8d1a
updating channelCreate example to reflect recent changes ( #2194 )
...
* updating channelCreate example to reflect recent changes
Type is now part of the options object, so the example should reflect that.
* changing type to reason per comment
2018-01-04 01:00:39 +01:00
Steven
229eb2be2d
Fix Collector bug where checkEnd is only called on a valid message ( #2186 )
2017-12-31 20:21:29 +01:00
Gus Caplan
84e4dd6a99
animated emojis ( #2182 )
2017-12-31 20:20:52 +01:00
Alex
59d5c5a947
Don't send files in edit request ( #2199 )
2017-12-31 20:19:05 +01:00
Isabella
4063a3a16b
fix(Guild#createChannel): default type to 'text' ( #2184 )
...
* fix(Guild#createChannel): default type to 'text'
* gus suggestion
2017-12-23 12:29:42 +01:00
Isabella
4f8f2087c1
docs/fix(setParent): docs update and nullable channel param ( #2160 )
...
* fix(setParent): no longer in GuildChannel
* refactored
* little bit less ugly
* space/appel suggestion
* docs fix
* shhhhhhhh
* fun docs trip
* prototype thing
* mark nullable
2017-12-21 09:31:17 +01:00
Yukine
0c16859746
enchanced docs for GuildChannel ( #2155 )
...
* enchanced docs for GuildChannel
* changes due request
2017-12-21 09:30:32 +01:00
Isabella
1598efa0b8
fix(CreateMessage): reassigning wrong content ( #2169 )
2017-12-12 06:33:10 +01:00
Isabella
443961ce43
fix(CreateMessage): fix attachment and array sending ( #2158 )
2017-12-10 21:22:59 +01:00
Schuyler Cebulskie
20689a51a1
Add exports for new util functions
2017-12-02 17:02:17 -05:00
bdistin
3e3674b1af
Fix channels.resolve ( #2137 )
2017-11-30 14:39:58 -05:00
Yukine
134ef7a61b
added a new Typedef for Bans you can get from <Guild>.fetchBans() and fixed a little typo in the fetchAuditLogs() method ( #2108 )
...
* added a new Typedef for Bans you can get from <Guild>.fetchBans() due recent change aswell as fixed a little typo in the fetchAuditLogs() mehtod so .type has no the correct type defined
* little change due request
* fixed indentation
* Update Guild.js
* Update Guild.js
2017-11-29 23:36:03 -05:00
Schuyler Cebulskie
77fc046550
Merge branch 'custom-structures'
2017-11-29 23:27:43 -05:00
Frangu Vlad
efd1c4c516
docs: Remove leftover docstring from 11.2 ( #2115 )
...
* Fix leftover docstring from 11.2
* Here too
* Update Guild.js
* Update GuildMember.js
2017-11-26 10:59:21 +01:00
1Computer1
2f84d95077
Add more options to MessageMentions#has ( #2131 )
...
* Add more options to MessageMentions#has
* Rename ignoreSelf to ignoreDirect
2017-11-26 10:58:17 +01:00
Schuyler Cebulskie
be02875f05
I don't even
2017-11-24 23:16:21 -05:00
Schuyler Cebulskie
7cd0a9525d
Fix ClientUser not extending custom User
2017-11-24 23:05:00 -05:00
bdistin
dcf48e2225
Fix inconsistency with Channel Creation: CustomStructures ( #2121 )
...
* Fix inconsistancy with Channel Creation
* Because static get is a function, it thinks we are create a new instance based on that function, rather than the returned class...
2017-11-24 22:42:02 -05:00
Schuyler Cebulskie
950e65c7f1
Merge branch 'shard-overhaul'
2017-11-24 22:36:34 -05:00
Schuyler Cebulskie
0d188c0fba
Rename ShardingManager#launch event to shardCreate
2017-11-24 22:33:29 -05:00
Schuyler Cebulskie
c6244ee6e1
Fix shards not respawning on exit
2017-11-20 22:37:35 -05:00
Schuyler Cebulskie
527c729aca
Possibly fix weird behaviour
2017-11-20 22:29:46 -05:00
Schuyler Cebulskie
c447abad60
Clear evals and fetches on process death
2017-11-20 22:26:14 -05:00
Schuyler Cebulskie
b5459a96fa
Move ShardingManager#message event to Shard#message
2017-11-20 22:20:32 -05:00
Gus Caplan
aaa92c0b05
fix things ( #2116 )
2017-11-20 12:57:45 +01:00
Schuyler Cebulskie
f3817e328b
JK, back to Structures.extend
2017-11-20 01:37:19 -05:00
Schuyler Cebulskie
cf07b7e342
Re-add docs
2017-11-20 01:13:36 -05:00
Schuyler Cebulskie
1e0ee2f8fa
Replace Structures.extend with set
2017-11-20 01:11:19 -05:00