Commit Graph

5795 Commits

Author SHA1 Message Date
Jan b317d86a93 docs: all the missing object -> Object changes (#5738) 2021-06-03 15:57:46 +01:00
Jan bfe01b52ab fix(MessageEmbed): import custom RangeError class (#5740) 2021-06-03 15:54: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
Vlad Frangu ef92339d07 feat(Rest): show the data that is sent to Discord when an errors occurs (#5701) 2021-06-03 09:35:09 +01:00
Shubham Parihar af2fad9473 fix(CommandInteraction): cmds with no options throw error (#5734) 2021-06-03 09:34:40 +01:00
Shubham Parihar fdad140997 feat(CommandInteraction): make options a collection (#5705) 2021-06-02 17:44:50 +01:00
Lupa 5141ea4f06 fix(CommandInteraction): channel type should be text based channels (#5690)
Co-authored-by: SpaceEEC <spaceeec@yahoo.com>
2021-06-02 11:05:35 +01:00
Andreas Clausen d21e6af1d2 fix(GuildMemberManager): allow moving members to any non-text channel (#5681) 2021-06-02 10:57:04 +01:00
Shubham Parihar 678b7da5b3 docs: remove traces of StringResolvable (#5727) 2021-06-02 10:55:56 +01:00
Shubham Parihar 086c3f0799 fix: interfaces not importing due to re-export of Snowflake (#5723)
Co-authored-by: Noel <icrawltogo@gmail.com>
2021-06-02 01:01:59 +01:00
Jan 53d952a4ce refactor: remove _roles from pseudo-managers (#5721) 2021-06-01 22:35:11 +01:00
Souji 7b85a7259f feat(*): enforce strings (#4880)
BREAKING CHANGE: Removes all Resolvables for only string inputs

Co-authored-by: SpaceEEC <spaceeec@yahoo.com>
2021-06-01 16:31:49 +01:00
monbrey 66a6a1fced types(Snowflake): export the type (#5722) 2021-06-01 07:02:59 +01:00
iCrawl 7f0d93a2da chore: pull config files out of package.json 2021-06-01 00:06:52 +02:00
SpaceEEC b212b64214 feat(Message): allow editing files into messages (#5718) 2021-05-31 20:56:26 +01:00
Shubham Parihar 256d1b0dfc docs(Webhook): update typings and docs for #editMessage (#5713) 2021-05-31 20:56:08 +01:00
Noel 76db642543 types: use Snowflake type (#5717)
* types: use Snowflake type

* Update typings/index.d.ts

Co-authored-by: Jan <66554238+vaporox@users.noreply.github.com>

Co-authored-by: Jan <66554238+vaporox@users.noreply.github.com>
2021-05-31 20:55:18 +01:00
Souji d52bcd46ec feat: easier guards for channelUpdate (#5716)
* feat: easier guards for channelUpdate

* typings: more explicit typings for client events involving channels

* docs: event doc consistency regarding channel types
2021-05-31 16:38:37 +01:00
iCrawl 652c683da7 ci: fix publish action 2021-05-31 03:23:48 +02:00
dependabot[bot] 0b169792af chore(deps): bump ws from 7.4.5 to 7.4.6 (#5707)
Bumps [ws](https://github.com/websockets/ws) from 7.4.5 to 7.4.6.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/7.4.5...7.4.6)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-30 23:04:12 +01:00
Jeroen Claassens 91efe5a611 ci(publish-dev): improve resolving of next version (#5710) 2021-05-30 23:03:35 +01:00
iCrawl 01bb2ac97b ci: publish action for automatic master releases 2021-05-30 21:33:02 +02:00
Adrian Castro 6567ba821a fix(PermissionOverwrites): fix typo in typedef jsdoc (#5704) 2021-05-30 18:59:51 +01:00
Jan 48d6850d9a feat: add support for fetching multiple guilds (#5472)
Co-authored-by: SpaceEEC <spaceeec@yahoo.com>
Co-authored-by: Noel <icrawltogo@gmail.com>
2021-05-29 22:37:45 +01:00
Vanished e300518597 Added Certified Moderator badge flag. (#5642)
Co-authored-by: Shubham Parihar <shubhamparihar391@gmail.com>
2021-05-29 15:29:29 +01:00
ckohen 0b179c87f1 cleanup(Client): guard emitting GMU and PU on user updates (#5655) 2021-05-29 15:28:41 +01:00
Ed L 7d7d2a53b1 docs(Message): add example for message.reply (#5332)
Co-authored-by: Papaia <43409674+papaia@users.noreply.github.com>
2021-05-29 15:27:33 +01:00
Rodry 47bbdf415c docs(TextChannel): warning about setRateLimitPerUser NewsChannel (#5403) 2021-05-29 15:26:30 +01:00
Antonio Román a73a5cf914 fix(Types): make event listeners accept async callbacks (#5602) 2021-05-29 12:28:21 +01:00
Jan add924cdb2 docs: fix InteractionDeferOptions typedef (#5694) 2021-05-29 12:24:28 +01:00
Shubham Parihar c89bdd7566 fix(GuildEmojiRoleManager): bug in #remove (#5666) 2021-05-28 11:09:51 +01:00
SpaceEEC b90b0c3cfa fix(ApplicationCommandOptionData): options property should be itself (#5679)
Co-authored-by: Jan <66554238+vaporox@users.noreply.github.com>
2021-05-27 12:14:13 +01:00
Rodry 7d9818e21a docs(ColorResolvable): Add Fuchsia to ColorResolvable typedef (#5676)
Also moved DARKER_GREY to its place in the Colors export on Constants.js
2021-05-27 12:13:58 +01:00
Shubham Parihar 3fe7add2c5 feat(Guild): add the new nsfw_level property (#5660)
Co-authored-by: Jan <66554238+vaporox@users.noreply.github.com>
Co-authored-by: Noel <icrawltogo@gmail.com>
2021-05-27 12:12:52 +01:00
Shubham Parihar b40027beb9 types(PermissionOverwriteOptions): remove unused interface (#5651) 2021-05-27 12:12:44 +01:00
SpaceEEC 9f491ffeb9 fix(APIMessage): document Interaction as valid MessageTarget (#5678) 2021-05-27 11:54:42 +01:00
Shubham Parihar 840ad0a35a fix(Message): bug in #suppressEmbeds due to #5612 (#5644) 2021-05-26 12:09:35 +01:00
Shubham Parihar 3589e0f442 docs: add new typedef to properly doc InteractionReplyOptions (#5632) 2021-05-26 12:09:25 +01:00
Jan ed593c91fb feat: InteractionDeferOptions (#5641) 2021-05-26 12:09:14 +01:00
iCrawl 5f6ec2211d fix: lint-staged for typescript files 2021-05-26 11:09:56 +02:00
Noel 3ac6d550ca chore: fix husky install (#5671) 2021-05-25 21:36:26 +01:00
Matt (IPv4) Cowley 0ca200f322 chore: set minimum npm version (#5663) 2021-05-24 19:58:42 +01:00
cherryblossom000 b376f31af9 fix(DataResolver): fix circular dependency error with GuildTemplate (#5622) 2021-05-22 21:40:44 +02:00
Antonio Román 14c6802438 refactor(Deps): use async-queue package (#5662) 2021-05-22 21:10:20 +02:00
Noel f8703e3e59 chore: general cleanup (#5661) 2021-05-22 11:40:30 +02:00
Jan 03256bd9f8 fix(ApplicationCommandManager): limit permission methods to guilds (#5613)
* fix(ApplicationCommandManager): limit permission methods to guilds

* docs: add warn tags

* feat: improve error message

* style: eslint

* chore: make error name more verbose
2021-05-22 10:02:24 +02:00
Shubham Parihar 56d44fbf1c fix(CommandInteraction): update typings and docs for #editReply (#5630) 2021-05-22 09:58:06 +02:00
Casper 38bf24a6e5 chore(Colors): use new Discord colors (#5624)
* chore(Colors): use new Discord colors

* chore(Colors): add fuchsia color

* chore(Colors): add fuchsia color to ColorResolvable
2021-05-22 09:52:48 +02:00
Shubham Parihar c8d20a456b docs(Guild): add proper punctuation to #fetchOwner jsdoc (#5645) 2021-05-18 23:21:57 +02:00
Vlad Frangu ab82cafcde docs: correct casing of object -> Object in AuditLogChange (#5636) 2021-05-15 23:25:06 +02:00