Commit Graph

482 Commits

Author SHA1 Message Date
Schuyler Cebulskie 9d694d2b67 Add ability to ban non-members from guilds (#638) 2016-09-06 16:55:42 -04:00
Tyler 6dfe160c52 Add get status() for Client (#622)
* Add get status() for Client

* Fix trailing space
2016-09-05 07:52:15 +01: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 bcab8805af Add client.emojis and fix eslint 2016-09-04 17:54:31 +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
Amish Shah 906672e538 Merge branch 'indev-rewrite-sharding' into indev-rewrite 2016-09-04 12:17:42 +01:00
Amish Shah 1155c482f1 make client.readyTime a date 2016-09-04 11:55:23 +01:00
Amish Shah 9c915d1e0a Fix constants errors not giving a stacktrace 2016-09-04 11:53:48 +01:00
Amish Shah 0c32e590a8 fix constants reference 2016-09-04 11:35:21 +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
Amish Shah 5a9c42061f Fix permissionsFor 2016-09-03 23:46:39 +01:00
Amish Shah 16fbbde35c Make syncGuilds off limits to bot accounts 2016-09-03 23:25:26 +01:00
Schuyler Cebulskie 5af09d335c Switch to maps for action deleted + more cleaning (#592) 2016-09-03 23:21:31 +01:00
Amish Shah a3b9b0f1b4 Fix VC docs 2016-09-03 23:11:55 +01:00
Amish Shah efd1d0c738 rewrite some docs and refactor some names 2016-09-03 23:06:58 +01:00
Schuyler Cebulskie 59a5862f2d Clean up Actions code (#591) 2016-09-03 22:48:51 +01:00
Amish Shah 432c5ccc82 Add volume modification to dispatcher 2016-09-03 22:27:43 +01:00
Schuyler Cebulskie 64d89b3748 Replace a few rejections with throw (#590) 2016-09-03 21:36:54 +01:00
Amish Shah 44b34154e8 guarantee promise resolution for voice connections 2016-09-03 21:32:11 +01:00
Amish Shah 7ff2568cfc Fix collectors and make guild sync add previously unknown members 2016-09-03 21:21:15 +01:00
Amish Shah 09dee3d46a Fix ready never firing for truly unavailable guilds 2016-09-03 21:10:10 +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
Amish Shah a172fffd76 Actually add GUILD_SYNC 2016-09-03 17:59:16 +01:00
Schuyler Cebulskie 02324fbecb Add string guild resolving (#587) 2016-09-03 17:01:50 +01:00
Schuyler Cebulskie d97ce2e181 Remove all string object references (#586) 2016-09-03 16:58:28 +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
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
Hyper-Coder 168256469e Re add <Client>.uptime (#579) 2016-09-02 00:03:33 +01:00
Amish Shah 28ad224207 Add GuildMember as user resolvable 2016-09-01 12:05:29 +01:00
Amish Shah 892e162229 fix setTyping and many other timeout/interval based methods 2016-08-31 19:28:00 +01:00
Amish Shah 631626a3f9 Merge remote-tracking branch 'origin/indev-rewrite' into indev-rewrite-sharding 2016-08-31 13:43:18 +01:00
Schuyler Cebulskie f02cc27735 Fix ClientDataManager.killUser (#572) 2016-08-30 19:31:14 +01:00
Amish Shah c70dfa83fb Add ShardManager 2016-08-30 17:26:32 +01:00
Amish Shah 4f41a86dd3 Clear timeout IDs from array after execution 2016-08-30 14:20:33 +01:00
Amish Shah 680ac48e3d Emit error instead of console.log 2016-08-30 14:06:16 +01:00
Amish Shah 49d525109f Fix ESLint 2016-08-30 13:55:55 +01:00
Amish Shah d249aa10cc Add client.destroy(); 2016-08-30 13:05:57 +01:00
Amish Shah 52adb3d8b2 undo fix whoops ¯\_(ツ)_/¯ 2016-08-29 19:13:47 +01:00
Amish Shah 1e2e940b98 File resolving can use http too now 2016-08-29 19:10:05 +01:00
Amish Shah 78e0d88f55 Make file resolving non-blocking for local paths 2016-08-29 19:08:36 +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 df934eccaf Fix voice losing count 2016-08-29 16:41:33 +01:00
Amish Shah 144638e746 Experimental ClientOptions.fetch_all_members 2016-08-29 13:54:35 +01:00
Amish Shah 001460acc0 Add guild.fetchMembers() 🎉🎉 2016-08-29 13:20:06 +01:00