This commit is contained in:
Daniel Odendahl Jr
2017-06-01 08:44:02 +00:00
parent 7802bb49cb
commit 14f85f94bd
129 changed files with 1915 additions and 1720 deletions
+10 -6
View File
@@ -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
`);
}
};