mirror of
https://github.com/xHyroM/bun-discord-bot.git
synced 2024-11-10 01:08:07 +01:00
docs: new way for tags
This commit is contained in:
parent
200dd5a665
commit
d08964c2cf
1 changed files with 12 additions and 9 deletions
21
README.md
21
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](<https://bun.sh>)`
|
||||
- Keywords need to include the tag name
|
||||
- Use `+++` for codeblock (https://canary.discord.com/channels/876711213126520882/887787428973281300/997045766411530281)
|
Loading…
Reference in a new issue