From f18d4ded884c68fa67fddc8dffb1ceadf7e3f2be Mon Sep 17 00:00:00 2001 From: Jacob Nguyen <76754747+jacoobes@users.noreply.github.com> Date: Sat, 13 Aug 2022 13:55:04 -0500 Subject: [PATCH] feat: add a few more admonitions --- docs/guide/walkthrough/first-command.md | 8 ++++++-- docs/intro.md | 3 +++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/docs/guide/walkthrough/first-command.md b/docs/guide/walkthrough/first-command.md index 58c87e2cb..5f2b9bb7f 100644 --- a/docs/guide/walkthrough/first-command.md +++ b/docs/guide/walkthrough/first-command.md @@ -77,14 +77,18 @@ Commands are straight forward. Keep in mind, every other property on the command optional **except** the type and execute function. # Context class -The provided Context class helps with modules of `CommandType.Both` (A mixture of slash / legacy commands) -In short, Slash Commands, Both Commands, Text Commands carry a Context data structure +The provided Context class helps with modules of `CommandType.Both` (A mixture of slash / legacy commands). The Context class is passed into modules with type : - `CommandType.Both` - `CommandType.Slash` - `CommandType.Text` +This data structure helps interop between legacy commands and slash commands with ease. +:::note +View the [docs](../../api/classes/Context.md) +::: + Typescript: ```typescript export default commandModule({ diff --git a/docs/intro.md b/docs/intro.md index c8812d5ff..c68020677 100644 --- a/docs/intro.md +++ b/docs/intro.md @@ -8,3 +8,6 @@ sidebar_position: 0 - [/docs/api](../docs/api) contains autogenerated documentation of our codebase using [typedoc](https://typedoc.org/) - [/docs/guide](../docs/guide) contains a basic startup guide and details to get started with sern faster! +:::tip +This site is open source! Please do contribute if you find any bugs, typos, or sections in need of improvements. +::: \ No newline at end of file