Skip to content

Commit

Permalink
Update main.js
Browse files Browse the repository at this point in the history
  • Loading branch information
snagovskiy authored Nov 12, 2024
1 parent 8fddb1c commit c3a4f7e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ if (!token) throw new Error("BOT_TOKEN не установлен");

const bot = new Bot(token);

import { welcomeText } = from "./modules/constText.js";
import { menu } = from "./modules/menu.js";
import { welcomeText } from "./modules/constText.js";
import { menu } from "./modules/menu.js";

bot.api.setMyCommands([
{ command: "start", description: "Перезапустить бот" },
Expand Down

1 comment on commit c3a4f7e

@deno-deploy
Copy link
Contributor

@deno-deploy deno-deploy bot commented on c3a4f7e Nov 12, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Failed to deploy:

BOOT_FAILURE

Uncaught SyntaxError: The requested module './modules/menu.js' does not provide an export named 'menu'
    at file:///src/main.js:8:10

Please sign in to comment.