Schuyler Cebulskie
136cab240d
Add new ESLint rules
2017-03-17 01:23:39 -04:00
Gus Caplan
94062d19dd
Add message/channel/guild acknowledging ( #1239 )
...
* add acking
* 👀
* Update RESTMethods.js
* Update TextBasedChannel.js
* Update RESTMethods.js
* Update Guild.js
* Update TextBasedChannel.js
* Update Message.js
* super shitty names
* Update GroupDMChannel.js
* Update DMChannel.js
* Update TextChannel.js
2017-03-16 09:38:12 -04:00
Crawl
1f2d8bfbc1
Add missing sendFiles doc and on channels
2017-03-16 00:47:05 +01:00
Programmix
a029999b09
Doc fixes, mostly pertaining to Snowflakes ( #1218 )
...
GUS!!!! @GusCaplan
2017-02-24 15:33:51 -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
Schuyler Cebulskie
4447e367f6
Fix other BufferResolvables with base64
2016-12-30 16:22:29 -05:00
Schuyler Cebulskie
2ea744c9d1
Reestablish the natural order and heirarchy of all things
2016-12-30 16:19:15 -05:00
Amish Shah
023ac0a7fe
Add search() stubs for docs
2016-12-30 18:59:34 +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
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
c041b1bc23
fix these things ( #895 )
...
* fix these things
* fix enormous stupid
2016-11-13 02:05:55 -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
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
ab6750d06d
Make docs catches use console.error
2016-10-26 21:37:19 -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
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
7ff9ac2bcc
Add TextBasedChannel.sendCode and make User/GuildMember partial implementations
2016-09-11 10:55:41 -04:00
Amish Shah
7933d755be
Fix docs generator and add EvaluatedPermissions.hasPermissions()
2016-09-11 12:44:31 +01:00
Schuyler Cebulskie
91a7d4f80e
Move channel type to constructors
2016-09-10 12:39:28 -04:00
Amish Shah
78673139ca
Move _typing to constructor
2016-09-10 17:30:20 +01:00
Amish Shah
c6aa16277a
Add TextChannel.members
2016-09-10 17:06:10 +01: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
752e12116e
Move topic to TextChannel ( Fixes #642 )
2016-09-06 18:05:14 -04:00
Manuel Kraus
48e7fad1c9
Expose TextBasedChannel#fetchMessage() ( #602 )
2016-09-04 18:46:29 +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
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
Schuyler Cebulskie
b8a5669fda
Overhaul channel typing system ( #576 )
...
* Overhaul channel typing system
* Fix ESLint error
* Add channel.isTyping()
* Add count argument to startTyping
* Add range checking to startTyping count
* Better range checking for count
* Add channel.getTypingCount()
* Change getTypingCount() to typingCount getter
* Switch isTyping() to typing getter
* Fix new methods and switch to Map
* Fix applyProp so getters/setters will work
* Add default value to force
2016-09-02 13:00:33 +01:00
Amish Shah
e8c1c228d0
Refactor getMessages to fetchMessages
2016-08-31 21:34:49 +01:00
Amish Shah
ff3148ddd4
Add awaitMessages
2016-08-31 21:13:38 +01:00
Amish Shah
1da8ec7ddd
Create TextBasedChannel MessageCollector
2016-08-31 20:39:02 +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
9f1475f358
Add TextBasedChanel.fetchPinnedMessages()
2016-08-28 19:42:40 +01:00
Amish Shah
6a1a36813f
Add TextBasedChannel.setTyping(bool)
2016-08-27 21:44:08 +01:00
Amish Shah
642d768cdc
Add textBasedChannel.bulkDelete()
2016-08-26 22:13:27 +01:00
Amish Shah
8d094cdfb1
Add channel.type
2016-08-25 19:41:27 +01:00
Amish Shah
576a7f2488
Add TextBasedChannel{full}.getMessages()
2016-08-23 13:52:01 +01:00
Amish Shah
1deefbd8cd
change maps to Collections
2016-08-23 00:17:44 +01:00
Amish Shah
59cc02de89
Remove lastMessageID from voiceChannel
2016-08-22 19:29:02 +01:00
Amish Shah
4400eb1b5c
Moved _cacheMessage to TextBasedChannel to avoid repeating code
2016-08-19 21:20:00 +01:00
Amish Shah
4f4ec3146b
Store Channel Messages in Maps
2016-08-19 21:12:01 +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
4d4258b4e2
modify text/voice channels to show extensio from GuildChannel
2016-08-18 12:19:00 +01:00
Amish Shah
159233059e
Make ServerChannel GuildChannel
2016-08-18 10:27:31 +01:00