Commit Graph

67 Commits

Author SHA1 Message Date
Dominik Koch
d478e679db chore: use DISCORDENO_VERSION from utils for docs and rest manager (#4059)
* docs: update header to v20

* Update to upcoming version instead

* Use the new DISCORDENO_VERSION

* Use the new DISCORDENO_VERSION

* Update website/docs/bigbot/step-2-rest.md

---------

Co-authored-by: Awesome Stickz <awesome@stickz.dev>
Co-authored-by: Fleny <Fleny113@outlook.com>
2024-12-29 01:05:13 +05:30
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
Skillz4Killz
0b58dbc1e8 make getting started simple and short 2024-11-29 16:20:50 +00:00
Skillz4Killz
9490981a95 add details to architecture 2024-11-29 15:45:31 +00:00
Skillz4Killz
e408874f95 cleanup 2024-11-29 15:17:20 +00:00
Awesome Stickz
3bc006bbec docs: update faq (#4027) 2024-11-28 09:58:29 -06:00
Awesome Stickz
9709b53a7d docs: improve docs (#4022) 2024-11-28 09:38:28 -06:00
Awesome Stickz
b151328969 docs: change wordings on caching and desired props page (#4010)
* docs: change wordings on caching and desired props page

* change value to property
2024-11-26 16:34:38 +01:00
Fleny
3e48af1b4c Remove migrations, reorder stuff in website (#3991)
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
2024-11-20 07:38:47 -06:00
Fleny
4939822434 docs: Update desired properties docs (#3940)
* Update docs for desired properties

* Update examples to use createBot desiredProperties

The BigBot and reaction roles examples use the Discordeno CLI

* Migrate examples to v19 stable

* Docs work
2024-11-19 16:40:01 -06:00
Awesome Stickz
a727b7deaa docs: add caching guide (#3859)
* docs: add caching guide

* fix: change "client" to BOT

* change BOT to bot instead

* added a bit more info to important point to note in manual caching
2024-08-18 14:25:29 +05:30
Awesome Stickz
599cc4d1de docs: added example to resharding in big bot guide (#3857) 2024-08-18 09:12:36 +02:00
Awesome Stickz
cfafc16e92 docs: remove tutorial section (#3817)
* docs: remove tutorial section

* fix: docusaurus broken links
2024-07-30 23:40:08 -05: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
Fleny
8e011210e2 feat(docs): Add getting-started with installation (#3557)
* Add getting-started with installation

* Add minimal example, and helpers and desired proprieties explanation

* Add comment on helper example usage

* fix small grammar error

* Fix GuildMessages being without the Intents. before

Co-authored-by: Awesome Stickz <awesome@stickz.dev>

* Apply code suggestion

Co-authored-by: Awesome Stickz <awesome@stickz.dev>

* Apply suggestions from code review

Co-authored-by: Awesome Stickz <awesome@stickz.dev>

* fix: typo

* remove todo

* Apply suggestions from code review

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

* Remove useless parenthesis

* Apply code review suggestion

---------

Co-authored-by: Awesome Stickz <awesome@stickz.dev>
Co-authored-by: LTS20050703 <lts20050703@gmail.com>
2024-05-24 05:09:35 +00:00
Fleny
edbb134efa docs: Update contributing docs (#3386)
* 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

* Update contributing docs

remove howToUseTurborepo.md
update devcontainer
update task to remove error matcher
remove useless packages/rest/src/README.md
remove readme.hbs

* Add notice for the clean build

---------

Co-authored-by: Matt Hatcher <3768988+MatthewSH@users.noreply.github.com>
2024-03-08 04:40:27 +00:00
Fleny
43d52a6c43 docs: Add examples for Node.js and Bun, update Deno example (#3385)
* 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

* Update env tips and add minimal examples for node and bun

And update the one from deno that was really out of date

---------

Co-authored-by: Matt Hatcher <3768988+MatthewSH@users.noreply.github.com>
2024-02-25 01:41:44 +00:00
Jonathan Ho
78300e59bb chore: move architecture to new docs (#3274)
* chore: move architecture to new docs

* chore: move api reference

* chore: faster local build

* fix: env
2023-12-09 13:27:16 +00:00
rosefighter
2c2ae61066 fix(website): beginner how to get token & add link to fork in contributing (#3164)
* fixing guides

* Deleting fmt and lint from contributing.md

* adding/linking VSCode as the recommended editor

* adding install node.js to contributing md.

---------

Co-authored-by: rosefighter <rosefighter@gmail.com>
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
2023-11-19 18:24:22 +00:00
Skillz4Killz
25ad834cac fix: contribution guide 2023-10-28 16:21:35 +00:00
Skillz4Killz
59631f2fac format 2023-10-28 13:25:09 +00:00
8au
c6414d60dc docs: Updated the guide for making custom bot REST instances to use the new createBaseHeaders() function (#3136)
* docs: Updated the guide for making custom bot REST instances to use the new createBaseHeaders() function

* Update website/docs/bigbot/step-2-rest.md

* Update website/docs/bigbot/step-2-rest.md

---------

Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
2023-09-21 15:53:44 +00:00
Skillz
4d2bb53361 fix: tiny bug in guide 2023-09-14 09:44:04 -05:00
Skillz
a1b2b3fb2c fix: Closes #3011 guide fixes 2023-05-08 13:36:33 -05:00
Yaikava
b1281a3e45 📚 - docs: add deno example with gateway workaround (#3016) 2023-05-01 20:03:57 +00:00
Gavin Wainwright
26dcee34c3 Update step-4-bot.md (#3015)
typo
2023-04-29 15:35:31 +00:00
Skillz
5172bd91a5 docs: more beginner guides 2023-04-19 14:21:30 -05:00
Skillz
e45e5acdf3 docs: token guide 2023-04-19 13:26:16 -05:00
Skillz4Killz
ad4832c482 docs: more rr guide 2023-04-19 04:23:09 +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
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
Awesome Stickz
b2bffcf942 fix: big bot guide - further optimizations (#2999) 2023-04-14 18:53:37 +00:00
Skillz4Killz
2d7990520a fix: GUILD_LOADED_DD 2023-04-13 22:40:04 +00:00
Skillz4Killz
4317550b1c feat: start reaction role guide (#2960)
* feat: start reaction role guide

* Update website/docs/examples/_category_.json

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

* Update website/docs/examples/reactionroles.md

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

* Update website/docs/examples/reactionroles.md

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

* Update website/docs/examples/reactionroles.md

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

* Update website/docs/examples/reactionroles.md

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

* Update website/docs/examples/reactionroles.md

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

* Apply suggestions from code review

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

* Update website/docs/examples/_category_.json

---------

Co-authored-by: ITOH <to@itoh.at>
2023-04-03 19:25:26 +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
ITOH
05fc3fbeba style: format (#2925) 2023-04-01 02:46:46 +02:00
ITOH
1093befcad fix(website): move to new url (#2914) 2023-03-30 18:09:02 +00:00
Skillz4Killz
701d8b6dbb chore: remove client pkg (#2903)
* chore: remove client pkg

* yarn install

* fix: yarn install

---------

Co-authored-by: ITOH <to@itoh.at>
2023-03-30 09:48:19 -05:00
Skillz
ee836dc42b fix: more guide for bbb 2023-03-16 11:51:20 -05:00
Skillz
822bc7a921 fix: events need id not full shard 2023-03-16 10:58:21 -05:00
Skillz4Killz
0b195575e2 fix: shard id in docs 2023-03-16 14:22:42 +00:00
Skillz4Killz
580206a6f5 fix: linter 2023-03-16 13:22:04 +00:00
Skillz4Killz
103310a8f4 fix: add authorization prop to rest for proxy 2023-03-16 12:50:16 +00:00
Skillz4Killz
8d73ab7db3 fix: final touchup on rest 2023-03-16 03:30:01 +00:00
Skillz4Killz
54cfc4c69d fix: more code example on rest guide 2023-03-16 03:26:04 +00:00
Skillz4Killz
a694e9285b Merge branch 'main' of https://github.com/discordeno/discordeno 2023-03-09 17:16:29 +00:00
Skillz4Killz
a58d6640f6 fix: more big bot docs 2023-03-09 17:14:01 +00:00