Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add commands plugin page #1018

Merged
merged 92 commits into from
Nov 17, 2024
Merged
Show file tree
Hide file tree
Changes from 13 commits
Commits
Show all changes
92 commits
Select commit Hold shift + click to select a range
1705dd8
Draft commands plugin page
KnorpelSenf Mar 21, 2024
3ae0dba
Update site/docs/plugins/commands.md
KnorpelSenf Mar 22, 2024
dbf4955
Merge branch 'main' into commands-plugin
KnorpelSenf Mar 22, 2024
8f1736f
feat: add complete docs for command plugin
roziscoding Apr 27, 2024
bda0e07
Merge remote-tracking branch 'origin/main' into commands-plugin
roziscoding Apr 27, 2024
8ef037b
chore: deno fmt
roziscoding Apr 27, 2024
baad642
fix: broken link
roziscoding Apr 27, 2024
1901b7a
feat: add commands plugin page to navigation menu
roziscoding Apr 27, 2024
cd12907
Add grammy_commands to modules.json
quadratz Apr 28, 2024
3cc79c6
Apply suggestions from code review
roziscoding Apr 29, 2024
8e78422
Apply suggestions from code review
roziscoding Apr 29, 2024
c5b62b8
- restructure read flow to focus first on a full working example
carafelix Jun 18, 2024
1fd817d
- reduce example length about LanguageCode utility obj
carafelix Jun 18, 2024
fb7ee75
- add note on upperCased command names
carafelix Jun 18, 2024
5099a4a
- add section for improving file structure related to command organiz…
carafelix Jun 20, 2024
4e3c5c7
remove repetitio
carafelix Jun 20, 2024
67b0b0b
change txt to tip
carafelix Jun 23, 2024
9f79cbf
Merge branch 'main' into commands-plugin
LWJerri Jul 20, 2024
1280c04
- update Commands class name onto CommandGroup
carafelix Jul 24, 2024
8a6f458
add starting point example for usage with i18n
carafelix Jul 24, 2024
39fe557
Merge branch 'main' into commands-plugin
roziscoding Aug 25, 2024
26f56d1
Apply suggestions from code review
carafelix Aug 25, 2024
3868e5c
chore: deno fmt
roziscoding Aug 25, 2024
ddf8fe6
fix tip block
carafelix Aug 25, 2024
a14eeda
fix more tip blocks
carafelix Aug 25, 2024
f28e514
fix danger block
carafelix Aug 29, 2024
7fb17c1
add section for importing Commands into a CommandGroup
carafelix Aug 29, 2024
090b5c9
add a little newline into the command grouping section
carafelix Aug 29, 2024
5ccc2b7
add forgotten personal pronoun
carafelix Aug 29, 2024
bd55f73
improve clarity related to the context enforcement in commandGroups a…
carafelix Aug 29, 2024
4707511
add tip block regarding that a Command by it's own, one that is not r…
carafelix Aug 30, 2024
54620d5
Merge branch 'main' into commands-plugin
KnorpelSenf Sep 11, 2024
3c27620
Merge branch 'main' into commands-plugin
roziscoding Sep 12, 2024
7404975
Merge branch 'main' into commands-plugin
carafelix Sep 16, 2024
24e2aac
feat: address review suggestions
roziscoding Oct 15, 2024
73dbf02
feat: add a title to every note
roziscoding Oct 15, 2024
fa5df22
chore: fix lint errors
roziscoding Oct 15, 2024
bd6ce07
fix new linter errors
roziscoding Oct 15, 2024
894b07b
Merge branch 'main' into commands-plugin
KnorpelSenf Oct 15, 2024
3a52bdd
update section title
roziscoding Oct 15, 2024
24399c0
Merge branch 'main' into commands-plugin
KnorpelSenf Oct 15, 2024
87876e7
Delete accidentally committed package-lock.json
KnorpelSenf Oct 16, 2024
d5592b7
Fix formatting of suggestion
KnorpelSenf Oct 16, 2024
19c6187
update code blocks to remote types.d.ts
roziscoding Oct 16, 2024
fdaf345
style: align formatting
KnorpelSenf Oct 16, 2024
f0e2ef8
fix: bad heroku links
KnorpelSenf Oct 16, 2024
ca5e99f
apply a few nitpick changes
roziscoding Oct 17, 2024
24b59ae
make links more uniform
KnorpelSenf Oct 19, 2024
8527204
Merge branch 'main' into commands-plugin
KnorpelSenf Oct 26, 2024
a6f0d36
fix cre lib reference
roziscoding Oct 31, 2024
40f94a5
Merge branch 'main' into commands-plugin
KnorpelSenf Oct 31, 2024
9c9037a
add missing commas
roziscoding Oct 31, 2024
90d9ba1
fix phrasing and typos
roziscoding Oct 31, 2024
8598028
Fix links
KnorpelSenf Oct 31, 2024
2bb1f18
update text about imports
roziscoding Nov 1, 2024
ea9e8bf
sync Russian
MasedMSD Nov 1, 2024
367a5ba
fix fmt & link
MasedMSD Nov 1, 2024
61b635f
Add Spanish
habemuscode Nov 1, 2024
06727dd
fix command name
roziscoding Nov 1, 2024
577af04
fix my braincells :clown:
MasedMSD Nov 2, 2024
3fb8978
sync to Ukrainian
niusia-ua Nov 2, 2024
d90e1cd
Sync changes to Indonesian
quadratz Nov 3, 2024
8e38d08
id: fix anchor
quadratz Nov 3, 2024
1510b80
id: fix typo
quadratz Nov 3, 2024
6bef3cf
Merge branch 'main' into commands-plugin
quadratz Nov 3, 2024
c269cdc
remove the untranslated text
niusia-ua Nov 3, 2024
2785d95
Update site/docs/uk/plugins/commands.md
niusia-ua Nov 3, 2024
c168845
Merge branch 'main' into commands-plugin
LWJerri Nov 4, 2024
92e169a
Fix link
habemuscode Nov 5, 2024
6336d95
Merge branch 'main' into commands-plugin
habemuscode Nov 5, 2024
afa9159
Apply suggestions from code review
niusia-ua Nov 5, 2024
06ccc22
Merge branch 'main' into commands-plugin
KnorpelSenf Nov 6, 2024
708e7a9
Merge branch 'main' into commands-plugin
KnorpelSenf Nov 6, 2024
2bfe2c8
Apply suggestions from code review
carafelix Nov 10, 2024
a72534d
fix: change order of registration for `.addToScope` examples
carafelix Nov 10, 2024
db0d40a
Apply suggestions from code review
carafelix Nov 10, 2024
e13a321
fix: remove unnecessary .env insinuation, improve command descriptions
carafelix Nov 10, 2024
1c2ab14
sync to last English version
MasedMSD Nov 11, 2024
7cf1355
forgot about typings in example 🤡
MasedMSD Nov 11, 2024
9f7315f
Fix fmt
MasedMSD Nov 11, 2024
8bdf253
sync zh #1018
Nov 12, 2024
d7801f9
Merge branch 'main' into commands-plugin
KnorpelSenf Nov 13, 2024
5a55ae4
Revert "fix: remove unnecessary .env insinuation, improve command de…
KnorpelSenf Nov 13, 2024
e17f974
Revert "fix: change order of registration for `.addToScope` examples"
KnorpelSenf Nov 13, 2024
8794f71
Translate db0d40ab9ba324ac7fb9b37a2df15d38a133ee0f
KnorpelSenf Nov 13, 2024
448b8ae
unsync Russian
MasedMSD Nov 13, 2024
7d00d75
Merge branch 'commands-plugin' of https://github.com/grammyjs/website…
MasedMSD Nov 13, 2024
6e8855f
Revert "Apply suggestions from code review"
carafelix Nov 13, 2024
229b4b3
Merge branch 'main' into commands-plugin
KnorpelSenf Nov 14, 2024
b12002d
命令 -> 指令
Nov 14, 2024
10711f5
fix anchor
Nov 14, 2024
fc19041
fix links
KnorpelSenf Nov 13, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions package-lock.json
roziscoding marked this conversation as resolved.
Show resolved Hide resolved

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions site/docs/.vitepress/configs/locales/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,12 @@ const pluginOfficial = {
// do not add the following line to translations:
activeMatch: "^(/plugins/chat-members|/ref/chat-members/)$",
},
{
text: "Commands (commands)",
link: "/plugins/commands",
// do not add the following line to translations:
activeMatch: "^(/plugins/commands|/ref/commands/)$",
},
],
};

Expand Down
3 changes: 2 additions & 1 deletion site/docs/.vitepress/plugins/current-versions/modules.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"grammy_storages",
"grammy_conversations",
"grammy_autoquote",
"grammy_i18n"
"grammy_i18n",
"grammy_commands"
]
}
Loading
Loading