Skip to content

Commit

Permalink
docs: fix type not being passed to commandGroups
Browse files Browse the repository at this point in the history
  • Loading branch information
carafelix authored Feb 4, 2025
1 parent c07981c commit 65307d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions site/docs/plugins/commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,8 @@ const bot = new Bot<MyContext>(""); // <-- put your bot token between the "" (ht
// Register the context shortcut
bot.use(commands());

const loggedOutCommands = new CommandGroup();
const loggedInCommands = new CommandGroup();
const loggedOutCommands = new CommandGroup<MyContext>();
const loggedInCommands = new CommandGroup<MyContext>();

loggedOutCommands.command(
"login",
Expand Down

0 comments on commit 65307d3

Please sign in to comment.