A Node.js application that listens to messages (and attachments) in a specific Discord channel and forwards them to another channel. Built with discord.js-selfbot-v13.
- Real-time message monitoring from a source channel.
- Forwards message content and author info to a target channel.
- Forwards attachments (images, videos, etc.) as links.
- Clone or download the project.
- Install the necessary packages via terminal:
```bash npm install ```
The project requires a config.json file to work. Create a file named config.json in the root directory and populate it as follows:
```json { "token": "YOUR_DISCORD_TOKEN", "targetGuildId": "TARGET_GUILD_ID", "targetChannelId": "TARGET_CHANNEL_ID", "sourceGuildId": "SOURCE_GUILD_ID", "sourceChannelId": "SOURCE_CHANNEL_ID" } ```
- token: Your personal Discord account token. (WARNING: Do not share this with anyone!)
- targetGuildId: ID of the server where messages will be sent.
- targetChannelId: ID of the channel where messages will be sent.
- sourceGuildId: ID of the server to listen to.
- sourceChannelId: ID of the channel to listen to.
After configuring, start the bot:
```bash node index.js ```
You will see Username is ready! in the console when it starts.
This project uses a Self-Bot (automating a user account). According to Discord Terms of Service (TOS), using self-bots is prohibited and may result in your account being banned. Use at your own risk.
Bu proje, belirli bir Discord kanalındaki mesajları (ve ekleri) dinleyen ve bunları başka bir kanala yönlendiren bir Node.js uygulamasıdır. discord.js-selfbot-v13 kütüphanesini kullanır.
- Belirtilen kaynak kanaldaki mesajları anlık olarak yakalar.
- Mesaj içeriğini ve gönderen bilgisini hedef kanala iletir.
- Resim, video gibi ekleri (link olarak) yönlendirir.
- Projeyi bilgisayarınıza indirin.
- Gerekli paketleri yüklemek için terminalde şu komutu çalıştırın:
```bash npm install ```
Projenin çalışması için config.json dosyasına ihtiyacı vardır. Ana dizinde config.json adında bir dosya oluşturun veya mevcut dosyayı aşağıdaki gibi düzenleyin:
```json { "token": "SENIN_DISCORD_TOKENIN", "targetGuildId": "HEDEF_SUNUCU_ID", "targetChannelId": "HEDEF_KANAL_ID", "sourceGuildId": "KAYNAK_SUNUCU_ID", "sourceChannelId": "KAYNAK_KANAL_ID" } ```
- token: Kendi Discord hesabınızın token'ı. (DİKKAT: Tokeninizi kimseyle paylaşmayın!)
- targetGuildId: Mesajların gönderileceği sunucunun ID'si.
- targetChannelId: Mesajların gönderileceği kanalın ID'si.
- sourceGuildId: Mesajların dinleneceği sunucunun ID'si.
- sourceChannelId: Mesajların dinleneceği kanalın ID'si.
Ayarları yaptıktan sonra botu başlatmak için:
```bash node index.js ```
Bot çalışmaya başladığında konsolda KullanıcıAdı is ready! şeklinde bir çıktı göreceksiniz.
Bu proje Self-Bot (Kullanıcı hesabı otomasyonu) kullanır. Discord Hizmet Koşulları'na (TOS) göre self-bot kullanımı yasaklanabilir veya hesabınızın kapatılmasına neden olabilir. Sorumluluk tamamen kullanıcıya aittir.