189 Commits

Author SHA1 Message Date
Austin Huang
af0663e915 Update docs_user.rst (#797)
typo
2016-10-14 00:33:26 -04:00
abalabahaha
07fbf8df56 Update docs 2016-10-08 06:57:01 +09:00
David Sevilla Martín
1c7a5abd4e Added end parentheses to shortcut in delete method (#513) 2016-08-16 09:53:12 -07:00
Hugo Holmqvist
ce198ef005 Add 'Bot' prefix to token (#510)
* Add 'Bot' prefix to token

* Add option for token prefix

* Maybe this is what abal meant?

* Change option name

* Check if token already starts with prefix
2016-08-14 11:38:04 -07:00
Hugo Holmqvist
1963bcfa10 Fix typos and status update examples (#505)
* merge

* Add ready event to examples
2016-08-08 18:43:55 -07:00
Hugo Holmqvist
420e8527c2 Doc examples for sending files, deleting messages and logging in (#499)
* Add examples on sending files

* Add docs on deleting messages

* Add docs for logging out, fix spelling
2016-08-05 17:22:40 -07:00
Hayden Andreyka
c2163a29c0 Docs update (#495)
* Fix pagebreaks and formatting

* Start touching up sections

* Grab default channel

Usually the general channel anyways 😋

* Add more information

* move this up here

* derp

* cleanup

* touchups

Too many commits? noooo

* Add template literals everywhere, fix backticks and some other stuff

* quote standardization

is that even spelled right

* final touches

there have been a lot of final touches today
2016-08-04 14:49:29 -07:00
Hugo Holmqvist
461e5b337e Moar doc examples (#490)
* Add more examples to docs

* docs

* Switch to objects from resolvables

* Small changes in wording
2016-08-02 07:11:25 +09:00
Hayden Andreyka
4f713a3f6d Added examples section to docs (#488)
* Started adding usage examples

* Receiving messages

May have to expand on this later

* Changed wording

* Add on to this

Conflicts:
	docs/index.rst
2016-08-02 07:10:22 +09:00
abalabahaha
810059200c Add getOAuthApplication() 2016-07-29 01:05:01 -07:00
abalabahaha
b95058399e Enable autoReconnect by default 2016-07-29 05:56:50 +09:00
Brian Tanner
422fffdbfb a lot of changes to documentation (#465)
* document paused property

* node twitch.tv urls in setStreaming, added note on autoReconnect in troubleshooting

* Fix improper formatting in Cache.get (#1)

* Fix grammar in unpinMessage

* Enhance troubleshooting (#2)

* Enhance troubleshooting

* getChannelLogs can take resolvables

* Include variables

* Add shortcuts

* Add references to shortcuts

* Add shortcuts for User

* Add references for User

* _
2016-07-14 09:05:54 +08:00
Jesse Bryan
45d61f24db Removed Client#setChannelNameAndTopic and any relevant references (fixed). (#464)
* Removed undeed functions relating to channelName and channelTopic.

* Compiled the last commit.
2016-07-14 09:05:44 +08:00
Jesse Bryan
7ae7a9aa34 Added a voiceSpeaking event, fired when a user in a voiceChannel starts or stops speaking. (#452)
* Added an event for the voice speaking packet.

* Updated the docs to reflect the voiceSpeaking event addition.

* Fixed some spacing issues in the VoiceConnection.js file.

* Moved the speaking boolean to the User object.
2016-07-12 03:12:27 +08:00
Évelyne Lachance
1577075e52 Cache now returns null when using get(cacheID) with invalid ID (#441)
* Cache now returns `null` when using get(cacheID) where the ID is invalid.

* Documented `get(id)`

* Adjusted version in conf.py to 8.0.0
2016-06-26 13:30:24 +09:00
Manuel Kraus
ba51df918c Add pinning (#434)
Added methods:
pinMessage()
unpinMessage()
getPinnedMessages()

Added params for getChannelLogs:
around
2016-06-18 11:21:52 +09:00
Manuel Kraus
0e4612d7ab Add client.getMessage() (#428)
* Add client.getMessage

* Add shortcuts

* build it..

* Add missing ~ in note docs

* ............
2016-06-16 07:31:02 +09:00
Manuel Kraus
0f4566dd23 Add notes (#423) 2016-06-15 13:04:47 +09:00
Ian Mitchell
7f864578e0 Corrected PM Message Documentation (#424) 2016-06-15 13:04:40 +09:00
Brian Tanner
ea89b7f783 small sendMessage doc fix (#426) 2016-06-14 07:55:39 +09:00
abalabahaha
2cd1104d3d 8.0.0 2016-06-09 11:41:04 +09:00
Bruno Moreira
1672465768 Add destroy to docs (#411)
Just found this missing function.
2016-06-05 11:03:36 -07:00
Brussell
636a095377 Add disableEveryone option (#400)
* Added support for new game objects

bot.setStreaming(name, url, type, callback); added
logic for Internal setStatus updated to check if string or object

* Add disableEveryone option

* forgot to compile

oh well, it can be squash merged
2016-06-01 21:35:32 -07:00
abalabahaha
c88feaa554 Add voiceSwitch to docs 2016-06-01 15:58:08 -07:00
abalabahaha
bd15cc68ce createdAt 2016-05-31 18:52:41 -07:00
Brian Tanner
d913d04f44 add docs for shardId, shardCount client parameters (#394) 2016-05-31 17:35:35 -07:00
Brian Tanner
bf89d678d8 add administrator constant doc (#396) 2016-05-31 17:35:29 -07:00
abalabahaha
f8bf945f9d serverChannel.permissionsOf() can take a role 2016-05-31 10:59:05 -07:00
Manuel Kraus
b4dcd657cf Add role mentioning (#385)
* Add role mentioning

* Add to docs

* Forgot to save again
2016-05-28 20:46:16 -07:00
Programmix
0f9741bb14 Update channel improvements
Also documented two methods for voice connections. (pause and resume)
2016-05-23 12:28:17 -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
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
Manuel Kraus
d2f0f4993e Add mentionable to role objects (#358) 2016-05-21 09:20:32 -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
d4b693c4b0 deleteMessages docs, fixes 2016-05-10 21:54:42 -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
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
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
e48f2ffae3 Add setNickname docs 2016-04-30 11:58:12 -07:00
meew0
68e1549361 Fix the updateServer documentation 2016-04-27 16:36:34 +02:00