Commit Graph

35 Commits

Author SHA1 Message Date
meister03
aca0e3cf1b Merge Dev into Main (#2345)
* Simplify SfetchMembers (#2339)

Co-authored-by: meister03

* Create leaveVoiceChannel.ts (#2342)

* Update editFollowupMessage.ts (#2344)

* Update editInteractionResponse.ts (#2343)

* Update editMessage.ts (#2341)

* Update calculateShardId.ts

Fix wrong shardId calculations

* Add Role Icon to Edit (#2346)

Co-authored-by: meister03

* Add mix max length (#2347)

Co-authored-by: meister03

* style: deno fmt

* Fix Disabled Options (#2368)

Co-authored-by: meister03 <meisterpi@gmail.com>

* Add app_permissions (#2369)

Co-authored-by: meister03 <meisterpi@gmail.com>

* thread_id instead of threadId (#2378)

Co-authored-by: Veeti K <veeti@veetik.com>

* feat: Create `ApplicationCommandFlags` enumerator. (#2384)

Co-authored-by: vxern <vxern@wordcollector.co.uk>

* Small Changes in a bulk pr to close the issues (#2370)

* Initial Commit

* Close #2364

* Add preset whitelist to automod #2356 -> Resolve Issue

* Close [api-docs] AutoMod message intent updates (#5083) #2330

* Breaking Channge | [api-docs] Update message type names (#5093)

* message.interaction.name changed attitude | [api-docs] Update Change_Log.md #2333

* #2333 also closes #2316

* Clarify 45 chars length | Add those on permission plugins | [api-docs] text input label has max 45 characters (#4689) #2137

* Clarify webhook naming restrictions (#4625) #2094

* 8th August Webhook new View Channel perm | Closes #2363

* 8th August Webhook new View Channel perm | Closes #2363

* Document thread_name for execute webhook (#5007) #2263

* Close Update create and modify channel documentation (#4867) #2237

* unnecesary nullable tag in Modify Guild Member params (#5164) #2355

* deno fmt

* deno fmt

* Use .includefor disallowed webhook names"

* Add Missing Enums & #2367, #2362, #2361, #2371, #2372. #2349, #2358, #2325 back

* deno fmt :(

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

Co-authored-by: Tomato6966 <chris.pre03@gmail.com>
Co-authored-by: ITOH <to@itoh.at>
Co-authored-by: meister03 <meisterpi@gmail.com>
Co-authored-by: Veeti K <veeti@veetik.com>
Co-authored-by: vxern <vxern@wordcollector.co.uk>
Co-authored-by: LTS20050703 <87189679+lts20050703@users.noreply.github.com>
2022-08-23 08:46:01 -04:00
Skillz4Killz
ccd8506c81 Auto mod blame wolf (#2267)
* feat(meister): add automod

* fix(test); rest error with code

* fix(rest): log error nicely

* fix(test): disable benchmark test until gateway rewrite

* fix(automod): enum should start with 1

* fix(helper): better undefined handling of metadata

* fix(transfomrers): automod transformers

* fix(tests): add some automod tests

* Update types/shared.ts

Co-authored-by: meister03 <69507874+meister03@users.noreply.github.com>

* fix: changes discord made recently

* fix(fmt): i hate deno fmt but i love itoh

Co-authored-by: meister03 <69507874+meister03@users.noreply.github.com>
Co-authored-by: LTS20050703 <87189679+lts20050703@users.noreply.github.com>
2022-06-15 11:25:53 -04:00
Skillz4Killz
3f1c924b9c fix: permissions plugin should return valid type 2022-05-18 16:04:02 +00:00
LTS20050703
73e34b262d refactor(plugins/permissions)!: rename createForumPosts to createForumPost (#2220)
* deno fmt

* fix: plugins/permissions: channels/forums/createForumPosts
2022-05-14 22:02:02 +02:00
LTS20050703
c53aad2ea8 style: deno fmt (#2219) 2022-05-14 12:03:17 +01:00
meister03
7caab52b68 Forum channel (#2160)
* [WIP] Forum Channels

* Delete package-lock.json

🤕

* Add Message typings and fix createForumPost

* Remove unnecessary comment

* Update helpers/channels/forums/createForumPost.ts

Use transformer

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

* Update helpers/channels/forums/createForumPost.ts

Use Pascal case for `CreateForumPostWithMessage`

Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>

* Update helpers/channels/forums/createForumPost.ts

Use Pascal case for `CreateForumPostWithMessage`

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

* Remove unneeded types

* Revert Review and Edit it

* Add reason

Co-authored-by: meister03 <root@_HOSTNAME_>
Co-authored-by: LTS20050703 <87189679+lts20050703@users.noreply.github.com>
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
2022-05-13 10:28:53 -04:00
Skillz4Killz
c6966c38ff fix: 3/7 day archive dont need boost. Closes #2188 2022-05-08 14:53:09 +00:00
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
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
9afa1b84ef fix: guild feature error in perms plugin 2022-03-20 12:10:20 +00: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
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
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
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
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