Files
xiao/commands/roleplay/hit-with-shovel.js
T
2017-09-29 00:49:17 +00:00

28 lines
639 B
JavaScript

const { Command } = require('discord.js-commando');
const { stripIndents } = require('common-tags');
module.exports = class HitWithShovelCommand extends Command {
constructor(client) {
super(client, {
name: 'hit-with-shovel',
group: 'roleplay',
memberName: 'hit-with-shovel',
description: 'Hits a user with a shovel.',
args: [
{
key: 'user',
prompt: 'What user do you want to roleplay with?',
type: 'user'
}
]
});
}
run(msg, { user }) {
return msg.say(stripIndents`
**${msg.author.username}** *hits* **${user.username}** *with a shovel*
https://i.imgur.com/XDIUq02.gif
`);
}
};