Commit Graph

322 Commits

Author SHA1 Message Date
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
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
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
8d777db1d1 Clean up status type error 2016-10-03 20:27:41 -04:00
Schuyler Cebulskie
e24c9c271e Quite possibly fix annoying bug Evie was complaining about 2016-10-03 20:25:39 -04:00
Schuyler Cebulskie
51f30d6e4c Add nickname mention format to GuildMember.toString 2016-10-02 01:51:14 -04:00
Programmix
d35372d3e9 Fix MessageCollector.next edge case (#765) 2016-10-02 00:23:35 -04:00
Programmix
1fcc618532 Fix removeListener call (#762) 2016-10-01 16:22:32 -04:00
Programmix
34168eb832 Create MessageCollector.next (#761)
Allows using await with message collectors (ES7)
Hydrabolt approved™
2016-10-01 20:29:15 +01:00
Amish Shah
7c26603773 Fix presences probably ¯\_(ツ)_/¯ 2016-10-01 15:27:56 +01:00
Amish Shah
ab15c45d96 fixed role stuff 2016-10-01 11:21:35 +01:00
Schuyler Cebulskie
9063aa8abf Merge master 2016-10-01 03:44:43 -04:00
Schuyler Cebulskie
2acfb16cb8 Fix Guild.emojis doc 2016-10-01 03:41:49 -04:00
Schuyler Cebulskie
66beeb9535 Add role position comparison methods 2016-10-01 03:32:08 -04:00
Schuyler Cebulskie
93cf34a814 I found some more. 2016-10-01 02:58:32 -04:00
Schuyler Cebulskie
d1e07674b8 Make GuildMember.kickable/bannable take role IDs into account 2016-10-01 02:54:25 -04:00
Schuyler Cebulskie
db815d4d9f I'm gonna need more derps to fix. 2016-10-01 02:47:17 -04:00
Schuyler Cebulskie
d246982a61 Fix another derp wooo 2016-10-01 01:42:13 -04:00
Schuyler Cebulskie
a441aaf546 Fix derp in GuildMember.kickable/bannable 2016-10-01 01:27:11 -04:00
Schuyler Cebulskie
c2c477834f Add Role.setMentionable 2016-09-30 22:48:25 -04:00
bdistin
428ee2f718 Added .missingPermissions() (#756)
* Added .missingPermissions()

* Added .missingPermissions()

* Fixed docs for .missingPermissions()

* Fixed Travis CI trailing spaces?

* Fixed Travis CI trailing spaces?
2016-09-30 22:08:19 +01:00
Schuyler Cebulskie
155b4383d2 No, Hydra! Bad! 2016-09-27 22:13:04 -04:00
Gus Caplan
aed75e1f9a Add full guild emoji functionality (#749)
* all the emoji stuff

* fix things for hydra 😘

* feck i need to stop committing on github

* update docs again

* Butts
2016-09-27 20:44:09 -04:00
Schuyler Cebulskie
973dbe8266 Add more @readonly and clean up some stuff 2016-09-27 20:07:33 -04:00
Schuyler Cebulskie
1a3f5ca6a9 Add Invite.expiresAt/expiresTimestamp 2016-09-27 19:50:03 -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
Schuyler Cebulskie
ba8dd3467a Switch config back to camelCase 2016-09-27 18:42:32 -04:00
Amish Shah
045153584a redo the client user presence stuff 2016-09-27 17:57:47 +01:00
Schuyler Cebulskie
d240fe4182 Improve prepend/append descriptions 2016-09-26 23:21:44 -04:00
Schuyler Cebulskie
ecbc591c95 Update setStatus docs for DND, other docs - setStatus code needs updating 2016-09-26 23:16:29 -04:00
Schuyler Cebulskie
e5f4823bd4 Document do not disturb 2016-09-26 22:56:07 -04:00
Schuyler Cebulskie
0c0c1da0d5 Fix Presence/Game.equals with null/undefined 2016-09-26 22:53:35 -04:00
Schuyler Cebulskie
909af2084f Clean up Presence 2016-09-26 22:53:08 -04:00
Schuyler Cebulskie
f2cd48d94b Reorganise Presence 2016-09-26 22:50:26 -04:00
Gus Caplan
c8761d72de add guild emoji methods (#742)
* add guild emoji methods

* run docs

* crawl pointed out some things about the docs, so i fixed

* actually run the docs on the changes 🤦
2016-09-26 21:39:07 +01:00
Amish Shah
f1cb39a319 Expose Presence and Game structures 2016-09-25 20:17:35 +01:00
Amish Shah
761b8cfb8d fix docs 2016-09-25 14:28:51 +01:00
Amish Shah
03651fd6e3 Change how presences are handled 2016-09-25 14:16:03 +01:00
Amish Shah
14b8360453 fix doc issue with role 2016-09-24 19:47:50 +01:00
Schuyler Cebulskie
f1bfd55233 Fix Guild.createChannel example 2016-09-24 02:21:06 -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
Gus Caplan
e86b93b34f fix docs because gawdl3y forgot >:( (#724) 2016-09-22 02:25:08 -07:00
Schuyler Cebulskie
8af96810dd Rename Guild.prune to pruneMembers 2016-09-21 16:05:33 -04:00
Schuyler Cebulskie
6ba0dd26a6 Reorganise Guild methods 2016-09-21 16:04:33 -04:00
Schuyler Cebulskie
e9a7a06d52 Improve docs for voiceConnection/connection 2016-09-21 16:03:05 -04:00
Schuyler Cebulskie
a27f6c96bb Fix & clean up Guild.voiceConnection and VoiceChannel.connection 2016-09-21 16:01:08 -04:00