1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
import { Command, CommandoMessage } from 'discord.js-commando';
import ct from 'culturedtext';
import emoji from 'emoji-random';
module.exports = class StretchFun extends Command {
constructor(client) {
super(client, {
name: 'stretch',
aliases: ['stretched'],
group: 'fun',
memberName: 'stretch',
description: 'Stretches anything you send.',
args: [
{
key: 'userMsg',
prompt: 'What would you like to stretch?',
type: 'string'
}
],
examples: [
'uwu!stretch please stretch this'
],
userPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY'],
clientPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY'],
});
}
run(msg: CommandoMessage, { userMsg }) {
var m = userMsg;
var u1 = ct.stretched(m);
msg.reply(u1 + ' ' + emoji.random());
msg.delete();
}
};
|