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
Yuzu
33bafd1f6c
fix: get rid of type errors for now ( #2113 )
2022-03-18 00:19:55 -04:00
Skillz4Killz
44f02d0c65
fix: guild toggles to bigint and cleanup
2022-03-16 21:56:43 +00:00
Skillz4Killz
ecdd33978f
fix: guild transformer type issues
2022-03-16 21:33:42 +00:00
Skillz4Killz
80d251b6a7
fix: yuzu improvement
2022-03-16 08:54:56 +00:00
LTS20050703
33405fd7d4
optionalize transformer ( #2108 )
2022-03-16 00:28:58 -04:00
Skillz4Killz
7a77831992
fix: add optionalize generic
2022-03-16 03:32:15 +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
Skillz4Killz
7e69f29217
fix: imports should be specific
2022-03-06 19:04:31 +00:00
Skillz4Killz
05e52ab519
fix: voice state transformer user bug
2022-02-27 22:57:48 +00:00
LTS20050703
79dbf690dc
fix editMessage interface and function ( #2054 )
...
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com >
2022-02-25 10:23:32 -05:00