Commit Graph

34 Commits

Author SHA1 Message Date
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
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
1676a5e73f Bridged WebSocket Events and REST Requests. Now REST Requests will respond exactly like WS Events to data 2016-04-24 16:30:58 +01:00
hydrabolt
f3e1760538 add channel.sendMessage and channel.sendTTSMessage 2016-04-21 17:42:52 +01:00
hydrabolt
d437fd31cf MessageDelete handling 2016-04-18 18:06:31 +01:00
hydrabolt
c947e172d6 Add MessageCreate handler, set up Message class and add ability to Cache messages 2016-04-18 17:55:21 +01:00
hydrabolt
9956e43c8e initial 2016-04-16 22:58:49 +01:00