bdistin
8729ee6a1d
Fix #1253 : Permission Overwrites Resolution ( #1255 )
...
* Fix #1253
* apparently @ everyone role can be undefined
* Fix oops
* Fixes possible mutiple roles named '@everyone'
* Clean up order/logic
2017-03-15 15:29:34 +01:00
Schuyler Cebulskie
16fe48d405
Overhaul Permissions utilities (EvaluatedPermissions no more)
2017-03-06 02:22:42 -05:00
Schuyler Cebulskie
7473fd513e
Remove InviteOptions typedef, rephrase
2017-03-01 04:48:26 -05:00
SpaceEEC
fc42a46e5b
Invite options ( #1223 )
...
* test
* updated descripton
* Update GuildChannel.js
2017-03-01 04:45:05 -05:00
Amish Shah
26becb570b
Fix #1168 (.hasPermission)
2017-02-04 20:58:39 +00:00
Funnbot
0b5eeb08f3
clone topic in channel.clone() ( #1157 )
...
* Update GuildChannel.js
* Update GuildChannel.js
* Update GuildChannel.js
* Update GuildChannel.js
* Update GuildChannel.js
* Update GuildChannel.js
2017-02-03 21:37:32 -05:00
Gus Caplan
2beb77ab5c
check if a guildchannel is deletable ( #1143 )
...
* Update GuildChannel.js
* eghhh
* Update GuildChannel.js
2017-01-28 10:07:53 +00:00
Gus Caplan
495264761c
Add snowflake utils ( #1064 )
...
* snowflakes
* use proper binary for snowflake example
* fix jsdoc errors
* remove dupe
2017-01-05 15:41:42 +00:00
Alexander
264ee8e7f1
Equals updates ( #987 )
...
* Docs update
Changed the param names and param descriptions to be consistent.
* Added === comparison
Changed Presence.equals and Game.equals to first compare using ===
* Collection.equals fix
Now returns false when collection is undefined, instead of crashing
💯
2016-12-14 17:10:34 -05:00
Alexander
906bb3c5f3
Utilise Collection#equals for structures' equals ( #986 )
...
Utilizing Collection.equals in GuildChannel.equals
Utilizing Collection.equals in GroupDMChannel.equals
2016-12-14 15:35:40 -05:00
Gus Caplan
d766e727a1
add GuildChannel#clone ( #973 )
...
* add GuildChannel#clone
* e
2016-12-11 09:07:52 +00:00
Schuyler Cebulskie
90304aa7d6
Fix loads of JSDoc type issues
2016-11-12 20:52:37 -05:00
Slamakans
5dc30d6812
Nullable permission overwrites ( #869 )
...
Made it possible to pass null to GuildChannel.overwritePermissions's
PermissionOverwriteOptions to blank the permission out.
2016-11-06 10:43:31 +00:00
Programmix
fe3914658a
Grammar cleanup ( #875 )
...
This commit:
* fixes inconsistencies (primarily regarding capitalization)
* fixes non-proper nouns that were improperly capitalized
* fixes reminents from not-so-meticulous copy+paste jobs
2016-11-05 23:57:34 +00:00
Programmix
9a61de1493
Document GuildChannel.edit, add VoiceChannel.setUserLimit, fix typo ( #866 )
2016-11-01 01:42:05 -04:00
Schuyler Cebulskie
73261646fc
Fix ESLint warnings
2016-10-30 17:23:39 -04:00
Amish Shah
d42ac98339
Fix #775 (permission overwrites not taking into account previous values)
2016-10-24 15:47:31 +01:00
Schuyler Cebulskie
62b93659e6
Clean up and simplify some code
2016-10-17 00:02:54 -04:00
Gus Caplan
299484ff68
allow overwritePermissions to take a role id ( #792 )
...
* allow overwritePermissions to take a role id
* Fix typo
2016-10-11 20:29:29 -04:00
Schuyler Cebulskie
b6c26cc2ae
Replace console.log in catches with console.error
2016-09-27 18:50:01 -04:00
Amish Shah
14b8360453
fix doc issue with role
2016-09-24 19:47:50 +01:00
Schuyler Cebulskie
9288cd8563
Replace usages of owner.id with ownerID, and fix GroupDMChannel.equals
2016-09-19 01:43:24 -04:00
Schuyler Cebulskie
47d71d32f3
Make grammer gooder
2016-09-11 01:40:37 -04:00
Schuyler Cebulskie
0833500d60
Made most object typedefs specify their properties
2016-09-11 01:21:49 -04:00
Schuyler Cebulskie
a5dfa08777
Revert "Hopefully fix type showing in GuildChannel docs"
...
This reverts commit 5563af0da5 .
2016-09-08 19:56:21 -04:00
Schuyler Cebulskie
5563af0da5
Hopefully fix type showing in GuildChannel docs
2016-09-08 19:54:55 -04:00
Schuyler Cebulskie
978cf9d87f
Fix permission overwrites for @everyone
2016-09-07 23:42:14 -04:00
Schuyler Cebulskie
818649b94f
Organise structure methods
2016-09-07 02:07:39 -04:00
Schuyler Cebulskie
b7f582b7f0
Clean up a bunch of stuff
...
- Channel typing data is now a Map
- Client properties on structures are now non-enumerable and
non-configurable
2016-09-07 00:24:45 -04:00
Schuyler Cebulskie
752e12116e
Move topic to TextChannel ( Fixes #642 )
2016-09-06 18:05:14 -04:00
Schuyler Cebulskie
910f47240d
Move and document GuildChannel.guild ( #613 )
2016-09-06 16:45:09 -04:00
Schuyler Cebulskie
0b908f5bce
Cleanup Part 2: Electric Boogaloo (Reloaded) ( #594 )
...
* Cleanup Part 2: Electric Boogaloo (Reloaded)
* Moar cleanup
* Tweak NOT_A_PERMISSION error
2016-09-04 10:08:09 +01:00
Amish Shah
5a9c42061f
Fix permissionsFor
2016-09-03 23:46:39 +01:00
Schuyler Cebulskie
68acf37fd4
Add stricter/better ESLint config ( #589 )
...
* Add stricter/better ESLint config
* Remove more unnecessary @returns
2016-09-03 20:45:23 +01:00
Schuyler Cebulskie
d97ce2e181
Remove all string object references ( #586 )
2016-09-03 16:58:28 +01:00
Schuyler Cebulskie
27652b94af
Make JSDocs follow general conventions ( #582 )
...
* Make JSDocs follow usual conventions
* Fix StringResolvable name
* Make function lowercase
2016-09-03 09:57:25 +01:00
Amish Shah
b18aaa8711
Fix channel permission overwrites not being accounted for ( #574 )
2016-08-31 13:41:13 +01:00
Amish Shah
ba3d104619
Added guildChannel.createInvite();
2016-08-28 20:32:37 +01:00
Schuyler Cebulskie
b1772089d1
Made GuildChannel.toString return a mention ( #543 )
2016-08-26 22:57:08 +01:00
Gus Caplan
3a031c65e7
fix issues with line length being greater than 120 ( #544 )
2016-08-26 16:17:04 +01:00
Schuyler Cebulskie
0a005cbd16
Fix other .equals(null) ( #541 )
2016-08-26 00:14:19 +01:00
Amish Shah
8d094cdfb1
Add channel.type
2016-08-25 19:41:27 +01:00
LewisHogan
cdb74a75f2
Indev rewrite - Changed GuildChannel type ( #536 )
...
* Altered GuildChannel.type to return a string containing either "text",
"voice" or the id of the channel type.
* Fixed typo
* Altered code to pass ESLint test (Functionality Unchanged).
* Third times the charm.
2016-08-24 23:38:07 +01:00
Amish Shah
1deefbd8cd
change maps to Collections
2016-08-23 00:17:44 +01:00
Amish Shah
59cc02de89
Remove lastMessageID from voiceChannel
2016-08-22 19:29:02 +01:00
Amish Shah
89569d9249
fix docs yet again
2016-08-22 18:54:33 +01:00
Amish Shah
c294a0fac4
Move example to right place
2016-08-22 18:48:31 +01:00
Amish Shah
85fd82818f
Pass ESlint
2016-08-22 18:47:38 +01:00
Amish Shah
6f2caffd32
Add setting channel overwrites
2016-08-22 18:47:21 +01:00
Amish Shah
3d3766f129
do more docs
2016-08-18 13:22:36 +01:00