Commit graph

124 commits

Author SHA1 Message Date
Parbez
c0f079d232
typings: remove isAutocomplete typeguard from typings (#8063) 2022-06-10 21:19:44 +02:00
Noel
127931d1df
feat: website (#8043) 2022-06-08 19:13:31 +02:00
Suneet Tipirneni
8880de0cec
fix(gateway): use version 10 (#7689)
* fix: make gateway use version 10

* chore: fix readme rest versions
2022-03-26 13:42:13 +01:00
Suneet Tipirneni
72577c4bfd
feat: add API v10 support (#7477)
* feat: add API v10 support

* refactor: update deps

* chore: rebase fixes
2022-03-15 21:37:07 +01:00
Suneet Tipirneni
fbb1d0328b
refactor(Bitfield): use discord-api-types enums instead (#7313)
Co-authored-by: Almeida <almeidx@pm.me>
2022-01-28 19:14:20 +01:00
Almeida
4770c814b2
chore: update readme links (#7229) 2022-01-09 19:35:18 +01:00
Antonio Román
4293b74253
chore: bump Node.js to 16.9.0 (#7035) 2022-01-07 21:03:00 +01:00
Noel
16390efe6e
chore: monorepo setup (#7175) 2022-01-07 17:18:25 +01:00
GodderE2D
3c857a6363
docs(README): add installation instruction on @discordjs/voice (#6964) 2021-11-11 03:31:09 +01:00
Superchupu
bb245b7b35
docs(README): use correct capitalization of npm (#6930) 2021-11-01 18:36:26 +01:00
iCrawl
27fb5e5c6b
chore: repo changes 2021-10-29 19:53:54 +02:00
Noel
91740ecc30
chore(README): extend installation 2021-08-10 15:27:06 +01:00
Gilang Ramadhan
2985e5380f
chore(README): more explanation in README.md (#6354)
Co-authored-by: Noel <buechler.noel@outlook.com>
2021-08-10 15:25:59 +01:00
Jiralite
570fba33d3
chore: Rename various stuff to "main" (#6343)
Co-authored-by: Noel <buechler.noel@outlook.com>
2021-08-08 00:08:00 +01:00
Jan
cd1aefb46c
docs: fix bad indentation (#6316) 2021-08-06 16:43:21 +01:00
iCrawl
a56ba097dc
chore: deps 2021-08-06 01:25:20 +02:00
Pixxies Design LTD
00d5ceebf7
Fixed typos in the slash command register example (#6292)
## First "example usage" example
Added a period to the first console.log for consistency. Corrected typo in second console.log to read "Successfully".
2021-08-04 00:44:05 +01:00
Superchupu
6e0ea020c0
docs: update link of the guide to v13 changes (#6273) 2021-08-02 11:58:21 +01:00
Superchupu
2c452dffb8
docs: add missing semicolon to readme (#6270) 2021-08-02 08:43:36 +01:00
Superchupu
626ff85ae7
docs: change example in readme to slash command (#6250)
Co-authored-by: Noel <buechler.noel@outlook.com>
2021-08-01 16:58:41 +01:00
ckohen
797727ab6e
docs: update readme node version requirement (#6241) 2021-07-31 09:42:19 +01:00
Antonio Román
a11a10525b
refactor: rename events to be consistent with WS names (#6010)
Co-authored-by: Noel <buechler.noel@outlook.com>
2021-07-03 13:23:53 +01:00
Antonio Román
edf6f0ca70
docs(Readme): remove dependencies badge (#5901) 2021-06-22 11:09:23 +01:00
Antonio Román
9e5106d90e
docs: removed topics and FAQ from the repository (#5820)
Co-authored-by: SpaceEEC <spaceeec@yahoo.com>
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com>
Co-authored-by: ckohen <chaikohen@gmail.com>
2021-06-11 23:41:49 +01:00
Antonio Román
55ad6f0e23
docs(README): re-add install command, remove voice remnants (#5817) 2021-06-11 21:30:09 +01:00
Amish Shah
7b2e12b102
feat(Voice): implement support for @discordjs/voice (#5402) 2021-06-09 14:21:19 +01:00
Justin
02b3cca522
chore: update the color of the discord.js server badge (#5739)
This uses the hex code 5865F2, which is the new blurple of Discord.
2021-06-03 15:53:51 +01:00
Justin
533c2471c2
docs: update invite link, change version in the intro (#5592) 2021-05-10 10:57:20 +02:00
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
Antonio Román
90d458820b
chore(Engine): bump Node.js to v14.0.0 (#5067)
Co-authored-by: SpaceEEC <spaceeec@yahoo.com>
2020-12-06 17:58:08 +01:00
Advaith
bd2bb0e1c7
docs(Welcome): change discord badge to shields.io for consistency (#4633) 2020-08-12 09:22:44 +02:00
Phineas
ea19faa411
Change domain to discord.com (#4160) 2020-06-19 11:46:59 +02:00
Papaia
9a1c56c5b9
docs(erlpack): discordapp to discord (#4288)
Co-authored-by: Papaia <43409674+ItsPapaia@users.noreply.github.com>
2020-06-19 11:46:29 +02:00
Amish Shah
d7c5baf7f3 chore: update discordjs/discord.js references 2020-03-01 17:38:25 +00:00
iCrawl
b58813ace8
chore(*): update node version mention & use strict 2020-02-29 15:19:37 +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
Souji
b727f6c1b9
feat: bring embed builder field manipulation in line with underlying array functionality (#3761)
* feat: splice multiple fields

* remove MessageEmbed#spliceField
* add MessageEmbed#spliceFields
* to behave more like Array#splice
* and allow multiple fields to be replaced/inserted
* update typings accordingly

* refactor: rename check to normalize

* check suggests boolean return type

* feat: allow spread args or array as field input

* rewrite: replace addField in favor of addFields

* typings: account for changes

* chore: bump min node to 11.0.0

* for Array#flat

* fix: bump min-node in package engines field

* remove addBlankField
2020-02-23 20:41:48 +01:00
Vlad Frangu
21d37ed0cc
docs: clarify what zlib-sync does (#3785)
* docs: Clarify what zlib-sync does

* docs: Update docs site welcome

* src/docs: Remove `ws.compress` from docs

This is a deprecated parameter and you shouldn't use it unless you have zlib-sync installed, and even then, compression is automatically enabled

* docs: Apply suggestion

Co-Authored-By: Sugden <28943913+NotSugden@users.noreply.github.com>

Co-authored-by: Sugden <28943913+NotSugden@users.noreply.github.com>
2020-02-13 22:48:36 +01:00
PLASMAchicken
6a381c68a2
chore(README): update link to Discord.js guide v12 changes (#3751)
* Update link to discord.js guide v12 changes

* Suggested Changes

* Suggested Changes

Co-Authored-By: Amish Shah <amishshah.2k@gmail.com>

Co-authored-by: Amish Shah <amishshah.2k@gmail.com>
2020-01-31 11:38:10 +00: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
Vlad Frangu
5519d6fbaa src: sharding cleanup and checkReady rewrite (#3393)
* src: Step 1 of who knows how many

* src: Remove accidentally committed test file

* src: Remove useless added property in package.json

* docs: Trailing spaces, come back >.>

* src: Buhbye uws, we will miss you..not!

* src: Move 'auto' shard selection from totalShardCount to shards

* src: tweak

* src: Filter out floats from shard IDs
You want half of a shard or what?

* src: Misc cleanup and bugfix for GUILD_BAN_ADD

* src: Rewrite checkReady

* src: Misse this while merging master into my branch

* typings: Bring these up to date

* typings: Forgot allReady event

* src: Don't checkReady if the shard isn't waiting for guilds

* src: Fix a possible bug for when the ws dies and the session becomes -1

* src: Hopefully fix last edge case that could case a shard to infinitely boot loop

* src: Rename totalShardCount to shardCount

* src: Small bugfix

* src: Correct error message for shardCount being imvalid

Co-Authored-By: bdistin <bdistin@gmail.com>

* src: Small tweaks

* src: If this doesn't fix the issues I'm gonna throw a brick at my PC

* src: I swear, STOP BREAKING

* src: *groans at a certain snake*

* src: Use undefined instead of null on destroy in close event

Setting it to null sets the close code to null, which causes a WebSocket error to be thrown. The error is thrown from WebSocket, although there is no connection alive. Fun times!

* src: @SpaceEEC's requested changes

* src: Remove zucc from discord.js

Discord is removing support for it, sooo... Bye bye

* src: Missed this

* src: Apply @kyranet's suggestions

Co-Authored-By: Antonio Román <kyradiscord@gmail.com>

* src: @kyranet's suggestions

* src: Remove pako, update debug messages
- Pako is officially gone from both enviroments
  Install zlib-sync on node.js if you want it
- Improve a few debug messages some more
- Discover that internal sharding works in browsers but please don't do that
2019-12-15 20:45:27 +01:00
sillyfrog
4585d965b4 Start/Stop speaking events on UDP packets (#3578)
* Start/Stop speaking using incomming UDP packets

* Fix ESLint errors

* Updates for styling consistency

Co-Authored-By: Gryffon Bellish <owenbellish@gmail.com>

* Minor improvements

* Acutally use previousTimeout

* Use BaseClient setTimeout and refresh()

* Update README to match node version for refresh()

* Update comment to match startSpeaking

* Correctly report Priority bit

* Fix ESlint errors
2019-12-06 11:59:57 +00:00
Carter
9a31e6e53a docs(README): travis badge => github actions badge (#3569)
* travis badge => github actions badge

* this is why you don't copy paste :^)
2019-11-09 20:52:06 +01:00
Albus Dumbledore
e26697f07d docs(readme): table of contents (#3539) 2019-11-04 11:29:19 +01:00
Gus Caplan
3d4513268d Add optional zstd for faster WebSocket data inflation (#3223)
* zstd
2019-05-07 14:30:34 +01: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
Atlas
ff95e587cb Better wording (#3032) 2019-02-09 23:53:47 +00: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
Lewdcario
745669a7c9
docs: consistency 2018-04-29 13:28:12 -05:00