diff --git a/README.md b/README.md index cc79766..0ac7ae6 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ npm install @biscuitland/core yarn add @biscuitland/core ``` -for further reading join our [Discord](https://discord.gg/zmuvzzEFz2) +for further reading join our [Discord](https://discord.gg/zqtPgyaFpV) ## Most importantly, biscuit is: diff --git a/ROADMAP.md b/ROADMAP.md deleted file mode 100644 index e69de29..0000000 diff --git a/SECURITY.md b/SECURITY.md deleted file mode 100644 index e69de29..0000000 diff --git a/packages/api-types/README.md b/packages/api-types/README.md index c3c0efd..2d57d4c 100644 --- a/packages/api-types/README.md +++ b/packages/api-types/README.md @@ -12,7 +12,7 @@ npm install @biscuitland/api-types yarn add @biscuitland/api-types ``` -for further reading join our [Discord](https://discord.gg/zmuvzzEFz2) +for further reading join our [Discord](https://discord.gg/zqtPgyaFpV) ## Most importantly, api-types is: 1:1 type definitions package for the [Discord](https://discord.com/developers/docs/intro) API: diff --git a/packages/rest/README.md b/packages/rest/README.md index 2efc272..69488a9 100644 --- a/packages/rest/README.md +++ b/packages/rest/README.md @@ -11,7 +11,7 @@ npm install @biscuitland/rest yarn add @biscuitland/rest ``` -for further reading join our [Discord](https://discord.gg/zmuvzzEFz2) +for further reading join our [Discord](https://discord.gg/zqtPgyaFpV) ## Most importantly, biscuit's rest is: A standalone rest library that is yet easy to use and easy to host on a serverless infrastructure, it is meant to be used with biscuit's libraries. diff --git a/packages/ws/README.md b/packages/ws/README.md index ecd1400..97f5103 100644 --- a/packages/ws/README.md +++ b/packages/ws/README.md @@ -8,20 +8,20 @@ ## Install (for [node18](https://nodejs.org/en/download/)) ```sh-session -npm install @biscuitland/rest -yarn add @biscuitland/rest +npm install @biscuitland/ws +yarn add @biscuitland/ws ``` -for further reading join our [Discord](https://discord.gg/zmuvzzEFz2) +for further reading join our [Discord](https://discord.gg/zqtPgyaFpV) ## Most importantly, biscuit's ws is: A standalone gateway to interface Discord, it is meant to be used with a rest manager to send fetch requests to Discord ## Example (GW proxy) ```ts -import { DefaultWsAdapter } from "@biscuitland/ws" -import { DefaultRestAdapter } from "@biscuitland/rest" -import { GATEWAY_BOT, GatewayIntents } from "@biscuitland/api-types" +import { DefaultWsAdapter } from "@biscuitland/ws"; +import { DefaultRestAdapter } from "@biscuitland/rest"; +import { GATEWAY_BOT, GatewayIntents } from "@biscuitland/api-types"; const intents = GatewayIntents.Guilds | GatewayIntents.GuildMessages | GatewayIntents.MessageContent; @@ -59,10 +59,10 @@ const wsManager = new DefaultWsAdapter({ }, }); -wsManager.options.gatewayBot = config -wsManager.options.lastShardId = wsManager.options.gatewayBot.shards - 1 -wsManager.options.totalShards = wsManager.options.gatewayBot.shards -wsManager.agent.options.totalShards = wsManager.options.gatewayBot.shards +wsManager.options.gatewayBot = config; +wsManager.options.lastShardId = wsManager.options.gatewayBot.shards - 1; +wsManager.options.totalShards = wsManager.options.gatewayBot.shards; +wsManager.agent.options.totalShards = wsManager.options.gatewayBot.shards; // start a quick bot wsManager.shards();