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

Fix typos introduced by #1018 #1142

Draft
wants to merge 73 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
73 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
3fd4d0a
Sync @niusia-ua suggestions
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
899ec90
Merge branch 'commands-plugin' into fix-commands-plugin
KnorpelSenf Nov 3, 2024
c168845
Merge branch 'main' into commands-plugin
LWJerri Nov 4, 2024
1b12b9d
include the commands plugin in the table on the plugins' overview page
niusia-ua Nov 4, 2024
38aa286
fix
quadratz Nov 3, 2024
70d351d
Merge branch 'commands-plugin' into fix-commands-plugin
quadratz Nov 4, 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 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
8 changes: 8 additions & 0 deletions site/docs/.vitepress/configs/locales/es.ts
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,14 @@ const pluginOfficial = {
text: "Modo de parsear (parse-mode)",
link: "/es/plugins/parse-mode",
},
{
text: "Miembros del chat (chat-members)",
link: "/es/plugins/chat-members",
},
{
text: "Comandos (commands)",
link: "/es/plugins/commands",
},
],
};

Expand Down
4 changes: 4 additions & 0 deletions site/docs/.vitepress/configs/locales/id.ts
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,10 @@ const pluginOfficial = {
text: "Chat Members (chat-members)",
link: "/id/plugins/chat-members",
},
{
text: "Perintah (commands)",
link: "/id/plugins/commands",
},
],
};
const pluginThirdparty = {
Expand Down
4 changes: 4 additions & 0 deletions site/docs/.vitepress/configs/locales/ru.ts
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,10 @@ const pluginOfficial = {
text: "Пользователи чата (chat-members)",
link: "/ru/plugins/chat-members",
},
{
text: "Команды (commands)",
link: "/ru/plugins/commands",
},
],
};

Expand Down
4 changes: 4 additions & 0 deletions site/docs/.vitepress/configs/locales/uk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,10 @@ const pluginOfficial = {
text: "Учасники чату (chat-members)",
link: "/uk/plugins/chat-members",
},
{
text: "Команди (commands)",
link: "/uk/plugins/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"
]
}
2 changes: 1 addition & 1 deletion site/docs/es/guide/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ Para poder ejecutar el archivo `bot.js`, tienes que tener instalado [Node.js](ht

En resumen, esto es lo que tienes que hacer para Node.js:

1. Crea un archivo fuente `bot.ts` con código TypeScript, por ejemplo usando [VS Code](https://code.visualstudio.com/) (o cualquier otro editor de código).
1. Crea un archivo fuente `bot.ts` con código TypeScript, por ejemplo usando [VS Code](https://code.visualstudio.com) (o cualquier otro editor de código).
2. Compila el código ejecutando un comando en tu terminal. Esto genera un archivo llamado `bot.js`.
3. Ejecuta `bot.js` usando Node.js, de nuevo desde tu terminal.

Expand Down
2 changes: 1 addition & 1 deletion site/docs/es/hosting/heroku.md
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ Si se ejecuta con éxito y no imprime ningún error, nuestros archivos compilado

### Configurar el `Procfile`

Por el momento, `Heroku` tiene varios [tipos de dynos](https://devcenter.heroku.com/articles/dyno-types).
Por el momento, `Heroku` tiene varios [tipos de dynos](https://devcenter.heroku.com/articles/dynos#use-cases).
Dos de ellos son:

- **Web dynos**:
Expand Down
Loading
Loading