Amish Shah
8e505ed349
Add Message Reaction me
2016-10-27 16:30:02 +01:00
Amish Shah
d129457624
Improve emoji support
2016-10-27 16:12:02 +01:00
Amish Shah
81059885a2
Start work on adding reaction support
2016-10-27 15:22:42 +01:00
Schuyler Cebulskie
c96d5ad30e
Optimise everyone/here replacing
2016-10-25 19:01:56 -04:00
Schuyler Cebulskie
526430b51a
Revert "Fix #837 "
...
This reverts commit add52ce62d .
2016-10-25 18:49:12 -04:00
Amish Shah
add52ce62d
Fix #837
2016-10-25 22:03:04 +01:00
Gus Caplan
bd5540314b
add message@#type
2016-10-17 21:24:16 -05:00
Schuyler Cebulskie
f2555132fe
Simplify sendCode lang
2016-10-15 01:29:46 -04:00
Schuyler Cebulskie
e3b2f1f3da
Fix require path
2016-10-09 15:08:21 -04:00
Schuyler Cebulskie
7b571f9729
Add escapeMarkdown util function
2016-10-09 14:32:48 -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
Schuyler Cebulskie
b6c26cc2ae
Replace console.log in catches with console.error
2016-09-27 18:50:01 -04:00
Kelvin Wu
fa18b0c6c9
Handle DM messages in cleanContent getter. ( #726 )
...
* Handle DM messages in cleanContent getter. Closes #725 .
* Fix build error, improve handling for user IDs.
* Update docblock to be more specific about behaviour.
* Handle group DMs in cleanContent.
* Regen docs.
2016-09-24 00:23:12 -04:00
Schuyler Cebulskie
46d7dedc85
Add Message.editCode
2016-09-19 15:14:51 -04:00
Schuyler Cebulskie
d8542b3365
Made Message.guild a getter
2016-09-19 00:47:42 -04:00
Schuyler Cebulskie
8603759b5e
Add Message.editable/deletable/pinnable
2016-09-19 00:42:58 -04:00
Schuyler Cebulskie
b88498271c
Fix Message.isMentioned(null/undefined)
2016-09-11 23:56:31 -04:00
Schuyler Cebulskie
95de09f389
Reorganised a bunch of methods
2016-09-11 23:55:50 -04:00
Schuyler Cebulskie
ce6cb626dc
Add Message.toString
2016-09-11 23:36:24 -04:00
Schuyler Cebulskie
7da00cf0fe
Add long message splitting
2016-09-11 01:01:36 -04:00
Schuyler Cebulskie
4be7a1bfd1
My ESLint is broken
2016-09-08 22:30:27 -04:00
Schuyler Cebulskie
bbc9df0b0d
Improve cleanContent code
2016-09-08 22:05:30 -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
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
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
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
Amish Shah
bf3c283998
Add Message.isMentioned
2016-09-04 17:21:50 +01:00
Amish Shah
9f0db9d0d8
join arrays with new lines when sending as messages
2016-09-04 17:16:01 +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
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
ae17a89191
Reduce memory usage by dynamically creating Dates
2016-09-02 13:18:27 +01:00
Amish Shah
1298fefa2f
Fix message docs
2016-09-01 10:08:46 +01:00
Amish Shah
5f5ee18543
Move message.mentionEveryone to message.mentions.everyone
2016-08-31 21:42:14 +01:00
Amish Shah
907c1ed9f9
Add message.system
2016-08-30 13:47:52 +01:00
Amish Shah
0860d5210b
Add message.member if available
2016-08-30 13:40:44 +01:00
Amish Shah
d249aa10cc
Add client.destroy();
2016-08-30 13:05:57 +01:00
Manuel Kraus
817bea5a70
Add timeout to Message#delete() ( #563 )
2016-08-29 20:15:41 +01:00
Amish Shah
3541b0a88f
Add MessageEmbed and subclasses
2016-08-29 15:53:57 +01:00
Amish Shah
f6c95de85d
Create MessageAttachment class
2016-08-29 15:35:44 +01:00
Amish Shah
a57d6b723a
Add message.pin() and .unpin();
2016-08-28 19:03:08 +01:00
Amish Shah
947f61e436
Actually fix message.mentions.channels
2016-08-26 23:27:37 +01:00
Amish Shah
642d768cdc
Add textBasedChannel.bulkDelete()
2016-08-26 22:13:27 +01:00
Amish Shah
6ddc7a813c
Add VoiceReceiver streams
2016-08-26 17:34:28 +01:00
Amish Shah
d710713c09
Add GroupDMChannel support
2016-08-23 13:27:25 +01:00
Hyper-Coder
3a16f5147d
Added message.reply ( #529 )
2016-08-23 02:12:46 +01:00
Amish Shah
50dcececfb
Create example docs
2016-08-23 00:34:46 +01:00