1.1.3 • Published 3 years ago

bridgecross v1.1.3

Weekly downloads
3
License
GPL-3.0-or-later
Repository
github
Last release
3 years ago

Welcome to bridgecross 👋

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 bridgecross

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.
bridgecross