From df510d7976ee8802e3055812afb774805daafa46 Mon Sep 17 00:00:00 2001 From: Kravets <57632712+kravetsone@users.noreply.github.com> Date: Sun, 19 May 2024 20:11:37 +0300 Subject: [PATCH] chore: usage example improves --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7fd4cb4..bc0a1ae 100644 --- a/README.md +++ b/README.md @@ -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(