Skip to content

Commit

Permalink
Remove non used var
Browse files Browse the repository at this point in the history
  • Loading branch information
grunch committed May 16, 2024
1 parent f92599d commit f6096a6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion bot/start.ts
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,6 @@ const initialize = (botToken: string, options: Partial<Telegraf.Options<MainCont
if (!('message' in ctx.update) || !('text' in ctx.update.message)){
throw new Error(ctxUpdateAssertMsg);
}
const tgUser = ctx.update.message.from;

await validateUser(ctx, true);
await messages.startMessage(ctx);
Expand Down

0 comments on commit f6096a6

Please sign in to comment.