dtb
discord-telegram-bridge
npm i discord-telegram-bridge
dtb

discord-telegram-bridge

A simple, small and fast discord to telegram bridge written in node.js

by daaniiieel

1.1.3 (see all)License:GPL-3.0-or-laterTypeScript:Not Found
npm i discord-telegram-bridge
Readme

Welcome to discord-telegram-bridge 👋

Version Documentation Maintenance License: GPL--3.0--or--later

A simple, small and fast discord to telegram bridge written in node.js

Install

npm install -g discord-telegram-bridge

Usage

  • Create a Discord bot.

  • Create a Telegram bot by talking to botFather IMPORTANT: Make the bot an admin in your group, or go to BotFather -> bot settings and disable private mode.

  • Create a Discord webhook. You can do this by going to Server settings -> Webhooks. Copy the URL, you'll need it later.

If you want to run it on heroku, you can just click the button below.

Deploy

  • Set env variables:
Env variabletypevalue
TELEGRAM_BOT_TOKENstringYou can get this by speaking with @BotFather on telegram and creating a new bot.
DISCORD_TOKENstringThe bot token for your Discord application. Create a new app at the Discord Developer Portal , go to the bot section, click on Create a bot and copy the bot token it gives to you.
TELEGRAM_CHAT_IDstringThe ChatId of the telegram group you want to bridge.
DISCORD_CHANNEL_IDstringThe Discord ChannelId of the channel you want to bridge.
webhook_id and webhook_tokenstringThose are part of the webhook URL you copied. webhook_id is a 18 characters long int, webhook_token is a ~70 chars long randomly generated string. Those are seperated by slashes in the url.
discord-telegram-bridge

Downloads/wk

26

GitHub Stars

11

LAST COMMIT

1yr ago

MAINTAINERS

1

CONTRIBUTORS

2

OPEN ISSUES

3

OPEN PRs

0
VersionTagPublished
1.1.3
latest
2yrs ago
No alternatives found
No tutorials found
Add a tutorial