1.0.9 • Published 11 months ago

nicrom v1.0.9

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

NICROM

Nicrom is a powerful npm package which maker bot developemnt easier :)

⚙️ Installation

Does'nt Support v13

npm i nicrom@latest

✨ Features

  • Easy to use.
  • Simple.
  • Slash Commands Support.
  • Supports Discord.js v14.

📚 Usage

const { SlashCommandBuilder } = require('discord.js');
 const nicrom = require('nicrom');

module.exports = { 
    data: new SlashCommandBuilder() 
    .setName('nicrom') 
    .setDescription('Ch9ll!') 
    .addUserOption(option => option.setName('member').setDescription('The member you want to spoof').setRequired(true)) 
    .addStringOption(option => option.setName('message').setDescription('The message you want the member to say').setRequired(true))
    .addChannelOption(option => option.setName('channel').setDescription('The Message should be sent in').setRequired(true)),
    async execute (interaction) {

    const { options } = interaction;
    const member = await interaction.guild.members.cache.get(options.getUser('member').id);
    const message = options.getString('message');
    const channel = options.getChannel('channel');

    if (message.includes('@everyone') || message.includes('@here')) return await interaction.reply({ content: `You can't Bypass Prems .`, ephemeral: true });
    
    nicrom({ member: member, message: message, channel: channel, interaction: interaction, intmsg: true}).catch(async err => {
        await interaction.editReply({ content: `There was an error Tromb: \`${err}\``, ephemeral: true });
    })

}
}

❔ Support

1.0.9

11 months ago

1.0.8

11 months ago

1.0.7

11 months ago

1.0.6

11 months ago

1.0.5

11 months ago

1.0.4

11 months ago

1.0.3

11 months ago

1.0.2

11 months ago

1.0.1

11 months ago

1.0.0

11 months ago