Comments (4)
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.
Copied the original cmd then edited like uou said and it just go bruhhh
from reaper-2.0.
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.
ok,it work out.thank again
from reaper-2.0.
Related Issues (20)
- Make reaper 3.0 in djs v13.6.0 HOT 1
- TypeError: Cannot read properties of undefined (reading 'set') HOT 2
- The module better-sqlite3\build\Release\better_sqlite3.node' was compiled against a different Node.js
- [Question] How do you see what servers the bot is in???? HOT 1
- Can someone help? HOT 2
- Issue starting up bot | Syntax Error: Invalid or unexpected token HOT 5
- Error: Disallowed Intents
- TypeError: interactionCreate is not a function HOT 1
- Slash commands error HOT 1
- Сommands in chat via a prefix do not work HOT 43
- Some commands do not work or do not work correctly HOT 3
- The bot doesn't play music HOT 2
- "Game Commands" doesn't work HOT 2
- Some commands don't work, +fixes HOT 2
- Issue on Replit HOT 2
- [ WEBSITE ] HOT 2
- server HOT 2
- ERR_DLOPEN_FAILED HOT 6
- Error in music module
- Error when starting bot
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from reaper-2.0.