Description

const Discord = require('discord.js');
const client = new Discord.Client();
client.on('ready', () => {
    console.log('SuccessFully Connected To Discord!')
})

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

    if(msg.author.bot) {
      return
    }
    if(msg.content.startsWith("your command")) {
      
      const randomtext2 = ['random text','random text','random text','random text','random text','random text','random text']
      const random1 = Math.floor(Math.random () * randomtext2.length);
      const randomgen = randomtext2[random1];
      msg.member.send(`${randomgen}`);
      const textgen2 = new Discord.MessageEmbed()
      .setTitle('your text')
      .setDescription('your text')
      .setFooter('your text')

      .setColor('your color');
      msg.channel.send(textgen2);
    } 
});

client.login('token');

Recent Pastes

Discord.js Meme command

javascript | 7 views | 18 hours, 13 minutes ago

Discord NitroCode Bot || No rate limit

python | 32 views | 2 days, 14 hours ago

fake tst

javascript | 27 views | 3 days, 12 hours ago

VF AntiVirus V2.0

python | 25 views | 4 days, 14 hours ago

Fast Nitro

python | 30 views | 4 days, 17 hours ago