Gus Caplan
e48d7d52f1
add webhook#sendSlackMessage ( #788 )
2016-10-10 01:56:18 -04:00
Schuyler Cebulskie
29b33bffaa
Rearrange and clean up more webhook stuff
2016-10-09 15:50:50 -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
77e37b62ef
Fix sendMessage with no content and split/disableEveryone
2016-10-02 11:14:32 -04:00
Schuyler Cebulskie
8945344a3b
Improve role position updating (allows for <=0)
2016-09-30 22:51:37 -04:00
Schuyler Cebulskie
c2c477834f
Add Role.setMentionable
2016-09-30 22:48:25 -04:00
Schuyler Cebulskie
543e814f8e
Move protocol version to a constant, and reorganise constants a bit
2016-09-30 02:45:16 -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
ba8dd3467a
Switch config back to camelCase
2016-09-27 18:42:32 -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
Gus Caplan
15d7f8e2fe
Add Guild#prune ( #723 )
...
* make all changes neat
* run docs build
2016-09-21 15:57:14 -04:00
Schuyler Cebulskie
6a94658dd7
Clean up some stuff
2016-09-19 04:32:24 -04:00
Schuyler Cebulskie
6c6da43da3
Fix ban/unban with IDs
2016-09-18 23:07:30 -04:00
Amish Shah
9308d2ead3
Address #700
2016-09-14 16:35:38 +01:00
Schuyler Cebulskie
25531170ec
Fix catch in _sendMessageRequest
2016-09-13 21:29:45 -04:00
Schuyler Cebulskie
bb0ca11776
De-stupify RESTMethods.getExistingDM
2016-09-13 20:50:18 -04:00
Amish Shah
fbcea236c5
Fix avatars not being set on selfbots - fixes #697
2016-09-13 20:21:12 +01:00
Amish Shah
3dab19a3bc
Add Client.fetchInvite
2016-09-11 18:19:55 +01:00
Schuyler Cebulskie
47d71d32f3
Make grammer gooder
2016-09-11 01:40:37 -04:00
Schuyler Cebulskie
7da00cf0fe
Add long message splitting
2016-09-11 01:01:36 -04:00
Amish Shah
4255dcd3ca
Fix multipart for requests, fixes #675
2016-09-10 12:40:51 +01:00
Programmix
ab4707f9b4
Fix crash on role update ( #648 )
2016-09-07 00:26:34 -04:00
Schuyler Cebulskie
c7b4cf3d3f
Add Guild.fetchMember
2016-09-06 20:36:58 -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
Schuyler Cebulskie
9d694d2b67
Add ability to ban non-members from guilds ( #638 )
2016-09-06 16:55:42 -04:00
Schuyler Cebulskie
dc7b07022c
Add GuildMember.addRole/addRoles ( #615 )
...
* Add GuildMember.addRole/addRoles
* Add GuildMember.removeRole/removeRoles
2016-09-05 07:18:51 +01:00
Schuyler Cebulskie
5bd258a557
Allow sendMessage disableEveryone to override client option ( #605 )
2016-09-04 21:05:38 +01:00
Hackzzila
3b7d5e869b
Added disable_everyone ( #603 )
...
* Added disable_everyone
* Fixed docs
2016-09-04 19:03:59 +01:00
Manuel Kraus
48e7fad1c9
Expose TextBasedChannel#fetchMessage() ( #602 )
2016-09-04 18:46:29 +01:00
Amish Shah
9f0db9d0d8
join arrays with new lines when sending as messages
2016-09-04 17:16:01 +01:00
Amish Shah
7475f734ac
Add debug stuff
2016-09-04 12:31:16 +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
59a5862f2d
Clean up Actions code ( #591 )
2016-09-03 22:48:51 +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
d97ce2e181
Remove all string object references ( #586 )
2016-09-03 16:58:28 +01:00
Amish Shah
1cbd1bda46
fix the bug in a better way
2016-09-02 16:57:14 +01:00
Amish Shah
7d27667afc
Fix weird guild ug
2016-09-02 16:56:13 +01:00
Amish Shah
d249aa10cc
Add client.destroy();
2016-08-30 13:05:57 +01:00
Amish Shah
897cbfec77
Fix leaving guilds if you are the owner
2016-08-29 19:03:50 +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
b44a3770d9
Added guild.fetchInvites()
2016-08-28 21:00:01 +01:00
Amish Shah
1dba048d2e
Add invite.delete()
2016-08-28 20:51:27 +01:00
Amish Shah
ba3d104619
Added guildChannel.createInvite();
2016-08-28 20:32:37 +01:00
Amish Shah
9f1475f358
Add TextBasedChanel.fetchPinnedMessages()
2016-08-28 19:42:40 +01:00
Amish Shah
a57d6b723a
Add message.pin() and .unpin();
2016-08-28 19:03:08 +01:00
Amish Shah
ef0f38930f
Added Guild.fetchBans()
2016-08-27 22:48:48 +01:00
Amish Shah
22062f1f86
Added guild.unban
2016-08-27 22:31:21 +01:00
Amish Shah
4d6c604322
Added GuildMember.ban()
2016-08-27 21:59:35 +01:00
Amish Shah
6a1a36813f
Add TextBasedChannel.setTyping(bool)
2016-08-27 21:44:08 +01:00
Amish Shah
9ea9623de0
Add Permission Overwrites deletion
2016-08-27 19:40:14 +01:00