diff options
Diffstat (limited to 'src/commands/fun/stretch.ts')
| -rw-r--r-- | src/commands/fun/stretch.ts | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/src/commands/fun/stretch.ts b/src/commands/fun/stretch.ts new file mode 100644 index 0000000..19d4bfa --- /dev/null +++ b/src/commands/fun/stretch.ts @@ -0,0 +1,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(); + } +};
\ No newline at end of file |