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
Amish Shah
1deefbd8cd
change maps to Collections
2016-08-23 00:17:44 +01:00
Amish Shah
ce0d9a7272
Add message.mentions.channels
2016-08-22 23:37:17 +01:00
Amish Shah
2a1799f20f
Move around mentions and stuff
2016-08-22 23:09:45 +01:00
Amish Shah
ddd3ea9727
Fixed Guild Role Delete Handling
2016-08-22 22:45:02 +01:00
Amish Shah
dd40b870d5
Add message.pinned
2016-08-22 20:46:56 +01:00
Amish Shah
cf34f253cb
Change message.mentions to a Map
2016-08-22 19:45:27 +01:00
Amish Shah
8d5d90e222
Remove all data stores! Move to maps
2016-08-19 22:35:03 +01:00
Amish Shah
82ab92ca2a
Migrate most of the Client Data Store to Clien
2016-08-19 22:21:34 +01:00
Amish Shah
3e3a411a42
fix docs
2016-08-18 18:51:35 +01:00
Amish Shah
ab92be4209
Add a type to Message.id in docs
2016-08-17 19:22:18 +01:00
Amish Shah
614c488f96
work on docs
2016-08-17 19:15:33 +01:00
Amish Shah
4fff20d66e
update some docs
2016-08-16 23:22:52 +01:00
Amish Shah
b8db4c4f4b
ESLint stuff...
2016-08-13 14:44:49 +01:00
hydrabolt
e9d7dfaee3
Added message.edit(content)
2016-04-24 17:30:58 +01:00
hydrabolt
618d8bb957
Simplified client.rest.methods.DeleteMessage, now only takes a message instead of a channel and a message.
2016-04-24 16:41:23 +01:00
hydrabolt
c42e303b7b
Add Message Deletion via message.delete()
2016-04-21 18:50:46 +01:00
hydrabolt
f3e1760538
add channel.sendMessage and channel.sendTTSMessage
2016-04-21 17:42:52 +01:00