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

#1142 but only contain the fixes #1189

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
3 changes: 2 additions & 1 deletion site/docs/plugins/commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,8 @@ export const bot = new Bot<MyContext>(""); // <-- put your bot token between the
bot.use(commands());

bot.use(userCommands);
bot.filter((ctx) => ctx.from?.id == `${/** Put your ID here **/}`).use(devCommands);
bot.filter((ctx) => ctx.from?.id == `${/** Put your ID here **/}`)
.use(devCommands);
```

```ts [types.ts]
Expand Down
Loading