Code Monkey home page Code Monkey logo

Comments (4)

Simpleboy353 avatar Simpleboy353 commented on August 22, 2024

You can add it your self, just do two things:

/**
* add options as mentionable
* replace message with interaction
*/
module.exports = {
    name: "hack",
    description: "hack command",
    options: [
        {
            name: "user",
            description: "User to hack!",
            type: "MENTIONABLE",
            required: true
        }
    ],
    run: async(client, interaction, args) => {
    const target = await interaction.options.getMentionable("user"); // Mentioned User
    // Continue the command here.
    }
}

Same applies to other commands. Just change the options accordingly. If you want no options or want the command to take no input, just do

options: null

from reaper-2.0.

NotMinhDucGamingTV avatar NotMinhDucGamingTV commented on August 22, 2024

Copied the original cmd then edited like uou said and it just go bruhhh

from reaper-2.0.

NotMinhDucGamingTV avatar NotMinhDucGamingTV commented on August 22, 2024

if i copy+ paste the orginal command and it have:
if (!args[0]) {
return message.channel.send(
"Woah.... Slow Down!! Who are we hacking..??"
);
}
const tohack = message.mentions.members.first();
let msg = await message.channel.send(Hacking ${tohack.displayName}....);

let time = "1s";
setTimeout(function () {
  msg.edit(`Finding ${tohack.displayName}'s Email and Password.....`);
}, ms(time));

let time1 = "6s";
setTimeout(function () {
  msg.edit(`E-Mail: ${tohack.displayName}@gmail.com \nPassword: ********`);
}, ms(time1));

let time2 = "9s";
setTimeout(function () {
  msg.edit("Finding Other Accounts.....");
}, ms(time2));

let time3 = "15s";
setTimeout(function () {
  msg.edit("Setting up Epic Games Account.....");
}, ms(time3));

let time4 = "21s";
setTimeout(function () {
  msg.edit("Hacking Epic Games Account......");
}, ms(time4));

let time5 = "28s";
setTimeout(function () {
  msg.edit("Hacked Epic Games Account!!");
}, ms(time5));

let time6 = "31s";
setTimeout(function () {
  msg.edit("Collecting Info.....");
}, ms(time6));

let time7 = "38s";
setTimeout(function () {
  msg.edit("Selling data to FBI....");
}, ms(time7));

let time8 = "41s";
setTimeout(function () {
  msg.edit(`Finished Hacking ${tohack.displayName}`);
}, ms(time8));

},
i need to replace the message right?

from reaper-2.0.

NotMinhDucGamingTV avatar NotMinhDucGamingTV commented on August 22, 2024

ok,it work out.thank again

from reaper-2.0.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.