Advertisement
BETAlwrd

Bigo

Jun 9th, 2025
358
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="";
  4. const bigo_cha_1_nitro="";
  5. const bigo_cha_2_boost="";
  6. bigo_bot.on('ready', async () => {
  7.  
  8.  
  9.     const bigo_emb = {
  10.         title: 'اختر من القائمة:',
  11.         image: {
  12.             url: 'https://media.discordapp.net/attachments/1376436257277743104/1381647964023291985/Screenshot_2.png'
  13.         },
  14.         color: 0x000000
  15.     };
  16.  
  17.     const bigo_row_1 = {
  18.         type: 3,
  19.         custom_id: 'options_menu',
  20.         placeholder: 'اختر لمعرفة السعر',
  21.         options: [
  22.             {
  23.                 label: 'نـيـتـرو قـيـمـنـق',
  24.                 description: 'اضغط لمعرفة اسعار النيتروهات',
  25.                 value: 'bigo_nitr'
  26.             }
  27.         ]
  28.     };
  29.     const bigo_row_2 = {
  30.         type: 3,
  31.         custom_id: 'options_menu',
  32.         placeholder: 'اختر لمعرفة السعر',
  33.         options: [
  34.             {
  35.                 label: 'سـيـرفــر بـوسـت',
  36.                 description: 'اضغط لمعرفة اسعار البوستات',
  37.                 value: 'bigo_boss'
  38.             }
  39.         ]
  40.     };
  41.  
  42.     const bigo_row_nitro_1 = {
  43.         type: 1,
  44.         components: [bigo_row_1]
  45.     };
  46.     const bigo_row_boost_2 = {
  47.         type: 1,
  48.         components: [bigo_row_2]
  49.     };
  50.  
  51.  
  52.  
  53. (await bigo_bot.channels.fetch(bigo_cha_1_nitro))?.send({embeds: [bigo_emb],components: [bigo_row_nitro_1]}).catch(() => console.error("room id plz"));  
  54. (await bigo_bot.channels.fetch(bigo_cha_2_boost))?.send({embeds: [bigo_emb],components: [bigo_row_boost_2]}).catch(() => console.error("room id plz"));  
  55.  
  56. });
  57.  
  58. bigo_bot.on('interactionCreate', async (interaction) => {
  59.     if (!interaction.isStringSelectMenu()) return;
  60.     if (interaction.customId !== 'options_menu') return;
  61.     let bigo_emb_1;
  62.     switch (interaction.values[0]) {
  63.         case 'bigo_nitr':
  64.             bigo_emb_1 = {
  65.                 title: 'نـيـتـرو قـيـمـنـق',
  66.                 description: 'شهر قيفت: xx$\nسنه قيفت: xx$',
  67.                 image: {
  68.                     url: 'https://media.discordapp.net/attachments/1376436257277743104/1381647964023291985/Screenshot_2.png'
  69.                 },
  70.                 color: 0x000000
  71.             };
  72.             break;
  73.  
  74.         case 'bigo_boss':
  75.             bigo_emb_1 = {
  76.                 title: 'سـيـرفــر بـوسـت',
  77.                 description: '14 بوست شهر: xx$\n14 بوست 3 شهور: xx$',
  78.                 image: {
  79.                     url: 'https://media.discordapp.net/attachments/1376436257277743104/1381647964023291985/Screenshot_2.png'
  80.                 },
  81.                 color: 0x000000
  82.             };
  83.             break;
  84.     }
  85.  
  86.     await interaction.reply({
  87.         embeds: [bigo_emb_1],
  88.         ephemeral: true
  89.     });
  90. });
  91.  
  92. bigo_bot.login(bigo_tok).then(() => console.log("BIGO -"+bigo_bot.user.tag)).catch(e => console.error(e));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement