Commit Graph

36 Commits

Author SHA1 Message Date
Fleny
27c261fee2 formatter: Use semicolons (#4686)
I prefer semicolors, they also help avoiding certain pitfalls in JavaScript/TypeScript, such as the following code sample:
```js
const xyz = "test"
(something.else as string) = "another"
```
This results in a TypeError: "test" is not a function, this is because js thinks we are trying to call the string "test" as a function.
To fix this it requires a `;` somewhere before the `(`, such as `;(something ... ` which in my opinion is ugly and less clean overall.
2026-01-17 21:54:15 +01:00
Seren_Modz 21
8b9930ffe0 ci(release): publish with yarn instead of npm (#4646)
* chore: update yarn to 4.12.0

* ci(release): publish with yarn instead of npm

* chore: update browsers list db

Signed-off-by: Seren_Modz 21 <seren@kings-world.net>

* chore(deps): add a resolution for react types

docusaurus is using react types v18, while discordeno uses v19

Signed-off-by: Seren_Modz 21 <seren@kings-world.net>

* fix: prefix the jsx element type with the react namespace

Signed-off-by: Seren_Modz 21 <seren@kings-world.net>

* chore(deps): update @rspack/core to v1.6.8

Signed-off-by: Seren_Modz 21 <seren@kings-world.net>

---------

Signed-off-by: Seren_Modz 21 <seren@kings-world.net>
Co-authored-by: Fleny <Fleny113@outlook.com>
2025-12-19 18:12:37 +01:00
Fleny
fde6751b77 chore(website): Update deps and remove styled-components (#4466)
* chore(website): Remove styled-components

This also allows us to remove the loading screen on page load as the styles are now loaded by the browser itself.

* chore(website): Update dependencies

* Remove clsx

* Update dependencies

Also update markdown onBrokenMarkdownLinks options as it now deprecated in favor of markdown.hooks.onBrokenMarkdownLinks

* Update dependencies
2025-10-02 21:41:54 +02:00
Fleny
2545bff5a6 Remove benchmarks page & package (#4479)
* Remove benchmarks package and page

* Remove benchmarks CI
2025-10-02 21:30:06 +02:00
Fleny
6ed7cfc8a8 build(deps): Migrate to React Flow v12 and update website dependencies (#4330)
* build(deps): Update dependencies in website

* Update reactflow to @xyflow/react
2025-08-13 10:39:15 +02:00
Fleny
f199bbf71c build(dev-deps): Update biome to v2 (#4246)
* update biome to v2

* Run biome check --write

* Update biome.jsonc

Co-authored-by: Link <lts20050703@gmail.com>

* Fix config error

* Bump biome version

* Update website/yarn.lock

* Update biome to 2.1.3

---------

Co-authored-by: Link <lts20050703@gmail.com>
2025-08-09 12:45:04 -05:00
MARCROCK22
5722782a44 remove cactusfire (#4087) 2025-01-06 03:54:23 -05:00
Awesome Stickz
f41d968b4a feat(website): show bots' guild count at the time of review in reviews section (#4052) 2024-12-26 12:41:18 +01:00
Awesome Stickz
9709b53a7d docs: improve docs (#4022) 2024-11-28 09:38:28 -06:00
Fleny
cfdf77027a refactor(types,utils,rest,bot)!: Cleanup types & files (#3951)
* Cleanup some un-used & sort types, split files

* Remove commented code from reverse/component.ts

* Fix type error on the bot E2E test

* Add comment, remove DiscordInteractionResponse

* Remove camel.ts

* Error on unusedImport, refactor type imports

* Run biome check

* fix: typo

* Update comments for skuId and defaultValues

---------

Co-authored-by: Awesome Stickz <awesome@stickz.dev>
2024-11-09 17:27:55 +01:00
Fleny
6a5f446c06 build(website): Update website deps, remove 1s load time (#3858)
* Update website deps, remove 1s load time

* Run biome migrate

* Test without terser plugin

* Do not always default to MDX

* remove webpack terser plugin

* Add some exclusions to website/tsconfig
2024-08-29 11:22:40 +02:00
Fleny
919474069d chore: Migrate ESLint and prettier to Biome (#3634)
* Migrate eslint and prettier to biomejs

This does NOT include examples/bigbot as it has its own formatter

* Update to biome 1.8.0

* Readd dotenv dev dependency to rest

During a merge it got lost
2024-07-13 13:05:02 -05:00
Fleny
97a8016041 chore: Code changes & formatting and linting (#3552)
* Do some code changes & run prettier and eslint

* Fix test:test-type script

* Apply code review suggestions

* update heartbeat interval & add a reason for the specific value

* Fix husky error

* Update to TS 5.5

And use ${configDir}

* Fix test.json tsconfig base

---------

Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
2024-07-08 15:11:41 -05:00
Awesome Stickz
fce4ae01c3 docs: update big bot guide (#3718) 2024-07-07 10:36:16 -05:00
Fleny
008834d389 docs: Reaction roles bot example (#3361)
* Update docusaurus typescript setup for v3

And fix lint-staged and eslint

* Enable automatic JSX runtime

* Remove babel config and dependencies

* update yarn.lock

* add typecheck to site workflow

* update typedoc config

* downgrade docusaurus packages

* Update site.yml

* Type context and options in webpack-docusaurus-plugin.ts

* Add reaction-roles code from docs example

* Finish /roles reactions create command, missing event handler

* Add handler for the role buttons

* Initial update to reactionroles.md

+ code changes accordingly

* Finish reactionroles.md file

* Corrections to reactionroles.md

* update deps & add --strip-leading-paths to swc

* Add a note for the possibile ratelimit on command upsert

* Update website/docs/examples/reactionroles.md

Co-authored-by: LTS20050703 <lts20050703@gmail.com>

* Apply suggestions from code review

Co-authored-by: LTS20050703 <lts20050703@gmail.com>

* Update website/docs/examples/reactionroles.md

Co-authored-by: LTS20050703 <lts20050703@gmail.com>

* Use a register-commands.ts for app commands

* Apply suggestions from code review

Co-authored-by: LTS20050703 <lts20050703@gmail.com>

* Update for the latest version of discordeno

Also add the tsconfig for the reaction roles example as i forgot it and was using the root dir one

* Update deps, add typescript as dev deps, add .swcrc

---------

Co-authored-by: Matt Hatcher <3768988+MatthewSH@users.noreply.github.com>
Co-authored-by: Jonathan Ho <heiheiho000@gmail.com>
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
Co-authored-by: LTS20050703 <lts20050703@gmail.com>
2024-07-06 17:37:33 +00:00
8au
c39a20c93c fixed typo and updated bot review guild counts (#3641)
* chore: updated all bot guild counts, fixed the appy logo no longer working and also fixed a typo in aiig review

* Update website/src/components/home/reviews/index.tsx

Co-authored-by: Fleny <Fleny113@outlook.com>

---------

Co-authored-by: Fleny <Fleny113@outlook.com>
2024-06-03 07:05:27 +00:00
Fleny
f0ac958903 chore(website): Cleanup docusaurus setup (#3355)
* Update docusaurus typescript setup for v3

And fix lint-staged and eslint

* Enable automatic JSX runtime

* Remove babel config and dependencies

* update yarn.lock

* add typecheck to site workflow

* update typedoc config

* downgrade docusaurus packages

* Update site.yml

* Type context and options in webpack-docusaurus-plugin.ts

---------

Co-authored-by: Matt Hatcher <3768988+MatthewSH@users.noreply.github.com>
2024-02-09 20:34:59 +00:00
Jonathan Ho
79cc362c22 feat: add site back to website (temp) (#3267)
* feat: add site back to website

* refactor: use same sidebar

* fix: delete generated docs
2023-12-07 01:00:20 +00:00
Awesome Stickz
0af7b2919f chore(website): update community feedback bots' guild counts and logo (#3182) 2023-11-19 14:32:50 +00:00
Skillz4Killz
38fb58dbb9 why is this dumb thing needed 2023-10-28 16:54:41 +00:00
Skillz4Killz
3e64b22874 update guild count values of bots using dd 2023-10-28 14:51:26 +00:00
Skillz4Killz
9df1252eb4 perma cactus logo 2023-10-28 14:45:07 +00:00
Skillz4Killz
59631f2fac format 2023-10-28 13:25:09 +00:00
Skillz
a89107b5c4 fix: remove testing skillz name 2023-08-23 13:08:22 -05:00
Skillz
a6e99f3048 fix: remove discrims and support multiple devs 2023-08-23 13:06:19 -05:00
8au
d0db3420f7 fix: 'INVITE_DELETE' event now uses 'handleInviteDelete' (previously used 'handleInviteCreate') (#3064)
* fix: Fixed an issue which would cause the 'INVITE_DELETE' event to be passed into 'INVITE_CREATE'.

* chore: updated guild counts for appy and ai image generator

* chore: removed duplicate line in the message transformer
2023-07-23 15:54:34 -05:00
8au
7081e87959 feat: Added the rewrite Appy review, also changed default color for darkmode to make it easier to see the containers. (#3021) 2023-05-05 23:00:38 +00:00
LHCLYT
8389c1dce0 Add CactusFire to Community Feedback (#3017)
* Add CactusFire to Community Feedback

* Update website/src/components/home/reviews/index.tsx

---------

Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
2023-05-01 19:56:03 +00:00
Endy
8a0140c8ed fix(website): gradient shadow overlapping navbar (#3012) 2023-04-27 22:44:37 +00:00
Awesome Stickz
3ebe151643 fix(website): faq grammar (#3003)
* fix: website faq grammar

* fix: more faq grammar fixes

* Update website/src/components/home/faq/index.tsx

* Update website/src/components/home/faq/index.tsx

---------

Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
2023-04-17 01:57:02 +00:00
Peter
d320334663 Mobile responsiveness + add loading (#3005)
* Mobile responsiveness + add loading

* formatting + remove animate.css - causing useless lag

---------

Co-authored-by: Peter Hanania <peter@pogy.xyz>
2023-04-16 23:52:35 +00:00
Skillz4Killz
c289987368 fix: faq 2023-04-16 05:51:08 +00:00
Peter
285908b306 Feat: Website Rewrite (#2996)
* Feat: Remake website

* update yarn.lock

---------

Co-authored-by: Peter Hanania <peter@pogy.xyz>
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
2023-04-15 21:11:44 +00:00
Jonathan Ho
7a69c02d13 feat(site): add back benchmark to site (also change cpu model) (#2939)
* ci: add concurrency for deploy site

* feat(site): add benchmark

* refactor(bench): overwrite old result with new

* Update packages/benchmark/src/generateMessage.ts

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

* Update scripts/generateMessage.js

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

* Update site.yml

---------

Co-authored-by: ITOH <to@itoh.at>
2023-04-02 15:39:52 +00:00
Skillz4Killz
3bbb03b8e3 cleanup cleanup cleanup on isle dd (#2792)
* cleanup cleanup cleanup on isle dd

* fix: rest manager import in test
2023-02-25 20:11:15 -06:00
Skillz
cd65e8d5fe fix: fresh website will delete site folder when this is done 2023-02-24 18:45:43 -06:00