Commit Graph

7 Commits

Author SHA1 Message Date
Fleny
f4f4665b89 Use desired properties in InteractionResolvedXYZ (#4099) 2025-01-24 21:23:24 -05:00
Fleny
41219d5417 feat(bot): Remove some clutter from desired proprerties intellisense (#4050)
* Remove TBot, Use SetupDesiredProps

* Remove even more clutter from intellisense

* Use type instead of interfaces for some types

This avoids the need for mapped types in Bot

* docs: add info about removing ts clutter to desired props guide

* docs: improve ts clutter section in desired props guide more

---------

Co-authored-by: Awesome Stickz <awesome@stickz.dev>
2024-12-28 23:08:15 +05:30
Fleny
87de1ac16d Remove withAtLeast, a & { ... } is the same thing (#4028) 2024-11-28 10:26:48 -06:00
Fleny
cdf0be41b6 fix(bot)!: fix type errors when using commandOptionsParser (#3994)
* Fix type errors when using commandOptionsParser

* remove export from TransformProperty

* use TransformProperty in InteractionResolvedData

* Fix CI

* Remove the union on GetErrorWhenUndesired
2024-11-23 14:50:16 -06:00
Fleny
0819d2be9b feat(bot,types): Type commandOptionsParser, remove any (#3786)
* Type commandOptionsParser, remove any

* fix ts errors
2024-07-23 00:28:36 -05:00
Skillz4Killz
59631f2fac format 2023-10-28 13:25:09 +00:00
Sam Teeuwisse
1355d54035 Fix commandOptionsParser and move to bot package (#3135) 2023-09-20 14:04:41 +00:00