Skip to content

Commit

Permalink
letter case fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kotru21 committed Jul 3, 2023
1 parent 1557a92 commit 15d7f3b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bot.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ dotenv.config();
//command imports
import Fact from "./commands/Fact.js";
import Menu from "./commands/Menu.js";
import MessageLike from "./util/MessageLike.js";
import messageLike from "./util/messageLike.js";
import rateLimit from "telegraf-ratelimit";

//setup database
Expand All @@ -25,7 +25,7 @@ const limitConfig = {
const apiKey = process.env.API_KEY;
const bot = new Telegraf(apiKey);
bot.use(rateLimit(limitConfig));
bot.use(Fact, Menu, MessageLike);
bot.use(Fact, Menu, messageLike);
bot.start((ctx) => ctx.reply("Крч, я написал это на Node за 1 ночь, да. Чекк /menu"));

// bot.action("btn-2", (ctx) => {
Expand Down

0 comments on commit 15d7f3b

Please sign in to comment.