Commit Graph

8 Commits

Author SHA1 Message Date
Andreas Fink
e59ec94f55 BREAKING: fix(plugins/validations): remove bot arg from validateApplicationCommandLength, fixes #2543 (#2553) 2022-11-14 13:02:43 -06:00
LTS20050703
cd5915c8b6 add new select menu components (#2583)
* add new select menu components

* fix: check for component type
2022-11-14 12:34:41 -06:00
LTS20050703
bf70526029 fix(plugins): errors caused by bigstring support (#2486) 2022-09-22 11:40:41 -04:00
LTS20050703
17132aaf61 feat(helpers): add stickers helpers (#2466)
* helpers: add stickers helpers

* deno fmt

* undo move getNitroStickerPack to stickers

* helpers/stickers: fix jsdocs

* plugins/permissions: check stickers permissions

* plugins/validations: validate stickers stuff

* tests: stickers unit tests

* helpers/stickers: add support for reason

* plugins/permissions: MANAGE_EMOJIS -> MANAGE_EMOJIS_AND_STICKERS

* tests/stickers: delete sticker after test
createGuildSticker: add send sticker test
getGuildStickers: create another sticker then test > 1 stickers
2022-09-22 11:31:41 -04:00
LTS20050703
9426f4e2de fix(plugins): type errors (#2472)
* fix plugins

* deno fmt
2022-09-15 10:45:54 -04:00
Skillz4Killz
a49c7499cb Update sendMessage.ts 2022-09-14 12:07:11 -05:00
LTS20050703
bc44a2feb1 feat(plugins/validations): sendMessage at least one prop + support stickers (#2467)
When creating a message, apps must provide a value for **at least one of** `content`, `embeds`, `sticker_ids`, `components`, or `files[n]`.
https://discord.com/developers/docs/resources/channel#create-message-jsonform-params
2022-09-14 11:53:49 -05:00
LTS20050703
b4a823aba1 feat: Validation Plugin (#2451)
* Plugins/Permissions: FIX PARITY ISSUES
What is parity issues? Parity issues are files that exist but structured one way in the base/vanilla discordeno library, and structured another way in the permisison plugin.

* deno fmt

* plugins/permissions: nuke validations

* plugins/permissions VALIDATIONS -> plugins/validations

* plugins/validations: slash commands max 4000 chars

* fix module not found
2022-09-12 08:57:59 -05:00