Commit Graph

85 Commits

Author SHA1 Message Date
Awesome Stickz
3cf2f74ae5 fix(docs): typo in saveAnalyticsId variable in big bot guide (#4670) 2026-01-08 18:41:06 +01: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
a4c0159b9d docs(bigbot): fix REST body handling (#4464) 2025-09-19 19:22:07 +05:30
Fleny
ba7ca458b6 docs(bigbot): Send snake_case packets to bot (#4430)
Currently the big bot gateway worker was sending camelCase packets to the bot which caused the transformers in `@discordeno/bot` to not find most of the properties they need in the payload.

This changes the docs to show to override the forwardToBot method to send the packets as-is to the bot.

Co-authored-by: Awesome Stickz <awesome@stickz.dev>
2025-09-11 17:09:41 +05:30
Awesome Stickz
2d5e2114c7 docs: update info about dd cache proxy in caching guide (#4387)
Co-authored-by: Link <link20050703@gmail.com>
2025-08-22 10:07:44 -07:00
Fleny
d5b2974d9f chore: use biome check instead of separate lint and format commands (#4320) 2025-08-20 16:03:42 -04:00
TriForMine
1801823fe6 docs(examples): fix typo in Bun usage note (#4382) 2025-08-18 13:22:40 +02:00
Fleny
83a075e64b docs: Add desired properties to examples (#4380) 2025-08-17 12:59:11 -07:00
Fleny
7d09a05ea1 docs: switch bigbot and caching guide position in docs (#4378) 2025-08-16 22:57:19 +05:30
Fleny
ca9f4fec10 docs: Include notice of strictNullChecks being required (#4267)
And also update deno example to use v21
2025-07-28 08:21:51 +02:00
Seren_Modz 21
0ab543d02e docs(env): update dotenv install command (#4261) 2025-07-24 10:53:34 +05:30
Seren_Modz 21
f9be7988f2 refactor: use dotenv/config instead of calling the function manually (#4258)
Signed-off-by: Seren_Modz 21 <seren@kings-world.net>
2025-07-20 18:53:43 +02:00
Brian Gates
c4d6a0755a fix(website): Grammar fix (#4220) 2025-06-12 16:42:03 +02:00
Fleny
ef5cf54c66 fix(bot): Use an object to present desired properties errors (#4208)
* Use DesiredPropertiesError instead of strings

Using an object allows typescript to error in more cases as with strings
if the original propriety was a string it would not error for stuff like
`.endsWith(...)`

We use a symbol to make sure the type doesn't actually become a generic
object, but instead is a specific type that can be checked against.

* Update docs
2025-06-01 08:20:16 +02:00
8au
a62fb5e17b fix(gateway): remove 'offline' status from DiscordUpdatePresence, as Discord only supports 'invisible' and not 'offline' (#4205)
* fix: the 'color' type on role is set to 'undefined' when its value is '0'

* fix: ensure role color is correctly assigned when value is 0

* fix: revert color type change

* fix(docs): fixed typo in big bot guide

* fix(gateway): fixed an issue which would cause bot status to appear as online if the user used 'offline' as the status

* Update settings.json

* remove offline status in DiscordUpdatePresence.status

* Apply suggestions from code review

---------

Co-authored-by: Awesome Stickz <awesome@stickz.dev>
2025-05-26 10:10:11 +05:30
Awesome Stickz
31dcf78ec5 docs: add warning for better handling of dispatch events to avoid rate limits (#4188) 2025-05-03 13:56:23 +02:00
Music Maker
280b6f4b74 fix: Typos in rest server setup (#4134) 2025-02-20 13:00:45 +05:30
Fleny
0059056d77 Use as instead of specifying the generic (#4111) 2025-01-31 17:58:58 +01:00
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