Selfbot that forwards your Discord messages to Telegram
Warning: Selfbots are against Discord's Terms of Service, use at your own risk!
-
Install node.js from https://nodejs.org/en/
Important: You should use version 16 or newer!
If your system doesn't have Node 16 (or newer), you can use Node Version Manager.
-
Clone this project via
git clone https://github.com/tapnisu/forwarding-discord-telegram.git
-
Create
.env
fileDISCORD_TOKEN=<YOUR_DISCORD_TOKEN> TELEGRAM_TOKEN=<YOUR_TELEGRAM_TOKEN> TELEGRAM_CHAT_ID=<YOUR_TELEGRAM_CHAT_ID>
-
Config your bot via
config.json
(insert your values){ "outputChannels": [], "mutedGuildsIds": [], "allowedGuildsIds": [], "mutedChannelsIds": [], "allowedChannelsIds": [], "allowedUsersIds": [], "mutedUsersIds": [], "channelConfigs": {}, "disableLinkPreview": false, "imagesAsMedia": false, "showDate": true, "showChat": true, "stackMessages": false }
-
Install dependencies via
npm i
/yarn
/pnpm i
-
Build bot via
npm build
/yarn build
/pnpm build
-
Run bot via
npm start
/yarn start
/pnpm start
Built using discord.js-selfbot-v13, Grammy and TypeScript