Commit Graph

1124 Commits

Author SHA1 Message Date
abalabahaha
e912c72a95 Merge pull request #375 from GexoXYZ/374
Fix bulk deletion error if < 2 messages (#374)
2016-05-27 09:37:34 -07:00
abalabahaha
eff8caed85 Merge pull request #371 from Programmix/indev
Update channel improvements
2016-05-27 09:37:05 -07:00
Programmix
16eb38a99e Quirky logic fix 2016-05-25 07:47:18 -07:00
Manuel Kraus
ad7ffcecb4 Beautify code style 2016-05-25 01:45:02 +02:00
Manuel Kraus
0a5ce3dcd5 Call deleteMessage if only one message 2016-05-25 01:40:18 +02:00
Manuel Kraus
8bee117445 Fix bulk deletion error if < 2 messages
Also return error if no server (dm)
2016-05-24 23:44:26 +02:00
Programmix
0f9741bb14 Update channel improvements
Also documented two methods for voice connections. (pause and resume)
2016-05-23 12:28:17 -07:00
Programmix
fae03042cb User limit fix (#359)
* User limit fix

* Better request parameters
2016-05-22 22:36:08 -07:00
Nicholas Tay
bea1663052 Set bitrate for voice channels support (#363)
* Set bitrate for voice channels

* Docs for bitrate settings and values
2016-05-22 17:53:52 -07:00
abalabahaha
fe1d0bb595 Add bot property to presence update 2016-05-21 09:56:43 -07:00
Manuel Kraus
68bf4c9052 Fix linking in indev docs (#354)
* Fix linkning in indev docs

* add comma to setStreaming
2016-05-21 09:52:34 -07:00
Programmix
ab2c9d9a8d VoiceChannel user limit support 2016-05-21 09:50:48 -07:00
Programmix
d42cbd1c14 Add server property to the Message class
Extremely simple change, but I (and others) would probably find it a
nice shortcut.
2016-05-21 09:46:03 -07:00
abalabahaha
79ee493a39 Role data update fix 2016-05-21 09:44:24 -07:00
Manuel Kraus
d2f0f4993e Add mentionable to role objects (#358) 2016-05-21 09:20:32 -07:00
abalabahaha
48595ddd19 Add voice connection timeout 2016-05-20 20:50:49 -07:00
abalabahaha
3fa3b0238e Catch udp close errors 2016-05-20 20:42:53 -07:00
abalabahaha
9015bb8139 Map roles to role IDs if possible 2016-05-20 20:40:32 -07:00
abalabahaha
00ff2f71a4 Build the playArbitraryFFmpeg fix 2016-05-19 08:49:19 -07:00
abalabahaha
e1808804c9 serverMemberUpdated clarification and crash fix 2016-05-17 22:31:35 -07:00
Denocle
43b1cc1d56 Fix for the playArbitraryFFmpeg issue (#351)
* This should probably fix #346

* Updated docs for playArbitraryFFmpeg
2016-05-17 06:30:47 -07:00
abalabahaha
e6572caf6c guildCreateTimeout option 2016-05-16 15:01:50 -07:00
abalabahaha
e8874bae37 Doc getInvites 2016-05-14 17:41:06 -07:00
abalabahaha
1732cc71bd Don't push debug stuff 2016-05-13 20:20:01 -07:00
abalabahaha
81cdb09363 Null roles fix 2016-05-13 20:14:01 -07:00
abalabahaha
e7882a38ee Testing alternate role resolving 2016-05-12 17:30:44 -07:00
abalabahaha
873f78b02a Avatar undefined check 2016-05-12 16:58:19 -07:00
Mees van Dijk
afc4c93119 Fixed Cache.has function (#344)
* Fixed Cache.has function

* Fixed Cache.has function

* Fixed Cache.has function

and ran grunt --dev
2016-05-12 16:27:13 -07:00
abalabahaha
db7dca65b2 Fix #342, #321 2016-05-11 20:21:37 -07:00
abalabahaha
0e5a1d2df7 Some undefined checking 2016-05-11 16:42:18 -07:00
abalabahaha
3221bde4db Pass voice ws errors 2016-05-10 22:03:05 -07:00
abalabahaha
d4b693c4b0 deleteMessages docs, fixes 2016-05-10 21:54:42 -07:00
Nicholas Tay
71db8555fe Bulk deletion of messages (#336) (#337) 2016-05-10 09:21:55 -07:00
abalabahaha
d73ebcdfd4 Don't remove unmutual-ed users 2016-05-08 22:03:57 -07:00
meanwhile
0ac0005697 Permission constants updated for new MANAGE_ROLES permission (#333)
Official Discord API changed 1 << 3 to a new administrator permission. MANAGE_ROLES is now on 1 << 28.
2016-05-08 18:49:05 -07:00
Brussell
0c38d47ef6 Added support for new game objects (#332)
bot.setStreaming(name, url, type, callback); added
logic for Internal setStatus updated to check if string or object
2016-05-08 09:47:22 -07:00
abalabahaha
42fd07c5e7 Whoops 2016-05-08 00:55:48 -07:00
abalabahaha
2a1d516a28 Update lastMessageID 2016-05-08 00:23:52 -07:00
abalabahaha
68c1e122c0 Revise member property handling 2016-05-08 00:21:36 -07:00
abalabahaha
af333ef4cc Some fixes 2016-05-08 00:16:20 -07:00
abalabahaha
963b22e6ce Fix #331 2016-05-08 00:09:58 -07:00
abalabahaha
726c0e9ed5 Fix setting own nick 2016-05-08 00:03:29 -07:00
abalabahaha
2eca16dee6 Consistently rename selfMute/selfDeaf 2016-05-04 19:55:19 -07:00
Manuel Kraus
46bcd3f5e3 Add nickname permission constants (#320)
* Add nickname permission constants

* typo

* Remove manageNickname
2016-05-04 16:57:52 -07:00
abalabahaha
9700f8577b roles have positions too 2016-05-02 17:44:22 -07:00
Manuel Kraus
ad84aa84b8 Some doc fixes (#315)
#docs_client.rst:
- 257: Add proper eplanation of callback, like in every other method
- 433: Fix linking for Invite Resolvable

#docs_message.rst:
- 90 : Replace ':' with '-', just for consistency with the others

#docs_resolvables.rst:
- 92 : String doesn't link to anything (?) -> Link removed

#docs_servers.rst:
- 109 : Properly indent code-block because it didn't show at all on rtfd

#docs_serverchannel.rst:
- 53 : Remove doulbe '`' causing it not to display properly

#docs_voiceconnection.rst:
- 67 : Remove 'currently, it currently

#docs_voiceconnection.rst:
- 32 : Add links for Role Resolvable, as used in client#addMemberToRole,
client#removeMemberFromRole and client#memberHasRole
2016-05-02 13:05:09 -07:00
abalabahaha
5125407151 Fix some incorrect docs references 2016-05-01 10:17:16 -07:00
abalabahaha
ba82722264 Document awaitResponse 2016-04-30 17:25:28 -07:00
abalabahaha
96ed5a1e52 Clarify joining server with OAuth bots 2016-04-30 13:35:05 -07:00
abalabahaha
1f5002ae41 Nickname mention detecting, channel and role mentions in cleanContent 2016-04-30 13:01:06 -07:00