Schuyler Cebulskie
95790dcf08
Update User#equals doc
2016-12-29 03:21:22 -05:00
Gus Caplan
ed8fcf651a
Centralise message sending logic in one method, remove sendTTSMessage, add client shortcut in RESTMethods ( #1031 )
...
* start wip rewrite of sending/editing messages
* pass the build, modify the edit method to fit the new system
* simplify the applyToClass method
* change handling of file options
* add back message splitting
* i couldn't help myself
* add some smart message options
* clean up, add sexy options
* fix indentation
* fix up splitting
* add \b
* add back old methods for hydar happiness
* clean up more
* move code handling to the rest method
* clean up this.rest.client
* Update TextBasedChannel.js
* add docs back for the bad methods
* fix reply in group dms
* srsly gawdl3y
* make code better
* fix changes for gawdl3y
* fix checking
* remove getter
* make code handling more robust
* k
* fix up sendEmbed docs
* stupid
* fix up more docs because aaaaa
* no more pls
2016-12-28 23:58:30 -05:00
Gus Caplan
cecb0aee02
Update User#setEmail/setPassword/setUsername ( #991 )
...
* fix some things with user updates and tokens and such
* fix stupid
* Update ClientUser.js
* Update ClientUser.js
2016-12-22 15:12:29 -05:00
Gus Caplan
84503c8877
add User#dmChannel ( #1005 )
...
* add User#DMChannel
* Update User.js
* Update User.js
2016-12-20 23:36:43 +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
Perry Berman
78026df1df
fix defaultAvatarURL ( #983 )
...
looks like someone forgot how to caps
2016-12-13 20:43:28 -05:00
Cole
586d652c16
Quality of life changes ( #968 )
...
* + Added function to get a user's default avatar
+ Added HOST constant to Constants
+ Added assets endpoint
+ Added quality of life function to get a user's avatar or default avatar
+ Added quality of life function to get member's nickname or username
* * Fixed invocation of a getter.
* Fixed lint issue
* Made the API constant use the HOST constant for DRY-ness
Changed DOC comment to be more descriptive
* Update GuildMember.js
2016-12-12 22:34:19 -05:00
Gus Caplan
b177aefdd6
add user/member lastMessageID ( #959 )
...
* add user.lastMessageID
* stupid
* add member.lastMessageID
2016-12-06 23:46:32 -05:00
Gus Caplan
6cfbf76406
add more embed stuff ( #939 )
...
* add fun embed stuff
* add more docstrings
* fix gawdl3y
* Update RichEmbed.js
2016-12-02 21:59:38 -05:00
Schuyler Cebulskie
2488e1a00f
Improved the definition of structures' client properties
2016-12-02 19:52:27 -05:00
Schuyler Cebulskie
ce132d5f54
Make bot/user account warnings MOAR CONSISTENT!!one!
2016-11-12 17:15:17 -05: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
6dc95cd084
Add support for notes ( #860 )
...
* Add support for notes
* Ensure consistency with notes from ready payload
* Add getter method for users
* Minor tweaks
* Update warning messages
* More minor fixes
2016-10-30 23:06:09 -04:00
Gus Caplan
c6bcf69dc3
added User#fetchProfile ( #835 )
...
* add User#fetchProfile
* fix merge conflicts?
2016-10-26 16:23:39 +01:00
Gus Caplan
422b90c711
add way more friend shit ( #815 )
2016-10-22 16:25:55 -04:00
Schuyler Cebulskie
973dbe8266
Add more @readonly and clean up some stuff
2016-09-27 20:07:33 -04:00
Schuyler Cebulskie
1e57c968dd
Made date/timestamps consistent and less shitty
2016-09-27 19:46:53 -04:00
Amish Shah
f1cb39a319
Expose Presence and Game structures
2016-09-25 20:17:35 +01:00
Amish Shah
761b8cfb8d
fix docs
2016-09-25 14:28:51 +01:00
Amish Shah
03651fd6e3
Change how presences are handled
2016-09-25 14:16:03 +01:00
Amish Shah
69f947dfcb
Fix #701
2016-09-14 16:24:18 +01:00
Schuyler Cebulskie
5dd25ac1f1
Rename User typing methods
2016-09-12 13:08:11 -04:00
Schuyler Cebulskie
d7bcf9564f
Clean up recent User changes a bit
2016-09-11 23:34:09 -04:00
Amish Shah
d365eb95e2
document game data #687
2016-09-11 18:23:58 +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
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
5b8f882a0f
fix avatars being set to undefined
2016-09-11 11:50:19 +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
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
7fea0a3937
Rename createdAt -> creationDate ( #628 )
...
* Rename createdAt -> creationDate
Also make it return a Date like it says, and small cleanup
* Build docs
2016-09-06 16:52:10 -04:00
HyperCoder
943767dc83
Add <User/Guild/Role/Channel>.createdAt ( #620 )
...
* Add Role.createdAt
* Add Channel.createdAt
* Add Guild.createdAt
* Add User.createdAt
* Change createdAt to Unix Timestamp
* Add createdAt to Emojis
* Change createdAt to Unix Timestamp
2016-09-05 15:59:27 +01: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
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
Manuel Kraus
d9ae732bfd
Add sendFile function ( #562 )
...
* sendFile
* Add default value to filename
* eslint
* (╯°□°)╯︵ ┻━┻
2016-08-29 19:01:05 +01:00
Amish Shah
e5057a5b6a
Add iconURL/avatarURL and fix object.values reference
2016-08-26 19:00:55 +01:00
Schuyler Cebulskie
8038903c3e
Fixed user.equals(null) ( #540 )
...
This fixes `user.equals` when passing `null` or `undefined`.
2016-08-25 22:06:32 +01:00
Amish Shah
be7b0fb5ca
Fix blank methods for user and textchannel
2016-08-18 13:13:35 +01:00
Amish Shah
18299970bd
Updated to docs format v3, adds support for interfaces
2016-08-18 13:07:45 +01:00
Amish Shah
c37191b582
Write some more docs
2016-08-17 23:46:58 +01:00
Amish Shah
562e3b119e
Fix user docs
2016-08-17 20:33:17 +01:00
Amish Shah
e7e6355cfe
work on guild docs
2016-08-17 16:28:31 +01:00
Amish Shah
b8db4c4f4b
ESLint stuff...
2016-08-13 14:44:49 +01:00
Amish Shah
53d767ec04
some doc stuff idk
2016-08-13 12:25:01 +01:00