Commit Graph

17 Commits

Author SHA1 Message Date
Carter
685b2604e4 docs: update docs and examples for #4879 (#5323)
Co-authored-by: Antonio Román <kyradiscord@gmail.com>
2021-03-29 05:51:42 +02:00
monbrey
60e5a0e46f feat(Message|TextChannel): Inline replies (#4874)
* feat(Message): remove reply functionality

* feat(InlineReplies): add INLINE_REPLY constant/typing

* feat(InlineReplies): add Message#replyReference property

* feat(InlineReplies): add typings for sending inline replies

* feat(InlineReplies): provide support for inline-replying to messages

* feat(Message): add referencedMessage getter

* fix: check that Message#reference is defined in referencedMessage

* refactor(InlineReplies): rename property, rework Message resolution

* docs: update jsdoc for inline replies

* feat(Message): inline reply method

* fix(ApiMessage): finish renaming replyTo

* fix: jsdocs for Message#referencedMessage

Co-authored-by: Tristan Guichaoua <33934311+tguichaoua@users.noreply.github.com>

* fix: restore reply typings

* fix: dont pass channel_id to API when replying

* chore: update jsdocs

* chore: more jsdoc updates

* feat(AllowedMentions): add typings for replied_user

* fix: naming conventions

* fix(Message): referenced_message is null, not undefined

* fix(MessageMentionOptions): repliedUser should be optional

* chore: get this back to the right state

* fix(ApiMessage): pass allowed_mentions when replying without content

* fix(ApiMessage): prevent mutation of client options

Co-authored-by: almostSouji <timoqueezle@gmail.com>
Co-authored-by: Tristan Guichaoua <33934311+tguichaoua@users.noreply.github.com>
2020-12-08 21:08:26 +01:00
Crawl
c065156a88 chore: consistency/prettier (#3852)
* chore: consistency/prettier

* chore: rebase

* chore: rebase

* chore: include typings

* fix: include typings file in prettier lint-staged
2020-02-29 14:35:57 +01:00
Crawl
6a0fe467e5 docs: replace all occurances of node-opus with @discordjs/opus (#3698)
* docs: replace all occurances of node-opus with @discordjs/opus

* chore: leave in node-opus in case not everyone switched
2020-01-16 14:10:48 +01:00
Helmasaur
d77229f423 chore: ffmpeg package in the voice doc (#3697)
ffmpeg package changed from "ffmpeg-binaries" to "ffmpeg-static"
2020-01-16 12:57:20 +01:00
Amish Shah
c715ed9f8b voice: remove passes
(discord will begin dropping duplicated audio packets from tomorrow, you should not set passes > 1)
2019-08-22 12:15:20 +01:00
neoney
3fcc862c5f docs: fix voice broadcast example code (#3436)
client.createVoiceBroadcast() -> client.voice.createBroadcast()
2019-08-18 11:54:30 +02:00
Amish Shah
be5efea461 rewrite voice state handling 2018-08-10 14:44:59 +01:00
Frangu Vlad
9f8925226d docs(WIP): Bring the main doc pages up to date, and add more examples (#2094)
* Bring some docs up to date, as well as add a new example

* Missed an exclamation mark

* Do requested changes

* Do suggestions

* Same suggestions for the other examples

* Show people that they can also use reply with embeds

* Typos in embed.js example

* Remove object example from embeds, too complex
Suggested by Yukine

* Some changes, some requested changes

* Add moderation examples!

* Add attachment examples

* Missing dot

* Fix spacing

* Requested Changes

* Quote consistency

* Tfw you break the syntax
2018-02-27 20:04:53 -06:00
Amish Shah
f728d2be69 Update voice docs 2018-01-20 16:31:34 +00:00
Amish Shah
ac65ea41b4 Update voice docs 2018-01-20 16:26:44 +00:00
Raphael
27196c2f9f docs update to topics/voice playFile example (#1716)
* Update voice.md

* Update voice.md

* fixed my grammar

* added requested spaces
2017-07-27 03:13:35 +02:00
Drahcirius
355b1cca4a Remove global flag from ffmpeg tutorial doc (#1582) 2017-06-10 23:54:17 +01:00
Amish Shah
eb9c280d5f CRLF to LF 2017-04-25 18:08:27 +01:00
Crawl
10138dfad2 Update voice docs page 2017-04-25 07:10:09 +02:00
Crawl
c0c2fd1493 Remove yeoman generator link 2017-04-23 05:53:33 +02:00
Amish Shah
8d8ac78e68 start voice topics 2016-12-30 21:12:13 +00:00