Gus Caplan
7f4846c826
Add option to filter old messages in TextBasedChannel#bulkDelete ( #1090 )
...
* add filtering for messages older than two weeks
* Update RESTMethods.js
* Update RESTMethods.js
* Update RESTMethods.js
* Update TextBasedChannel.js
* Update RESTMethods.js
* Update RESTMethods.js
* Update RESTMethods.js
* Update RESTMethods.js
* Update TextBasedChannel.js
2017-01-14 16:21:23 -05:00
Gus Caplan
e216fc7a81
stop spamming api, and kill typing when a guild isn't there anymore ( #1096 )
2017-01-14 17:31:52 +00:00
Schuyler Cebulskie
74fd0421ba
Add missing descriptions
2017-01-13 00:18:00 -05:00
Gus Caplan
a3091f5262
Handle 4011 ws event code ( #1083 )
...
* 4011
* Update WebSocketManager.js
* smh gawdl3y
2017-01-11 22:59:09 +00:00
Schuyler Cebulskie
b2822c584a
Minor doc updates
2017-01-10 19:43:25 -05:00
Schuyler Cebulskie
8b0e5aad38
Fix sendEmbed with array content
2017-01-10 19:22:03 -05: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
Gus Caplan
d47f9d202b
update search to have more useful returns ( #1060 )
2017-01-03 23:49:19 +00:00
Schuyler Cebulskie
eaf2091c2f
Rearrange some methods and improve search description
2016-12-30 16:17:31 -05:00
Schuyler Cebulskie
43283eeaec
Clean up search examples slightly
2016-12-30 16:15:51 -05:00
Gus Caplan
da32c2ec3d
add more search stuff ( #1046 )
...
* add more search stuff
* clean up the options
* fix link hostname
* use some resolvers
* fix type
2016-12-30 17:14:31 +00:00
Gus Caplan
beffb390e6
Add search ( #1043 )
...
* add search
* Update ClientDataResolver.js
2016-12-30 02:44:19 -05:00
Schuyler Cebulskie
3e3de51545
Update message sending docs
2016-12-29 11:01:27 -05:00
Schuyler Cebulskie
ba77e69edf
Document boolean for code option
2016-12-29 10:51:05 -05:00
Amish Shah
6d7293e3c5
Fix sending an array of messages
2016-12-29 14:00:54 +00: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
2e7472bb1a
just webpack things ( #988 )
2016-12-14 19:40:47 -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
Gus Caplan
27270a3bad
add embed support! ( #894 )
...
* add embed support!
* document message embeds
* make gawdl3y happy
* make edit great again
* make docs better
* Update Message.js
* Update TextBasedChannel.js
* Update TextBasedChannel.js
2016-11-13 01:05:13 -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
Schuyler Cebulskie
589c44327a
Make bot/user account notices consistent
2016-10-30 16:41:39 -04:00
Schuyler Cebulskie
5fa9e3548b
Rename ClientDataResolver.resolveFile -> resolveBuffer
2016-10-30 16:29:56 -04:00
Schuyler Cebulskie
60e0d507f0
Clean up nearly all promises to utilise chaining, other small fixes
2016-10-30 16:27:28 -04:00
Schuyler Cebulskie
8306d50bd8
Clean up a bunch of promise stuff
2016-10-30 12:47:17 -04:00
Schuyler Cebulskie
c9c6e8a357
Added note about bot accounts to fetchMessage
2016-10-23 14:59:04 -04:00
Gus Caplan
3e1425af04
allow TextBasedChannel#bulkDelete to take a number ( #821 )
...
* useful
* update docs
* Update TextBasedChannel.js
* update docs
* fix docs
* Update TextBasedChannel.js
2016-10-23 14:51:54 -04:00
Schuyler Cebulskie
62b93659e6
Clean up and simplify some code
2016-10-17 00:02:54 -04:00
Schuyler Cebulskie
fc307fab8a
Remove unnecessary array conversions
2016-10-16 21:14:59 -04:00
Schuyler Cebulskie
7e0f98ec68
MOAR SIMPLIFICATION
2016-10-15 01:45:13 -04:00
Schuyler Cebulskie
f2555132fe
Simplify sendCode lang
2016-10-15 01:29:46 -04:00
Schuyler Cebulskie
29b33bffaa
Rearrange and clean up more webhook stuff
2016-10-09 15:50:50 -04:00
Schuyler Cebulskie
e7745a0af5
Clean up some webhook stuff
2016-10-09 15:30:46 -04:00
Schuyler Cebulskie
bd7ff36b66
Allow infinite messageCacheMaxSize
2016-10-09 15:22:14 -04:00
Schuyler Cebulskie
7a53f70978
Rename maxMessageCache -> messageCacheMaxSize
2016-10-09 15:16:54 -04:00
Schuyler Cebulskie
7b571f9729
Add escapeMarkdown util function
2016-10-09 14:32:48 -04:00
Gus Caplan
1c4ed4547f
adds new WebhookClient and allows you to fetch channel webhooks and such without being "over the top" ( #768 )
...
* start blocking out client
* proto webhookclient
* wee working webhooks
* it's all working
* run docs
* fix jsdoc issues
* add example for webhookClient
* add example in the examples place
* fix docs
2016-10-07 19:09:41 +01:00
Schuyler Cebulskie
973dbe8266
Add more @readonly and clean up some stuff
2016-09-27 20:07:33 -04:00
Schuyler Cebulskie
b6c26cc2ae
Replace console.log in catches with console.error
2016-09-27 18:50:01 -04:00
Schuyler Cebulskie
ba8dd3467a
Switch config back to camelCase
2016-09-27 18:42:32 -04:00
Schuyler Cebulskie
d240fe4182
Improve prepend/append descriptions
2016-09-26 23:21:44 -04:00
Schuyler Cebulskie
9ad4e27ce5
Add note about bot accounts to bulkDelete
2016-09-19 18:12:21 -04:00
Schuyler Cebulskie
cb80d69649
Move MessageCollector into its own file
2016-09-19 13:41:17 -04:00
Schuyler Cebulskie
7d8667694d
Fix massive timeout/interval memory leaks
2016-09-19 03:49:42 -04:00
Schuyler Cebulskie
0405b1a59f
Make TextBasedChannel.sendCode escape codeblocks
2016-09-14 21:20:58 -04:00
Schuyler Cebulskie
136cf66eb0
Fix split prefix with undefined/null lang
2016-09-13 01:18:51 -04:00
Schuyler Cebulskie
862ec6a5be
Allow null/undefined TextBasedChannel.sendCode lang
2016-09-13 01:01:11 -04:00
Schuyler Cebulskie
5464ee7e64
Clean up MessageOptions JSDoc
2016-09-12 16:23:15 -04:00
Schuyler Cebulskie
7ff9ac2bcc
Add TextBasedChannel.sendCode and make User/GuildMember partial implementations
2016-09-11 10:55:41 -04:00
Schuyler Cebulskie
47d71d32f3
Make grammer gooder
2016-09-11 01:40:37 -04:00