Advertisement
BETAlwrd

Untitled

Jun 9th, 2025 (edited)
648
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. const {Client} = require('discord.js');
  2. const bigo_bot=new Client({intents: [1, 512, 32768]});
  3. const bigo_tok="token";// هنا حط توكن
  4. const bigo_cha="roomid";// هنا حط ايدي الروم
  5. bigo_bot.on('ready', async () => {
  6.     const bigo_emb = {
  7.         title: 'اختر من القائمة:',
  8.         image: {
  9.             url: 'https://media.discordapp.net/attachments/1376436257277743104/1381647964023291985/Screenshot_2.png'// هنا تكدر تبدل الصوره مالت الايمبد
  10.         },
  11.         color: 0x000000
  12.     };
  13.  
  14.     const bigo_row_1 = {
  15.         type: 3,
  16.         custom_id: 'options_menu',
  17.         placeholder: 'اختر لمعرفة السعر',
  18.         options: [
  19.             {
  20.                 label: 'نـيـتـرو قـيـمـنـق',
  21.                 description: 'اضغط لمعرفة اسعار النيتروهات',
  22.                 value: '_bigo_nitro'
  23.             },
  24.             {
  25.                 label: 'سـيـرفــر بـوسـت',
  26.                 description: 'اضغط لمعرفة اسعار البوستات',
  27.                 value: '_bigo_boost'
  28.             }
  29.         ]
  30.     };
  31.  
  32.     const bigo_row = {
  33.         type: 1,
  34.         components: [bigo_row_1]
  35.     };
  36.  
  37.  
  38. (await bigo_bot.channels.fetch(bigo_cha))?.send({embeds: [bigo_emb],components: [bigo_row]}).catch(() => console.error("room id plz"));  
  39.  
  40. });
  41.  
  42. bigo_bot.on('interactionCreate', async (interaction) => {
  43.     if (!interaction.isStringSelectMenu()) return;
  44.     if (interaction.customId !== 'options_menu') return;
  45.     let bigo_emb_1;
  46.     switch (interaction.values[0]) {
  47.         case '_bigo_nitro':
  48.             bigo_emb_1 = {
  49.                 title: 'نـيـتـرو قـيـمـنـق',
  50.                 description: 'شهر قيفت: xx$\nسنه قيفت: xx$',
  51.                 image: {
  52.                     url: 'https://media.discordapp.net/attachments/1376436257277743104/1381647964023291985/Screenshot_2.png'// هنا تكدر تبدل صورة مكان النيترو
  53.                 },
  54.                 color: 0x000000
  55.             };
  56.             break;
  57.  
  58.         case '_bigo_boost':
  59.             bigo_emb_1 = {
  60.                 title: 'سـيـرفــر بـوسـت',
  61.                 description: '14 بوست شهر: xx$\n14 بوست 3 شهور: xx$',
  62.                 image: {
  63.                     url: 'https://media.discordapp.net/attachments/1376436257277743104/1381647964023291985/Screenshot_2.png'// هنا تكدر تبدل صورة مكان البوست
  64.                 },
  65.                 color: 0x000000
  66.             };
  67.             break;
  68.     }
  69.  
  70.     await interaction.reply({
  71.         embeds: [bigo_emb_1],
  72.         ephemeral: true
  73.     });
  74. });
  75.  
  76. bigo_bot.login(bigo_tok).then(() => console.log("BIGO -"+bigo_bot.user.tag)).catch(e => console.error(e));
Tags: BIGO
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement