{"id":23280313,"url":"https://github.com/tehgm/telecord","last_synced_at":"2026-04-28T11:06:12.352Z","repository":{"id":52817645,"uuid":"359093000","full_name":"TehGM/Telecord","owner":"TehGM","description":"A simple .NET 5 bot for bridging messages between Telegram and Discord","archived":false,"fork":false,"pushed_at":"2021-04-18T09:08:11.000Z","size":37,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-12T19:45:46.573Z","etag":null,"topics":["bridge","discord","discord-bot","discord-net","relay","telegram","telegram-bot"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TehGM.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"TehGM","patreon":"tehgmdev","custom":["https://www.buymeacoffee.com/TehGM"]}},"created_at":"2021-04-18T08:58:44.000Z","updated_at":"2021-04-20T15:12:07.000Z","dependencies_parsed_at":"2022-08-17T15:10:40.990Z","dependency_job_id":null,"html_url":"https://github.com/TehGM/Telecord","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TehGM%2FTelecord","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TehGM%2FTelecord/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TehGM%2FTelecord/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TehGM%2FTelecord/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TehGM","download_url":"https://codeload.github.com/TehGM/Telecord/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247488283,"owners_count":20946913,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bridge","discord","discord-bot","discord-net","relay","telegram","telegram-bot"],"created_at":"2024-12-19T23:32:01.005Z","updated_at":"2026-04-28T11:06:12.340Z","avatar_url":"https://github.com/TehGM.png","language":"C#","funding_links":["https://github.com/sponsors/TehGM","https://patreon.com/tehgmdev","https://www.buymeacoffee.com/TehGM"],"categories":[],"sub_categories":[],"readme":"# Telecord - a Telegram and Discord bridge bot\n[![GitHub top language](https://img.shields.io/github/languages/top/TehGM/Telecord)](https://github.com/TehGM/Telecord) [![GitHub](https://img.shields.io/github/license/TehGM/Telecord)](LICENSE) [![GitHub Workflow Status](https://img.shields.io/github/workflow/status/TehGM/Telecord/.NET%20Build)](https://github.com/TehGM/Telecord/actions) [![GitHub issues](https://img.shields.io/github/issues/TehGM/Telecord)](https://github.com/TehGM/Telecord/issues)\n\nA simple and configurable .NET 5 bot for bridging messages between Telegram and Discord channels.\n\n\n## Configuration\n### Tokens\nThe bot needs bot tokens for both Discord and Telegram. You can create them on [Discord Developer Portal](https://discord.com/developers/applications) and by messaging `@BotFather` on Telegram.  \nOne tokens are generated, insert them into a new `appsecrets.json` file (recommended) or existing [`appsettings.json`](Telecord/appsettings.json) (insecure). The example appsecrets file can be seen here: [appsecrets-example.json](Telecord/appsecrets-example.json).\n\n### Telegram privacy mode\nYou need to contact `@BotFather` to disable privacy mode for your bot if you want to bridge messages from Telegram to Discord.\n\n### Bridge Links\nYou need to configure your bridge links. Bridge configurations are JSON objects inside `Links` array inside of `Bridges` category. See [appsettings.json](Telecord/appsettings.json) for example.\n\n`DiscordChannelID` and `TelegramChannelID` are mandatory, and represent Discord Channel ID, and Telegram Chat ID respectively.  \n`Direction` sets what direction the link will function. `ToTelegram` bridges Discord -\u003e Telegram, `ToDiscord` bridges Telegram -\u003e Discord, and `Bidirectional` bridges both ways. This value is optional - if not provided, will default to `Bidirectional`.\n\n### Logging\nThis bot uses [Serilog](https://serilog.net/) library to do logging, along with [Serilog.Settings.Configuration](https://github.com/serilog/serilog-settings-configuration) for configuration with [appsettings.json](Telecord/appsettings.json) file.\n\n\n## Usage\n### Requirements\nAn installed [.NET 5 SDK](https://dotnet.microsoft.com/download/dotnet/5.0) is required for building. Running requires Runtime, which is also included in SDK.\n\n### Building\nRun `dotnet build` and `dotnet publish` commands in the repository root folder.\n\n### Running\nOnce compiled and published, run using `dotnet Telecord.dll` command in the published files folder.\n\n\n## License\nCopyright (c) 2021 TehGM\n\nLicensed under [GNU Affero General Public License v3.0](LICENSE) (GNU AGPL-3.0).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftehgm%2Ftelecord","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftehgm%2Ftelecord","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftehgm%2Ftelecord/lists"}