Skip to content
This repository was archived by the owner on Apr 13, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions services/nodecg-io-telegram/extension/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
import { NodeCG } from "nodecg-types/types/server";
import { Result, emptySuccess, success, ServiceBundle, Logger } from "nodecg-io-core";

// Disable automatic promise cancellation
// Check https://github.com/yagop/node-telegram-bot-api/issues/319 for more information about this
process.env.NTBA_FIX_319 = "1";
import TelegramBot = require("node-telegram-bot-api");

interface TelegramServiceConfig {
Expand Down