bridgecross

1.1.3 • Public • Published

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 variable type value
TELEGRAM_BOT_TOKEN string You can get this by speaking with @BotFather on telegram and creating a new bot.
DISCORD_TOKEN string The 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_ID string The ChatId of the telegram group you want to bridge.
DISCORD_CHANNEL_ID string The Discord ChannelId of the channel you want to bridge.
webhook_id and webhook_token string Those 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

Package Sidebar

Install

npm i bridgecross

Weekly Downloads

0

Version

1.1.3

License

GPL-3.0-or-later

Unpacked Size

48.1 kB

Total Files

7

Last publish

Collaborators

  • daaniiieel