Code Monkey home page Code Monkey logo

discord-telegram-bridge's Introduction

Discord-Telegram-bridge

GitHub top language Maintenance GitHub code size in bytes GitHub package.json version badge count

A small and fast telegram to discord chat bridge, written in node

Setup:

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

Deploy

  • Clone the github repo

  • Execute npm install

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

  • Set env variables:

    TELEGRAM_BOT_TOKEN - you can get this by speaking with @BotFather on telegram and creating a new bot.

    DISCORD_TOKEN - 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 - The ChatId of the telegram group you want to bridge

    DISCORD_CHANNEL_ID - The Discord ChannelId of the channel you want to bridge

    webhook_id and webhook_token. 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.

  • Run npm start or node server.js and you're set!

discord-telegram-bridge's People

Contributors

aboutdavid avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.