Synbulat Biishev
8b70f497a1
docs: fix version export ( #9049 )
...
* docs: fix version export
* types: assert `[VI]{{inject}}[/VI]` as string
* types: typo
* Revert "types: typo"
This reverts commit ba983f02be .
* types: typo
I hate my local repo. It can't install deps with `--immutable` and a have weird error on `yarn test`, but the CI passes
2023-01-19 15:56:57 +00:00
Almeida
2798ba1eb3
style: run prettier ( #9041 )
2023-01-12 09:23:02 +01:00
Almeida
a6941d536c
feat(StringSelectMenu): add spliceOptions() ( #8937 )
...
* feat(StringSelectMenu): add `spliceOptions()`
* fix: requested changes
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-12-25 20:38:28 +00:00
Suneet Tipirneni
7a5134459c
feat: add support for nsfw commands ( #7976 )
...
* chore: update
* fix: add edit changes
* chore: make requested changes
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-12-16 02:04:56 +00:00
Suneet Tipirneni
3fca638a84
feat: add @discordjs/formatters ( #8889 )
...
* feat: add @discordjs/formatters
* chore: make requested changes
* chore: make requested changes
* chore: fix other places
* chore: make requested changes
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-12-02 12:55:00 +00:00
MrMythicalYT
ec37f137fd
types(Formatters): allow boolean in formatEmoji ( #8823 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-11-25 17:42:48 +00:00
DD
5152abf728
feat: new select menus ( #8793 )
...
* feat(builders): new select menus
* chore: better re-exporting of deprecated classes
* feat: new select menus
* chore: typings
* chore: add missing todo comment
* chore: finish updating tests
* chore: add runtime deprecation warnings
* chore: format deprecation warning
* feat(BaseInteraction): isAnySelectMenu
* chore: requested changes
* fix: deprecation comments
* chore: update @deprecated comments in typings
* chore: add tests for select menu type narrowing
* fix: bad auto imports
Co-authored-by: Julian Vennen <julian@aternos.org >
* fix: properly handle resolved members
* fix: collectors
* chore: suggested changes
Co-authored-by: Almeida <almeidx@pm.me >
* fix(typings): bad class extends
* feat(ChannelSelectMenuBuilder): validation
* chore: update todo comment
* refactor(ChannelSelectMenu): better handling of channel_types state
* chore: style nit
* chore: suggested nits
Co-authored-by: Aura Román <kyradiscord@gmail.com >
Co-authored-by: Julian Vennen <julian@aternos.org >
Co-authored-by: Almeida <almeidx@pm.me >
Co-authored-by: Aura Román <kyradiscord@gmail.com >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-11-01 17:36:05 +00:00
Gabriel Thomé
b5213664fa
feat: allow punctuation characters in context menus ( #8783 )
...
Co-authored-by: Gabriel Thomé <114624098+gabriel-thome-GVNG@users.noreply.github.com >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-10-31 12:28:29 +00:00
Almeida
d587467a38
chore: use @link instead of markdown link in tsdocs ( #8732 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-10-10 20:03:35 +00:00
Almeida
02ffce8173
chore: make 'Note to developers' on version constant a regular comment ( #8730 )
...
chore: make 'Note to developers' a regular comment
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-10-10 14:42:03 +00:00
Jeroen Claassens
d923d0ab96
build: switch to esbuild-plugin-version-injector for injecting version strings ( #8723 )
2022-10-08 02:54:45 +02:00
Suneet Tipirneni
b2ec865765
feat: add @discordjs/util ( #8591 )
...
* feat: add @discordjs/util
* fix: builders test
* refactor: make rest use lazy for ESM import
* chore: make requested changes
* Apply suggestions from code review
Co-authored-by: Parbez <imranbarbhuiya.fsd@gmail.com >
Co-authored-by: A. Román <kyradiscord@gmail.com >
* chore: make requested changes and add tests
* chore: regen lockfile
* test: add type tests
* chore: push missing files
* chore: make requested changes
* chore: update CI stuff
* chore: fix lockfile
* chore: make requested changes
Co-authored-by: Parbez <imranbarbhuiya.fsd@gmail.com >
Co-authored-by: A. Román <kyradiscord@gmail.com >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-10-02 18:00:31 +00:00
Almeida
b1e190c4f0
fix: allow adding forums to channelTypes ( #8658 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-09-24 13:37:41 +00:00
Almeida
8444576f45
docs(builders/components): document constructors ( #8636 )
2022-09-19 02:32:28 +02:00
Almeida
669c3cd256
refactor: replace usage of deprecated ChannelTypes ( #8625 )
...
refactor: use new non-deprecated `ChannelType`s
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-09-17 13:56:19 +00:00
Almeida
1c5b78fd21
fix(SlashCommandBuilder): missing methods in subcommand builder ( #8583 )
2022-09-15 20:19:13 +02:00
Almeida
f3ce4a75d0
docs: use remarks instead of Note in descriptions ( #8597 )
2022-09-05 18:14:19 +02:00
Almeida
d08a57cadd
feat: add chatInputApplicationCommandMention formatter ( #8546 )
...
feat: add `chatInputApplicationCommandMention()` formatter
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-09-03 07:17:06 +00:00
A. Román
b7eb96d456
types(interactions): fix {Slash,ContextMenu}CommandBuilder#toJSON ( #8568 )
2022-09-02 17:31:25 +02:00
iCrawl
3b7ba4062e
chore: fix leftover eslint exceptions
2022-09-01 21:26:09 +02:00
Suneet Tipirneni
edadb9fe5d
refactor: use eslint-config-neon for packages. ( #8579 )
...
Co-authored-by: Noel <buechler.noel@outlook.com >
2022-09-01 20:50:16 +02:00
Suneet Tipirneni
e42fd16369
feat(website): Show constructor information ( #8540 )
2022-08-22 09:45:53 +02:00
Suneet Tipirneni
e475b63f25
feat(website): show descriptions for @typeParam blocks ( #8523 )
2022-08-19 10:55:43 +02:00
Suneet Tipirneni
7f415a2502
feat(website): show parameter descriptions ( #8519 )
...
Co-authored-by: Noel <buechler.noel@outlook.com >
2022-08-18 18:38:27 +02:00
Jiralite
a7deb8f898
feat: Add channel & message URL formatters ( #8371 )
2022-07-29 10:47:23 +02:00
Suneet Tipirneni
26556390a3
fix: use proper format for @link text ( #8384 )
...
fix(collection): use proper format for link text
2022-07-28 20:24:07 +02:00
Parbez
5494791313
docs: use link tags ( #8382 )
2022-07-28 19:18:42 +02:00
A. Román
5d8bd030d6
fix(Formatters): add newline in codeBlock ( #8369 )
2022-07-27 12:09:34 +02:00
Suneet Tipirneni
6a2d0d8e96
fix(selectMenu): allow json to be used for select menu options ( #8322 )
2022-07-24 15:14:33 +02:00
Parbez
7e6dbaaed9
types: remove expect error ( #8242 )
2022-07-17 18:53:40 +02:00
Tiemen
32f9056b15
fix: slash command name regex ( #8265 )
2022-07-17 18:52:18 +02:00
Parbez
96c8d21f95
feat(builder): add max min length in string option ( #8214 )
2022-07-07 20:45:32 +02:00
Parbez
a4d1862982
refactor(builder): remove unsafe*Builders ( #8074 )
2022-07-06 20:42:51 +02:00
Parbez
8198da5cd0
types(builder): remove casting ( #8241 )
2022-07-06 12:28:00 +02:00
iCrawl
ba10637529
chore: deps
2022-07-06 10:43:06 +02:00
Almeida
2d9dfa3c6e
fix(TextInputBuilder): parse custom_id, label, and style ( #8216 )
2022-07-03 15:35:19 +02:00
iCrawl
b2776c22d4
ci: api-extractor support for docs
2022-06-30 15:46:14 +02:00
Parbez
c6f285b7b0
refactor: remove @sindresorhus/is as it's now esm only ( #8133 )
2022-06-21 14:41:33 +02:00
Rodry
ad75be9a9c
feat: allow builders to accept rest params and arrays ( #7874 )
...
Co-authored-by: Parbez <imranbarbhuiya.fsd@gmail.com >
Co-authored-by: Khafra <42794878+KhafraDev@users.noreply.github.com >
2022-06-05 23:29:16 +02:00
iCrawl
8a7cd10554
fix(builders): leftover invalid null type
2022-06-04 12:59:26 +02:00
iCrawl
251862ea57
chore: deps
2022-06-04 12:58:09 +02:00
Azarias B
68d5169f66
feat: Export types from interactions/slashCommands/mixins ( #7942 )
2022-05-25 10:04:20 +02:00
Vlad Frangu
7ce641d33a
fix(SlashCommandBuilder): import Permissions correctly ( #7921 )
2022-05-14 22:47:26 +02:00
Vlad Frangu
de3f1573f0
feat(builders): add new command permissions v2 ( #7861 )
2022-05-13 11:33:40 +02:00
Parbez
4515a1ea80
chore: bump shapeshift for faster object validation ( #7914 )
2022-05-12 12:09:50 +02:00
Vlad Frangu
c1b5e731da
fix: add localizations for subcommand builders and option choices ( #7862 )
2022-05-12 10:32:27 +02:00
Suneet Tipirneni
29293d7bbb
refactor: use arrays instead of rest parameters for builders ( #7759 )
2022-04-21 18:56:10 +02:00
Ryan Munro
ec8d87f932
feat(builders): improve embed errors and predicates ( #7795 )
...
* feat(builders): improve embed errors
* fix: use imageURLPredicates
Co-authored-by: Synbulat Biishev <arziksin@gmail.com >
Co-authored-by: Synbulat Biishev <arziksin@gmail.com >
2022-04-19 15:58:47 +02:00
iCrawl
bcf7f1cfad
chore: deps
2022-04-17 11:27:36 +02:00
Suneet Tipirneni
40b9a1d67d
feat: Slash command localization for builders ( #7683 )
...
* feat: add slash command localizations
* chore: make requested changes
* chore: make requested changes
* fix: prevent unnecessary spread
* chore: make requested changes
* chore: don't allow maps
2022-04-17 10:58:20 +02:00