mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-26 22:32:52 +02:00
5 New Commands
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
const Command = require('../../structures/Command');
|
||||
const { stripIndents } = require('common-tags');
|
||||
const gifs = [
|
||||
'https://i.imgur.com/wXShFlF.gif',
|
||||
'https://i.imgur.com/bpBz27N.gif',
|
||||
'https://i.imgur.com/61vX6F6.gif',
|
||||
'https://i.imgur.com/6zv7HP5.gif',
|
||||
'https://i.imgur.com/ExYfGm8.gif'
|
||||
];
|
||||
|
||||
module.exports = class TackleCommand extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: 'tackle',
|
||||
aliases: ['glomp', 'tackle-hug'],
|
||||
group: 'roleplay',
|
||||
memberName: 'tackle',
|
||||
description: 'Tackles a user.',
|
||||
args: [
|
||||
{
|
||||
key: 'user',
|
||||
prompt: 'What user do you want to roleplay with?',
|
||||
type: 'user'
|
||||
}
|
||||
]
|
||||
});
|
||||
}
|
||||
|
||||
run(msg, { user }) {
|
||||
return msg.say(stripIndents`
|
||||
**${msg.author.username}** *tackles* **${user.username}**
|
||||
${gifs[Math.floor(Math.random() * gifs.length)]}
|
||||
`);
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user