Jonathan Ho
34d7a47f24
feat: reverse transformers ( #2387 )
...
* merged change
* deno fmt
2022-08-23 10:18:30 -04:00
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
ITOH
03996c5f58
refactor: revert "feat: base plugin lib idea ( #2308 )" ( #2336 )
...
* Revert "feat: base plugin lib idea (#2308 )"
This reverts commit ffe7cdbc6f .
* fmt
2022-07-02 14:24:43 +01:00
Skillz4Killz
ffe7cdbc6f
feat: base plugin lib idea ( #2308 )
...
* feat: base plugin lib idea
* fix: stuff
* fmt
* fix: imports and exports
* fix: errors & tests
* fix: remove logs
2022-06-18 18:46:37 -04:00
Skillz4Killz
aa2e5131ef
fix: test local queue idea ( #2301 )
...
* fix: test local queue idea
* I HATE STUPIDEST DENO FMT
* try new error
* fix: url
* fix: with proper headers
* fix: cleanup
2022-06-17 13:01:26 -04:00
Jonathan Ho
dc1ca7c005
feat: reverse transformers ( #2305 )
...
* feat: reverse transformer
* fix: cap
* deno fmt
* refactor: change to use toggles list
* Revert "refactor: change to use toggles list"
This reverts commit 31f170f31b .
* fix: forget reverse transformer
2022-06-17 11:38:18 -04:00
LTS20050703
c68d95bc90
Image Size 4096 ( #2302 )
...
* Image Size 4096
* deno fmt
2022-06-16 12:04:10 -04:00
Skillz4Killz
91e0af3074
fix: move type to types folder
2022-06-15 17:48:41 +00: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
74666ba44c
fix(transformer): partial user in presence
2022-06-15 13:37:57 +00:00
Endy
9610403b26
Made required optional for command option ( #2234 )
2022-05-22 08:39:08 -04:00
meister03
8e3a2f066a
fix(types): use snowflake transformer instead of direct BigInt call ( #2217 )
...
Co-authored-by: meister03 <root@_HOSTNAME_>
2022-05-14 12:02:07 +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
LTS20050703
749dafd1ce
add default_member_permissions and dm_permission ( #2215 )
...
* add default_member_permissions and dm_permission
* update application command transformer and interfaces
* fix type error
2022-05-13 10:25:15 -04:00
LTS20050703
e4c8cde142
add guild widget settings interface, transformer ( #2197 )
...
* add guild widget settings interface, transformer
* fix bot.transformers.widgetSettings is not a function
Co-authored-by: ITOH <to@itoh.at >
2022-05-13 08:51:58 -04:00
LTS20050703
939cb93700
update DiscordInteractionData interface ( #2208 )
...
* update DiscordInteractionData interface
add guildId
add type
also update interaction transformers
* revert re-order changes
Co-authored-by: ITOH <to@itoh.at >
2022-05-12 14:21:51 -04:00
LTS20050703
2a330173d5
update application command localization jsdocs ( #2199 )
...
* update application command localization jsdocs
* update applicationCommand transformers
Co-authored-by: ITOH <to@itoh.at >
2022-05-12 14:16:45 -04:00
Skillz4Killz
602940e636
fix: remove archive duration toggles guild feature
2022-05-08 14:55:05 +00:00
Skillz4Killz
4f5e34d931
fix: silly fmt bugs on each deno update
2022-05-08 14:05:07 +00:00
meister03
ca2fda3315
Update activity.ts ( #2171 )
...
Fix id not a snowflake
2022-04-23 16:37:42 -04:00
LTS20050703
2cd084be86
Delete auditlogEntry.ts ( #2165 )
2022-04-15 05:20:23 -04: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
34a358f8bf
feat(helpers,types)!: slash command localization ( #2129 )
...
* feat(helpers,types): slash command localization
Discord has documented the slash command localization feature now.
This adds the full functionality for those to Discordeno.
Additionally a `Locales` has also been added to allow for better typing.
Reference: https://github.com/discord/discord-api-docs/pull/4653
* suggestion
* better locales type
* f
* fix serializing
* stupid direct pushes
* b
2022-03-27 11:02:27 -04:00
ITOH
23ebfac286
feat(types): add premiumSubscriber to RoleToggles ( #2141 )
...
In the role tags discord sends a `premium_subscriber` field. It seems that this has been forgotten to add.
Reference: https://discord.com/developers/docs/topics/permissions#role-object-role-tags-structure
2022-03-27 11:01:20 -04:00
ITOH
468a85ffa5
feat(types): add image_hash audit log change key ( #2142 )
...
This adds the `image_hash` audit log change key which is being used when a guild scheduled event cover image gets updated.
Reference: https://github.com/discord/discord-api-docs/pull/4707
2022-03-27 11:00:50 -04:00
Skillz4Killz
27e863def0
fix: big bot template
2022-03-25 12:44:21 +00:00
Skillz4Killz
9a539ba17f
Merge branch 'main' of https://github.com/discordeno/discordeno into main
2022-03-25 10:38:17 +00:00
Skillz4Killz
92c281529d
fix: sendWebhook components
2022-03-25 10:38:12 +00:00
ITOH
2c2ccb252c
feat(helpers,types)!: add guild template transformer ( #2132 )
...
* feat(helpers,types)!: add guild template transformer
This adds a template transformer. Also this fixes incorrect type definitions regarding templates.
Breaking Change: The previously called `Template` interface which was used for creating templates has been renamed to `CreateTemplate`
* fmt
* forgot to add this
* use data
2022-03-25 06:15:17 -04:00
Skillz4Killz
213b4eebdf
fix: remove deprecated props
2022-03-22 22:57:16 +00:00
Skillz4Killz
0d920393c4
fix: deno fmt
2022-03-22 21:38:41 +00:00
LTS20050703
086258d1ea
fix mod.ts export ( #2121 )
...
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com >
2022-03-22 11:28:33 -04:00
Skillz4Killz
4787a430b7
fix: interaction data option transformer
2022-03-22 10:17:41 +00:00
Skillz4Killz
efeec03354
fix: cleanup some old ts-ignores
2022-03-21 12:20:31 +00:00
Skillz4Killz
fe42864b00
fix: add nitroStickerPacks helper. Closes #2095
2022-03-21 12:08:43 +00:00
Skillz4Killz
b22e7f954f
fix: select menu placholder max length 150. Closes #2085
2022-03-21 11:08:15 +00:00
Skillz4Killz
1ea7c466b6
fix: lil bit of cleanup
2022-03-21 08:07:02 +00:00
Skillz4Killz
45b075c5b5
fix: discriminator is now a string
2022-03-20 17:38:53 +00:00
Awesome Stickz
b25801c9e3
fix: types exports of transformers ( #2119 )
...
* fix: types exports of transformers
* fix: deno fmt
2022-03-20 12:33:24 -04:00
Skillz4Killz
ef6c4a8d05
Merge branch 'main' of https://github.com/discordeno/discordeno into main
2022-03-20 14:51:44 +00:00
Skillz4Killz
3d81fa2008
fix: add newly_created prop to channel for threads
2022-03-20 14:51:42 +00:00
LTS20050703
8d4c0069b0
(transformers) return as Optionalize<typeof> ( #2117 )
...
* (transformers) return as Optionalize<typeof>
* fix check error
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com >
2022-03-20 10:35:48 -04:00
Skillz4Killz
b92874788d
fix: i hate this fmt
2022-03-20 13:57:15 +00:00
Skillz4Killz
e3e0f2b975
fix: add event id to stage instance. Closes #2092
2022-03-20 13:57:00 +00:00
Skillz4Killz
7c6a35a3f8
fix: add component.value Closes Component transform doesn't set value #2110
2022-03-20 13:45:30 +00:00
Skillz4Killz
53a811f8d7
fix: omg this fmt
2022-03-20 12:35:25 +00:00
Skillz4Killz
8d0c0400d7
fix: omg this dumb fmt
2022-03-20 10:31:00 +00:00
Skillz4Killz
9d230c5936
fix: guild.channels
2022-03-20 10:24:48 +00:00
Skillz4Killz
5c2ed9573c
fix: collection and array support in optionalize
2022-03-19 15:06:07 +00:00
Skillz4Killz
cf13780765
fix: fmt
2022-03-18 04:20:14 +00:00