Commit Graph

42 Commits

Author SHA1 Message Date
Skillz4Killz
f532e50b1b fix: fmt 2022-04-11 21:01:33 +00:00
Skillz4Killz
fd6b11a66b fix: add sendStartNotification to stages. Closes #2152 2022-03-31 14:01:25 +00:00
Skillz4Killz
23357c78a5 Merge branch 'main' of https://github.com/discordeno/discordeno into main 2022-03-31 13:50:25 +00:00
Skillz4Killz
167bc73d75 fix: removes store channels 2022-03-31 13:50:19 +00:00
ITOH
9980856eef refactor!: fix some spelling mistakes (#2144)
* refactor!: fix some spelling mistakes
This fixes some spelling mistakes around the code base. Note not all are fixed.

* subComponent
2022-03-31 14:16:34 +02:00
ITOH
4bdd8330d0 feat(plugins): validate interaction response title (#2130)
Modal titles must have a length between 1 and 45 characters.
This adds a check to the permissions plugin.

Reference: https://github.com/discord/discord-api-docs/pull/4649
2022-03-24 19:04:23 -04:00
ITOH
75eb35df6e fix(plugins): createApplicationCommand checks 2022-03-24 14:34:26 +01:00
ITOH
b0ecdf1a62 fix(plugins): createApplicationCommand validation 2022-03-24 14:29:01 +01:00
ITOH
c830055a52 style: run deno fmt 2022-03-23 21:23:27 +01:00
Skillz4Killz
60a7ba5c11 fix: add modifyRolePositions 2022-03-22 21:51:30 +00:00
ITOH
c9a9cdc500 feat(plugins): better typing (#2120) 2022-03-21 22:13:15 -04:00
Skillz4Killz
90d5744e14 fix: typo conditional. Thanks itoh! 2022-03-21 11:09:16 +00:00
Skillz4Killz
b22e7f954f fix: select menu placholder max length 150. Closes #2085 2022-03-21 11:08:15 +00:00
Skillz4Killz
ff421688f1 fix: add perm checking for timeouts. Closes #1972 2022-03-21 11:04:58 +00:00
Skillz4Killz
1d1e103a31 fix: temp solution for editWebhook cache override 2022-03-21 08:24:54 +00:00
Skillz4Killz
307a9a83fe fix: edit webhook perm checking 2022-03-21 08:24:37 +00:00
Skillz4Killz
0769b442c1 fix: view channel required for joining. Closes #2009 2022-03-20 15:27:09 +00:00
Skillz4Killz
1af931f900 fix: community requires admin closes #2088 2022-03-20 14:00:49 +00:00
Skillz4Killz
d7da491ae2 fix: dumb class binding error 2022-03-20 13:12:05 +00:00
Skillz4Killz
a9f0bcc911 fix: use function not => to prevent bidn issue 2022-03-20 12:42:51 +00:00
Skillz4Killz
53a811f8d7 fix: omg this fmt 2022-03-20 12:35:25 +00:00
Skillz4Killz
751f719a87 fix: helper plugin errors 2022-03-20 12:17:42 +00:00
Skillz4Killz
9afa1b84ef fix: guild feature error in perms plugin 2022-03-20 12:10:20 +00:00
Skillz4Killz
554b92b2ff fix: any remaining type errors 2022-03-20 09:15:22 +00:00
Yuzu
81678fbc22 fix: optionalize recursive type works with nested objects and arrays (#2115)
* fix: get rid of type errors for now

* fix: only 6 type errors left
2022-03-19 05:12:37 -04:00
Skillz4Killz
cf13780765 fix: fmt 2022-03-18 04:20:14 +00:00
Yuzu
33bafd1f6c fix: get rid of type errors for now (#2113) 2022-03-18 00:19:55 -04:00
Skillz4Killz
3384227984 fix: export component function 2022-03-16 20:36:58 +00:00
Skillz4Killz
2a84ac982e fix: fmt 2022-03-16 02:00:10 +00:00
Skillz4Killz
a0a1554756 refactor: typings using ReturnType (#2105)
* fix: check new types idea

* fix: type errors

* fix: new style

* fix: more cleanup

* fix: more cleanup

* fix: cleanup audit logs

* fix: cleanup stickers

* fix: cleanup integrations

* fix: more cleanup

* fix: organize into 1 place

* fix: few errors

* fix: some broken import fixes

* fix: quite a lot of fixes across the board

* fix: more fixes for broken imports

* fix: more fixes for broken imports

* fix: handler imports

* fix: all remaining import errors

* fix: more errors needing fixes

* fix: clearing up transformers

* fix: few moer types

* fix: more cleanup of extra types

* fix: fmt

* fix: cleanup discordeno file

* Nuke Base Types (#2102)

* fix: cleanup snake stuff

* convert camelCase to snake_case (#2103)

* fix: add camelize

* fix: finalize remaining errors

* fix: imports in test

Co-authored-by: LTS20050703 <87189679+lts20050703@users.noreply.github.com>
2022-03-14 22:11:22 -04:00
Yuzu
fc779bf6d0 feat: sendPrivateInteractionResponse helper (#2096) 2022-03-12 00:34:33 -05:00
Yaikava
ac94a3a6c9 🐛 fix: perms plugin - stage type error (#2068)
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
2022-02-25 09:39:25 -05:00
ITOH
7204665e77 fix(plugins): await old function return (#2065)
* fix(plugins): await old function return

* Update plugins/permissions/src/channels/stage.ts

lol

Co-authored-by: TriForMine <quentin.nicolini@hotmail.fr>

Co-authored-by: TriForMine <quentin.nicolini@hotmail.fr>
2022-02-15 20:06:06 +00:00
Skillz4Killz
3f432caef6 feat(plugins/helpers): fetchAndRetrieveMembers (#2035) 2022-02-11 17:24:47 +00:00
Skillz4Killz
23abefb291 fix(plugins/permissions): getting disabled welcome screens requires MANAGE_GUILD (#2034)
* fix: require manage guild perm in welcome screen

* fix: perm check only if screen disabled
2022-02-11 17:18:58 +00:00
Skillz4Killz
14f44458f9 feat(plugins/helpers): add sendTextMessage to send a simple string (#2033)
* feat: sendTextMessage to send simple string

* fix: clean up imports

* Update plugins/helpers/mod.ts

Co-authored-by: LTS20050703 <87189679+lts20050703@users.noreply.github.com>

Co-authored-by: LTS20050703 <87189679+lts20050703@users.noreply.github.com>
2022-02-11 17:14:49 +00:00
Skillz4Killz
0ae9cf7de1 fix: update dnt and settings (#2005)
* fix: update dnt and settings

* fix: plugins paths

* Update dnt.ts

Co-authored-by: ITOH <to@itoh.at>

* Update dnt.ts

Co-authored-by: ITOH <to@itoh.at>

Co-authored-by: ITOH <to@itoh.at>
2022-02-07 16:40:59 +00:00
ITOH
81f8e0377c style: move to deno fmt (#1992)
* Create deno.json

* run format

* run format

* ci: only check formatting

* f

* Update settings.json

* Update settings.json
2022-02-04 15:00:04 +01:00
TriForMine
9a41896918 fix(editMessage): permissions plugin (#1993)
Fix permissions plugin, that throws an error about message content length when it's valid instead of when it's invalid.
2022-02-03 17:16:04 -05:00
lts20050703
42101467f3 no longer need to check for the compatible discordeno version 2022-02-01 21:30:50 +07:00
ITOH
886021e751 remove the sublicensing 2022-01-26 19:04:03 +01:00
ITOH
7d2e157148 move plugins to the main repo 2022-01-26 19:02:34 +01:00