Skip to content

Discord Channel شامل کریں

شروع کرنے سے پہلے کیا چاہیے

ضرورتمقصد
Discord accountserver، channel، اور developer application بنانے کے لیے۔
Discord serverbot کو channel تک access سے پہلے server join کرنا ہوگا۔
Text channelimages اور files اسی channel میں بھیجی جائیں گی۔
Discord Developer Portalapplication بنانے، bot بنانے، اور Bot Token لینے کے لیے۔

کہاں شامل کریں

  1. سسٹم سیٹنگز کھولیں۔
  2. اپ لوڈ سیٹنگز میں جائیں۔
  3. اوپر دائیں طرف چینل شامل کریں پر کلک کریں۔
  4. Discord منتخب کریں۔

فیلڈز کی تفصیل

فیلڈکامضروری
Channel nameاس channel کا واضح نام، مثلاً "Discord Primary"۔ضروری
Bot TokenDiscord bot token۔ضروری
Channel IDtarget text channel کی ID۔ضروری
Proxy URL (اختیاری)صرف اس وقت استعمال کریں جب Discord CDN access unstable ہو۔ مکمل URL درج کریں، https:// سمیت۔اختیاری

سیٹ اپ کے مراحل

1. Discord Server اور Text Channel بنائیں

  1. Discord کھولیں۔
  2. نیا server بنائیں، یا اپنی ownership والا موجودہ server استعمال کریں۔
  3. اسی server میں text channel بنائیں۔

server بنائیں

2. Discord Developer Portal میں Bot بنائیں

  1. Discord Developer Portal کھولیں: https://discord.com/developers/applications
  2. New Application پر کلک کریں۔
  3. application کا نام درج کریں اور بنائیں کریں۔
  4. left sidebar سے Bot صفحہ کھولیں۔
  5. Bot صفحہ پر token generate یا reset کریں۔
  6. token محفوظ کریں۔

یہ token ImgHost میں Bot Token کے طور پر درج کرنا ہے۔

View the bot token

  1. left sidebar سے OAuth2 صفحہ کھولیں۔
  2. scopes کے تحت bot منتخب کریں۔
  3. permission area میں یہ permissions فعال کریں:
اجازتضروری
View Channelsہاں
Send Messagesہاں
Attach Filesہاں
Read Message Historyہاں
  1. صفحہ کے نیچے تصدیق کریں کہ integration type Guild Install ہے۔
  2. بنایا گیا URL کاپی کریں۔
  3. اسے browser میں کھولیں۔
  4. target server منتخب کریں۔
  5. authorization flow مکمل کریں۔

Select bot permissions in OAuth2

Invite the bot to the channel

4. Developer Mode Enable کریں اور Channel ID کاپی کریں

  1. Discord کے نیچے بائیں corner میں avatar کے پاس gear icon پر کلک کریں۔
  2. left sidebar سے Advanced کھولیں۔
  3. Developer Mode فعال کریں۔
  4. target text channel پر واپس جائیں۔
  5. channel name پر right-click کریں۔
  6. کاپی Channel ID پر کلک کریں۔

کاپی کیا گیا number ImgHost کے لیے درکار Channel ID ہے۔

Enable developer mode

channel ID کاپی کریں

5. ImgHost میں Discord Channel بھریں

channel configuration dialog پر واپس آ کر فیلڈز یوں بھریں:

UI فیلڈقدر
Channel namecustom channel name، مثلاً DiscordPrimary۔
Bot TokenDiscord Developer Portal کے Bot صفحہ سے محفوظ token۔
Channel IDDiscord سے کاپی کی گئی channel ID۔
Proxy URL (اختیاری)صرف ضرورت ہو تو، مثلاً https://your-proxy.example.com.

کام مکمل ہو جائے تو Save پر کلک کریں۔

Discord چینل کی configuration شامل کریں

Verify کیسے کریں

جانچVerify کرنے کا طریقہ
چینل card ظاہر ہوتا ہےمحفوظ کرنے کے بعد اپ لوڈ سیٹنگز صفحہ پر Discord چینل card دکھائی دینا چاہیے۔
Channel can be فعالActive switch on رہنا چاہیے۔
configuration محفوظ ہےتفصیلی منظر میں Bot Token اور Channel ID محفوظ دکھنے چاہئیں۔
Upload کام کرتا ہےtest image upload کریں اور تصدیق کریں کہ وہ target Discord text channel میں آتی ہے۔

فوری چیک لسٹ

text
Create a Discord server
-> Create a text channel
-> Create a bot in the Discord Developer Portal
-> Save the Bot Token from the Bot page
-> In OAuth2, select bot, View Channels, Send Messages, Attach Files, and Read Message History
-> Copy the generated URL and authorize the bot for the target server
-> Make sure the target text channel grants the same permissions
-> Enable Developer Mode
-> Right-click the target text channel and copy the Channel ID
-> Enter the Bot Token and Channel ID in ImgHost
-> Save and upload a test image

حوالہ جات

  1. Discord Developers Getting Started: https://docs.discord.com/developers/quick-start/getting-started
  2. Discord Help - Where can I find my User/Server/Message ID: https://support.discord.com/hc/en-us/articles/206346498-Where-can-I-find-my-User-Server-Message-ID

Released as user documentation for ImgHost.