Commit Graph

532 Commits

Author SHA1 Message Date
izexi
b0047c424b feat(Partials): add DMChannel/MessageReaction#fetch() and Parti… (#3261)
* add DMChannel#fetch() & Action#getChannel({recipients})

* ref for MessageReaction partial

* typings

* add PartialTypes.REACTION

* accommodate for fully removed reactions

* fix incorrect wording and typo

* typings: MessageReaction#count is nullable

* typings: mark MessageReaction#partial as readonly

Co-Authored-By: Vlad Frangu <kingdgrizzle@gmail.com>

* fix(User): fetch dm channel if cached one is partial

* docs: add missing comma

Co-Authored-By: Antonio Román <kyradiscord@gmail.com>
2019-09-10 16:09:06 +02: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
Vlad Frangu
61e2e3e1ad docs: add zucc to docsite welcome page (#3355) 2019-06-26 11:36:11 +02:00
izexi
f7f4607b5f docs(faq): bump to node 10.0.0 (#3224) 2019-04-22 09:09:06 +02:00
anandre
d1778772cd docs: update node version requirement, npm install links, add update guide (#3220)
* Update welcome.md

Update node version requirement, npm install links, docs links, made a note that the guide is for stable and added a new link to the WIP update guide.

* docs(welcome.md): put notice for wip update guild on its own line

* docs(welcome.md): indent own line

* docs(README.md): apply the same changes here
2019-04-21 13:47:09 +02:00
danielnewell
2af101efbb docs(faq): add a link to the guide, restructure a bit (#3082)
* Update faq.md

added link to guide

* docs(faq): link documentation as per suggestion
2019-04-14 15:47:52 +02:00
Amish Shah
5c3f5d7048 Partials (#3070)
* Remove GroupDMChannels

they sparked no joy

* Start partials for message deletion

* MessageUpdate partials

* Add partials as an opt-in client option

* Add fetch() to Message

* Message.author should never be undefined

* Fix channels being the wrong type

* Allow fetching channels

* Refactor and add reaction add partials

* Reaction remove partials

* Check for emoji first

* fix message fetching

janky

* User partials in audit logs

* refactor overwrite code

* guild member partials

* partials as a whitelist

* document GuildMember#fetch

* fix: check whether a structure is a partial, not whether cache is true

* typings: Updated for latest commit (#3075)

* partials: fix messageUpdate behaviour (now "old" message can be partial)

* partials: add warnings and docs

* partials: add partials to index.yml

* partials: tighten "partial" definitions

* partials: fix embed-only messages counting as partials
2019-02-13 17:39:39 +00:00
Anthony Collier
3dff5058f0 docs(Examples): fix usage of removed overload of Collection#find (#3027) 2019-01-21 17:22:24 +01:00
Crawl
9b329a457c build(peer-deps): use uws fork (#2781)
* feat: use uws fork

* chore: update to 149 for uws
2018-08-24 16:51:33 +02:00
Amish Shah
be5efea461 rewrite voice state handling 2018-08-10 14:44:59 +01:00
Will Nelson
9796489cbf remove hard-coded domain in welcome logo 2018-07-27 08:19:51 +01:00
Lewdcario
b8a9a76cf6 docs: inconsistencies 2018-04-20 21:10:21 -05: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
Sanctuary
dc6bce1f82 docs: Add links for the guide (#2346) 2018-02-21 09:44:11 +01: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
Schuyler Cebulskie
e9bdd3ad7e Tweak readme and docs welcome page 2018-01-18 19:59:21 -05:00
Schuyler Cebulskie
16a910c988 Update repository references 2018-01-18 14:46:35 -05:00
Schuyler Cebulskie
f13c6d0768 Add ID to logo in welcome 2017-11-19 21:28:05 -05:00
Frangu Vlad
fc43736447 docs: Change repo for erlpack (#1992)
* Update npm command for erlpack

* Here too
2017-10-02 15:54:00 +02:00
Gus Caplan
b9ea83afb4 update web.md (#1821) 2017-08-22 21:20:26 +02:00
iCrawl
2aa2f73c74 Docs cleanup 2017-08-17 20:04:01 +02: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
Mstrodl
1fadd0f859 Update avatar example for v12.0 (#1610)
User.displayAvatarURL was changed from a property to a method so I changed the example accordingly
2017-06-24 23:12:22 +01:00
Drahcirius
355b1cca4a Remove global flag from ffmpeg tutorial doc (#1582) 2017-06-10 23:54:17 +01:00
Schuyler Cebulskie
3bf8192812 Switch to User#tag in web builds example 2017-06-07 23:00:43 -04:00
Crawl
37d6624ef1 Fix CRLF to LF 2017-06-01 10:45:56 +02:00
Crawl
47029feafa Bump to node 8 2017-05-30 21:25:53 +02:00
Crawl
342c644043 Improve avatar example 2017-05-14 19:30:23 +02:00
Crawl
8c6167d35a Update welcome docs page 2017-05-05 01:56:00 +02:00
Amish Shah
fccd0bd183 docs 2017-05-01 16:39:43 +01:00
Amish Shah
47fbd18eda docs 2017-05-01 15:06:26 +01:00
Crawl
653aa6c1d7 Add back uws to the docs frontpage 2017-04-30 13:02:44 +02:00
Crawl
ac92d2cecc Improve docs a bit 2017-04-30 04:30:44 +02: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
aec0a095e3 Make sentence better (English is hard) 2017-04-24 08:45:29 +02:00
Crawl
4a18ac72ce Add some more comments to the example 2017-04-24 08:35:51 +02:00
Crawl
bbb5d4c7a1 Update examples 2017-04-24 08:34:00 +02:00
Crawl
b15e012788 Fix silly typo cant -> can 2017-04-24 08:24:45 +02:00
Crawl
c0c2fd1493 Remove yeoman generator link 2017-04-23 05:53:33 +02:00
Gus Caplan
15723ece1f Prepare examples for v12 (#1382) 2017-04-16 00:50:37 +01:00
Amish Shah
70b35c85d6 Merge branch 'indev-prism' 2017-02-23 20:19:26 +00:00
Schuyler Cebulskie
af3d4782b9 Add a word 2017-02-22 19:31:04 -05:00
Schuyler Cebulskie
15240cfdc3 Fix contributing link on docs site, link node.js 2017-02-22 19:23:37 -05:00
Amish Shah
8a2ec437e5 Merge branch 'master' into indev-prism 2017-02-22 20:37:59 +00:00
Jamelele
12136f8c54 Welcome example (#1194)
* Add user greeting example

* Add welcome.js to index.yml

* Reword greeting message

* Update welcome.js

* Rename welcome.js to greeting.js

* Update index.yml
2017-02-18 13:59:25 -05:00
Schuyler Cebulskie
05bba9b74a Remove old comment part 2017-02-18 03:13:46 -05:00
Schuyler Cebulskie
63ffd8aa7c Clarify bufferutil scenario a bit 2017-02-15 21:04:06 -05:00