Amish Shah
d365eb95e2
document game data #687
2016-09-11 18:23:58 +01:00
Amish Shah
3dab19a3bc
Add Client.fetchInvite
2016-09-11 18:19:55 +01:00
Amish Shah
aa5df43c50
Force user.bot to be a boolean
2016-09-11 17:25:16 +01:00
Amish Shah
f0a9a1353f
prevent further user inaccuracies
2016-09-11 16:57:09 +01:00
Schuyler Cebulskie
a52beaa78d
Improve GuildMember.permissionsIn failure
2016-09-11 11:08:54 -04:00
Schuyler Cebulskie
e7eee3410a
This is unnecessary.
2016-09-11 10:59:34 -04:00
Schuyler Cebulskie
7ff9ac2bcc
Add TextBasedChannel.sendCode and make User/GuildMember partial implementations
2016-09-11 10:55:41 -04:00
Amish Shah
9e05caec0d
Add GuildMember.hasPermissions
2016-09-11 12:58:56 +01:00
Amish Shah
3fba72107b
Add GuildMember.permissionsIn and make ChannelResolvables more lenient
2016-09-11 12:51:32 +01:00
Amish Shah
7933d755be
Fix docs generator and add EvaluatedPermissions.hasPermissions()
2016-09-11 12:44:31 +01:00
Amish Shah
5b8f882a0f
fix avatars being set to undefined
2016-09-11 11:50:19 +01:00
Schuyler Cebulskie
272555d9ae
Better.
2016-09-11 02:18:22 -04:00
Schuyler Cebulskie
350c893ead
Add GuildMember.toString
2016-09-11 02:13:49 -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
7da00cf0fe
Add long message splitting
2016-09-11 01:01:36 -04:00
Schuyler Cebulskie
68879777d8
Rename EvaluatedPermissions.permission to .raw
2016-09-10 22:37:38 -04:00
Amish Shah
48f84c6178
Fix nicknames not changing
2016-09-10 21:39:09 +01:00
Schuyler Cebulskie
3e39861534
Fix #677
2016-09-10 14:22:09 -04:00
Schuyler Cebulskie
537b372b42
Fix another ESLint failure
2016-09-10 12:46:22 -04:00
Schuyler Cebulskie
91a7d4f80e
Move channel type to constructors
2016-09-10 12:39:28 -04:00
Amish Shah
3f52ba27c9
DMChannel now uses data manager to instantiate users
2016-09-10 17:31:56 +01:00
Amish Shah
78673139ca
Move _typing to constructor
2016-09-10 17:30:20 +01:00
Amish Shah
fd564176ff
Have block in place for rare weird typing in voice channel bug
2016-09-10 17:28:51 +01:00
Amish Shah
c6aa16277a
Add TextChannel.members
2016-09-10 17:06:10 +01:00
Amish Shah
cd404fc7d3
Merge branch 'master' into indev
2016-09-10 11:35:36 +01:00
bdistin
9b45294814
Update Guild.js ( #673 )
2016-09-10 07:31:37 +01:00
Schuyler Cebulskie
c405d67e09
Add User typing methods
2016-09-09 14:11:30 -04:00
Amish Shah
e44853ee6d
Fix weird bot bug #612
2016-09-09 16:41:57 +01:00
Amish Shah
dbaaa8dc93
Fix null game objects being defaulted to current game - fixes #666
2016-09-09 16:28:40 +01:00
Schuyler Cebulskie
01d032abee
Merge remote-tracking branch 'refs/remotes/origin/master' into indev
...
# Conflicts:
# src/structures/Guild.js
2016-09-09 00:45:35 -04:00
Schuyler Cebulskie
4be7a1bfd1
My ESLint is broken
2016-09-08 22:30:27 -04:00
Schuyler Cebulskie
9309b702eb
Remove unnecessary default in docs
2016-09-08 22:06:53 -04:00
Schuyler Cebulskie
bbc9df0b0d
Improve cleanContent code
2016-09-08 22:05:30 -04:00
Tim Hwang
8f04fae4c0
Change _updateMember's notSame check from && to || ( #665 )
2016-09-08 21:55:50 -04:00
Kelvin Wu
9888cef486
Add content parameter to sendFile() ( #664 )
...
* Add content arg to sendFile(). Closes #658 .
* Shorten this a bit.
2016-09-08 21:55:18 -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
LewisHogan
9bef99c75c
Added cleanContent getter ( #644 )
...
* Added cleanContent getter which replaces mentions with the equivalent
text.
(Majority of code implemented by Gus).
* Fixed bug where invalid mentions would cause crash
* Fixed not cleaning @everyone and @here
* Fixed only detecting first @here or @everyone, resolved to test software (and learn regular expressions) in the future
2016-09-08 16:38:17 -04:00
Schuyler Cebulskie
57acd4f41a
Add GuildMember.permissions/hasPermission
2016-09-08 02:29:51 -04:00
Schuyler Cebulskie
978cf9d87f
Fix permission overwrites for @everyone
2016-09-07 23:42:14 -04:00
Schuyler Cebulskie
465ff074e1
Prevent Guild.fetchMember from messing with fetchMembers
2016-09-07 23:12:36 -04:00
Kelvin Wu
9bdf670a14
Add Guild.defaultChannel. ( #646 )
...
* Add Guild.defaultChannel. Closes #643 .
* Change defaultChannel to a getter.
2016-09-07 15:58:18 -04:00
Schuyler Cebulskie
818649b94f
Organise structure methods
2016-09-07 02:07:39 -04:00
Schuyler Cebulskie
73cb34ed37
Move _typing to text-based channels
2016-09-07 01:34:46 -04:00
Schuyler Cebulskie
f185d892c7
Fix two more lines to use new typing map
...
And a tiny text fix
2016-09-07 00:58:19 -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
c7b4cf3d3f
Add Guild.fetchMember
2016-09-06 20:36:58 -04:00
Kelvin Wu
f3286402fb
Make Message.edit() accept arrays. ( #630 )
...
* Make Message.edit() accept arrays. Update corresponding parameters in docs (#624 ).
* Tweak parameter types in docs.
* Update docs.
2016-09-06 20:32:24 -04:00
Programmix
17bee8084e
Add Message.edits ( #636 )
...
* Add Message.edits
* Make travis happy
* Change @type for consistency
2016-09-06 19:20:35 -04:00