From d08964c2cf9eb504b98774f8c38018a51156939d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jozef=20Steinh=C3=BCbl=20=28xHyroM=29?= Date: Tue, 19 Sep 2023 15:45:36 +0200 Subject: [PATCH] docs: new way for tags --- README.md | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 73106e6..cd60b85 100644 --- a/README.md +++ b/README.md @@ -2,19 +2,22 @@ Official serverless discord bot for [bun](https://bun.sh/) [discord server](https://bun.sh/discord) ## Contributing tags -To create a new tag, you need to fork this repository and edit `tags.toml` file +To create a new tag, you need to fork this repository and add new file to `data/tags/name.md` file Format: -```toml -[example-tag] -keywords = ["example", "tag"] -content = """ -I love bun ❤️ -""" +```md +--- +question: Question question question? +keywords: + - "keyword1" + - "keyword2" +--- + +comment 1 +comment 2 +comment 3 ``` Informations: - The bot uses interactions so you can use emoji from all discord servers. However, please only use ours as we can't control the others. - You can use hyperlink `[bun.sh]()` -- Keywords need to include the tag name -- Use `+++` for codeblock (https://canary.discord.com/channels/876711213126520882/887787428973281300/997045766411530281) \ No newline at end of file