diff options
| author | 8cy <[email protected]> | 2020-04-21 08:57:17 -0700 |
|---|---|---|
| committer | 8cy <[email protected]> | 2020-04-21 08:57:17 -0700 |
| commit | fadd61caf6e06be4cccae4e43487f309d2e74f10 (patch) | |
| tree | 2d15a1f841acae0decd5214c1afb570eaa206c65 /src/commands/fun | |
| parent | web back to worker, v7.2.5 (diff) | |
| download | dep-core-fadd61caf6e06be4cccae4e43487f309d2e74f10.tar.xz dep-core-fadd61caf6e06be4cccae4e43487f309d2e74f10.zip | |
move assets around, v7.3.0
Diffstat (limited to 'src/commands/fun')
| -rw-r--r-- | src/commands/fun/dm.ts | 63 | ||||
| -rw-r--r-- | src/commands/fun/emoji.ts | 2 | ||||
| -rw-r--r-- | src/commands/fun/gay.ts | 2 | ||||
| -rw-r--r-- | src/commands/fun/lorem.ts | 2 |
4 files changed, 3 insertions, 66 deletions
diff --git a/src/commands/fun/dm.ts b/src/commands/fun/dm.ts deleted file mode 100644 index 73fa0b6..0000000 --- a/src/commands/fun/dm.ts +++ /dev/null @@ -1,63 +0,0 @@ -// TODO: remove mention from final msg - -import { Command, CommandoMessage } from 'discord.js-commando'; -import { MessageEmbed } from 'discord.js'; - -module.exports = class DMFun extends Command { - constructor(client) { - super(client, { - name: 'dm', - aliases: [ - 'directmessage', - 'directmsg', - 'direct-message', - 'direct-msg' - ], - group: 'fun', - memberName: 'dm', - description: 'Allows you to DM somebody as the bot.', - guildOnly: true, - args: [ - { - key: 'msgContent', - prompt: 'What message would you like to send?', - type: 'string' - } - ], - examples: [ - 'uwu!dm @sin#1337 hi', - 'uwu!directmessage @sin#1337 hey', - 'uwu!directmsg @sin#1337 hello', - 'uwu!direct-message @sin#1337 yo', - 'uwu!direct-msg @sin#1337 aye', - ], - userPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY', 'ADMINISTRATOR'], - clientPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY'] - }); - } - run(msg: CommandoMessage, { msgContent }) { - if (msg.author.id == '217348698294714370') { - if (!msg.mentions.users.first() && msgContent) { - msg.reply('You haven\'t specified anyone to send a message to.'); - } else { - var sendTo = msg.mentions.users.first().id; - var d = new Date(msg.createdTimestamp); - - msg.guild.members.fetch(sendTo).then(messageUser => { - messageUser.send(msgContent); - - var emb = new MessageEmbed() - .setColor(0xFFCC4D) - .setTitle('uwufier - DM') - .addField('Message content', `${msgContent}`) - .addField('Recipient', `${msg.mentions.users.first()}`) - .addField('Sender', `${msg.author}`) - .addField('Time sent', `Now`) - msg.say(emb) - }); - } - } else { - msg.reply('Insufficent permissions.'); - } - } -};
\ No newline at end of file diff --git a/src/commands/fun/emoji.ts b/src/commands/fun/emoji.ts index 2950738..f830387 100644 --- a/src/commands/fun/emoji.ts +++ b/src/commands/fun/emoji.ts @@ -8,7 +8,7 @@ module.exports = class EmojiFun extends Command { aliases: ['moji'], group: 'fun', memberName: 'emoji', - description: 'Gives you a random emoji.' + emoji.random(), + description: 'Gives you a random emoji. ' + emoji.random(), throttling: { usages: 5, duration: 30 diff --git a/src/commands/fun/gay.ts b/src/commands/fun/gay.ts index a522cf9..6ca5138 100644 --- a/src/commands/fun/gay.ts +++ b/src/commands/fun/gay.ts @@ -11,7 +11,7 @@ module.exports = class GayFun extends Command { ], group: 'fun', memberName: 'gay', - description: 'Tells you your gay-ness amount.', + description: 'Tells you your level of homosexuality amount. Because we\'re all queens here.🏳️🌈 ', examples: [ 'uwu!gay', 'uwu!gayamount', diff --git a/src/commands/fun/lorem.ts b/src/commands/fun/lorem.ts index c1d0e0e..c970247 100644 --- a/src/commands/fun/lorem.ts +++ b/src/commands/fun/lorem.ts @@ -9,7 +9,7 @@ module.exports = class LoremFun extends Command { aliases: ['lorem-impsum', 'loremipsum', 'ipsum', 'lorem-memesum', 'loremmemesum', 'memesum'], group: 'fun', memberName: 'lorem', - description: 'Gives you a random memeified Lorem Ipsum', + description: 'Gives you a random memeified Lorem Ipsum.', examples: [ 'uwu!lorem', 'uwu!lorem-ipsum', |