mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-19 05:51:42 +02:00
Bite Command
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
const ImgurAlbumCommand = require('../../structures/commands/ImgurAlbum');
|
||||
const { BITE_ALBUM_ID } = process.env;
|
||||
|
||||
module.exports = class BiteCommand extends ImgurAlbumCommand {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: 'bite',
|
||||
aliases: ['nom'],
|
||||
group: 'roleplay',
|
||||
memberName: 'bite',
|
||||
description: 'Bites a user.',
|
||||
clientPermissions: ['ATTACH_FILES'],
|
||||
albumID: BITE_ALBUM_ID,
|
||||
args: [
|
||||
{
|
||||
key: 'user',
|
||||
prompt: 'What user do you want to roleplay with?',
|
||||
type: 'user'
|
||||
}
|
||||
]
|
||||
});
|
||||
}
|
||||
|
||||
generateText(msg, user) {
|
||||
return `_**${msg.author.username}** bites **${user.username}**._`;
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user