mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-23 18:05:01 +02:00
22.0.0
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
const Command = require('../../structures/Command');
|
||||
const { stripIndents } = require('common-tags');
|
||||
|
||||
module.exports = class KillCommand extends Command {
|
||||
constructor(client) {
|
||||
@@ -6,19 +7,22 @@ module.exports = class KillCommand extends Command {
|
||||
name: 'kill',
|
||||
group: 'roleplay',
|
||||
memberName: 'kill',
|
||||
description: 'Kills something/someone.',
|
||||
description: 'Kills a user.',
|
||||
args: [
|
||||
{
|
||||
key: 'thing',
|
||||
prompt: 'What do you want to roleplay with?',
|
||||
type: 'string'
|
||||
key: 'user',
|
||||
prompt: 'What user do you want to roleplay with?',
|
||||
type: 'user'
|
||||
}
|
||||
]
|
||||
});
|
||||
}
|
||||
|
||||
run(msg, args) {
|
||||
const { thing } = args;
|
||||
return msg.say(`${msg.author} *kills* ${thing}`);
|
||||
const { user } = args;
|
||||
return msg.say(stripIndents`
|
||||
**${msg.author.username}** *kills* **${user.username}**
|
||||
https://i.imgur.com/WxD4XMe.gif
|
||||
`);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user