Skip to content

Commit

Permalink
chore: Update to BOT API 6.5 (#42)
Browse files Browse the repository at this point in the history
* Update to BOT API 6.5

Details: https://t.me/BotNews/79
  • Loading branch information
SpEcHiDe authored Oct 4, 2023
1 parent 374876f commit 4f27267
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions import_map.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
"dotenv": "https://deno.land/[email protected]/dotenv/mod.ts",
"envalid": "https://deno.land/x/[email protected]/mod.ts",
"server": "https://deno.land/[email protected]/http/server.ts",
"grammy/": "https://deno.land/x/grammy@v1.14.1/",
"grammy/": "https://deno.land/x/grammy@v1.19.0/",
"mongo": "https://deno.land/x/[email protected]/mod.ts",
"autoQuote": "https://deno.land/x/[email protected]/mod.ts",
"hydrate": "https://deno.land/x/[email protected]/mod.ts",
"conversations": "https://deno.land/x/[email protected].1/mod.ts",
"conversations": "https://deno.land/x/[email protected].2/mod.ts",
"i18n": "https://deno.land/x/[email protected]/mod.ts",
"mongo_sessions": "https://deno.land/x/[email protected]/mongodb/src/mod.ts",
"language": "https://deno.land/x/[email protected]/mod.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/modules/chatJoins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ composer.on("chat_join_request", async (ctx) => {
// try to send a message
try {
await ctx.api.sendMessage(
update.from.id,
update.user_chat_id,
welcome,
);
} catch (error) {
Expand Down

1 comment on commit 4f27267

@deno-deploy
Copy link

@deno-deploy deno-deploy bot commented on 4f27267 Jul 6, 2024

Choose a reason for hiding this comment

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

Failed to deploy:

UNCAUGHT_EXCEPTION

PermissionDenied: 'Deno.exit' is not allowed in this context.
    at Object.exit (ext:deno_deploy/os.js:68:9)
    at defaultReporter (https://deno.land/x/[email protected]/reporter.ts:82:10)
    at getSanitizedEnv (https://deno.land/x/[email protected]/core.ts:103:3)
    at cleanEnv (https://deno.land/x/[email protected]/envalid.ts:19:19)
    at file:///src/env.ts:6:16
    at eventLoopTick (ext:core/01_core.js:168:7)

Please sign in to comment.