Skip to content

Commit

Permalink
chore: usage example improves
Browse files Browse the repository at this point in the history
  • Loading branch information
kravetsone committed May 19, 2024
1 parent aff2da4 commit df510d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ A plugin for [GramIO](https://gramio.dev/) that provides [Prompt](#prompt) and w
import { Bot, format, bold } from "gramio";
import { prompt } from "@gramio/prompt";

const bot = new Bot(process.env.token!)
const bot = new Bot(process.env.TOKEN as string)
.extend(prompt())
.command("start", async (context) => {
const answer = await context.prompt(
Expand Down

0 comments on commit df510d7

Please sign in to comment.