Загрузка...

Please rate

Thread in Node.js created by Wikendi_inactive6612724 Feb 17, 2023. 194 views

  1. Wikendi_inactive6612724
    Wikendi_inactive6612724 Topic starter Feb 17, 2023 4 Feb 14, 2023
    Python
    ```

    const Discord = require('discord.js');

    const client = new Discord.Client();

    client.on('ready', () => {

    console.log('Ready!');

    });

    client.on('message', message => {

    // Ignore messages from bots

    if (message.author.bot) return;

    // Spam the user with random messages

    const spamMessages = [

    'Hey there!',

    'How are you?',

    'Have a great day!',

    'Hello!',

    'Hi!'

    ];

    const randomMessage = spamMessages[Math.floor(Math.random() * spamMessages.length)];

    message.channel.send(`${message.author}, ${randomMessage}`);

    });

    client.login(process.env.BOT_TOKEN); // Replace BOT_TOKEN with your bot's token ```
     
    1. greemlock3piece
  2. SnysovayaLisa
    SnysovayaLisa Feb 17, 2023 Banned 315 Aug 31, 2022
    Буквы вроде красивые, но текста многа 6/10 :smile:
     
  3. lol4
    lol4 Feb 17, 2023 605 Jul 19, 2019
    :finger_up:
     
    1. View previous comments (1)
    2. Wikendi_inactive6612724 Topic starter
      lol4, почему не в том разделе
  4. BestChange
    BestChange Feb 17, 2023 :bitcoin: обменять - lolz.live/threads/4534742/ 13,608 May 13, 2019
    с днем рождения, успехов, ты молодец!
    [IMG]
     
Loading...
Top