diff --git a/.env.example b/.env.example index 35d04e1d..4709f6d4 100644 --- a/.env.example +++ b/.env.example @@ -83,29 +83,4 @@ XIAO_GITHUB_REPO_NAME= XIAO_GITHUB_REPO_USERNAME= # Imgur album IDs -BITE_ALBUM_ID= -BLUSH_ALBUM_ID= -BRO_HOOF_ALBUM_ID= -CELEBRATE_ALBUM_ID= -CRY_ALBUM_ID= -EAT_ALBUM_ID= -EXPLODE_ALBUM_ID= -FIDGET_ALBUM_ID= -FIST_BUMP_ALBUM_ID= -HIGH_FIVE_ALBUM_ID= -HOLD_HANDS_ALBUM_ID= -HUG_ALBUM_ID= -INHALE_ALBUM_ID= -KILL_ALBUM_ID= -KISS_ALBUM_ID= -PAT_ALBUM_ID= -POKE_ALBUM_ID= -POTATO_ALBUM_ID= -PUNCH_ALBUM_ID= -SLAP_ALBUM_ID= -SLEEP_ALBUM_ID= -SMILE_ALBUM_ID= -WAKE_UP_ALBUM_ID= -WAVE_ALBUM_ID= -WINK_ALBUM_ID= XIAO_ALBUM_ID= diff --git a/Xiao.js b/Xiao.js index 330d9abf..edfce33e 100644 --- a/Xiao.js +++ b/Xiao.js @@ -61,7 +61,6 @@ client.registry ['remind', 'Reminders'], ['phone', 'Phone'], ['cleverbot', 'Cleverbot'], - ['roleplay', 'Roleplay'], ['other', 'Other'] ]) .registerCommandsIn(path.join(__dirname, 'commands')); diff --git a/commands/analyze/text-diff.js b/commands/analyze/text-diff.js index 5c8c8d89..eed64f71 100644 --- a/commands/analyze/text-diff.js +++ b/commands/analyze/text-diff.js @@ -36,6 +36,6 @@ module.exports = class TextDiffCommand extends Command { if (change[0] === -1) return `~~${change[1]}~~`; return ''; }).join(''); - return msg.reply(`${formatted} (${Math.round(diff * 100)}% similarity)`); + return msg.reply(`${formatted} (${Math.round(wuzzyDiff * 100)}% similarity)`); } }; diff --git a/commands/random-img/fidget.js b/commands/random-img/fidget.js deleted file mode 100644 index 4e9b5603..00000000 --- a/commands/random-img/fidget.js +++ /dev/null @@ -1,27 +0,0 @@ -const ImgurAlbumCommand = require('../../structures/commands/ImgurAlbum'); -const { FIDGET_ALBUM_ID } = process.env; - -module.exports = class FidgetCommand extends ImgurAlbumCommand { - constructor(client) { - super(client, { - name: 'fidget', - aliases: ['nimbat'], - group: 'random-img', - memberName: 'fidget', - description: 'Responds with a random image of Fidget.', - clientPermissions: ['ATTACH_FILES'], - albumID: FIDGET_ALBUM_ID, - credit: [ - { - name: 'Dust: An Elysian Tail', - url: 'https://www.noogy.com/main.html', - reason: 'Original Game' - } - ] - }); - } - - generateText() { - return 'Aren\'t Nimbats adorable?'; - } -}; diff --git a/commands/roleplay/bite.js b/commands/roleplay/bite.js deleted file mode 100644 index 5f1461ed..00000000 --- a/commands/roleplay/bite.js +++ /dev/null @@ -1,27 +0,0 @@ -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}**._`; - } -}; diff --git a/commands/roleplay/blush.js b/commands/roleplay/blush.js deleted file mode 100644 index 10c58d03..00000000 --- a/commands/roleplay/blush.js +++ /dev/null @@ -1,28 +0,0 @@ -const ImgurAlbumCommand = require('../../structures/commands/ImgurAlbum'); -const { BLUSH_ALBUM_ID } = process.env; - -module.exports = class BlushCommand extends ImgurAlbumCommand { - constructor(client) { - super(client, { - name: 'blush', - group: 'roleplay', - memberName: 'blush', - description: 'Blushes at a user.', - clientPermissions: ['ATTACH_FILES'], - albumID: BLUSH_ALBUM_ID, - args: [ - { - key: 'user', - prompt: 'What user do you want to roleplay with?', - type: 'user', - default: msg => msg.author - } - ] - }); - } - - generateText(msg, user) { - const noUserAuthor = msg.author.id !== user.id; - return `_**${msg.author.username}** blushes${noUserAuthor ? ` at **${user.username}**` : ''}._`; - } -}; diff --git a/commands/roleplay/bro-hoof.js b/commands/roleplay/bro-hoof.js deleted file mode 100644 index 0de9ac50..00000000 --- a/commands/roleplay/bro-hoof.js +++ /dev/null @@ -1,34 +0,0 @@ -const ImgurAlbumCommand = require('../../structures/commands/ImgurAlbum'); -const { BRO_HOOF_ALBUM_ID } = process.env; - -module.exports = class BroHoofCommand extends ImgurAlbumCommand { - constructor(client) { - super(client, { - name: 'bro-hoof', - group: 'roleplay', - memberName: 'bro-hoof', - description: 'Gives a user a bro hoof.', - clientPermissions: ['ATTACH_FILES'], - albumID: BRO_HOOF_ALBUM_ID, - credit: [ - { - name: 'Hasbro', - url: 'https://shop.hasbro.com/en-us', - reason: 'Original "My Little Pony: Friendship is Magic" Show', - reasonURL: 'https://mylittlepony.hasbro.com/en-us' - } - ], - args: [ - { - key: 'user', - prompt: 'What user do you want to roleplay with?', - type: 'user' - } - ] - }); - } - - generateText(msg, user) { - return `_**${msg.author.username}** gives **${user.username}** a bro hoof._`; - } -}; diff --git a/commands/roleplay/celebrate.js b/commands/roleplay/celebrate.js deleted file mode 100644 index 316458e6..00000000 --- a/commands/roleplay/celebrate.js +++ /dev/null @@ -1,29 +0,0 @@ -const ImgurAlbumCommand = require('../../structures/commands/ImgurAlbum'); -const { CELEBRATE_ALBUM_ID } = process.env; - -module.exports = class CelebrateCommand extends ImgurAlbumCommand { - constructor(client) { - super(client, { - name: 'celebrate', - aliases: ['party'], - group: 'roleplay', - memberName: 'celebrate', - description: 'Celebrates.', - clientPermissions: ['ATTACH_FILES'], - albumID: CELEBRATE_ALBUM_ID, - args: [ - { - key: 'user', - prompt: 'What user do you want to roleplay with?', - type: 'user', - default: msg => msg.author - } - ] - }); - } - - generateText(msg, user) { - const noUserAuthor = msg.author.id !== user.id; - return `_**${msg.author.username}** celebrates${noUserAuthor ? ` with **${user.username}**` : ''}._`; - } -}; diff --git a/commands/roleplay/cry.js b/commands/roleplay/cry.js deleted file mode 100644 index ae89f888..00000000 --- a/commands/roleplay/cry.js +++ /dev/null @@ -1,28 +0,0 @@ -const ImgurAlbumCommand = require('../../structures/commands/ImgurAlbum'); -const { CRY_ALBUM_ID } = process.env; - -module.exports = class CryCommand extends ImgurAlbumCommand { - constructor(client) { - super(client, { - name: 'cry', - group: 'roleplay', - memberName: 'cry', - description: 'Cries at a user.', - clientPermissions: ['ATTACH_FILES'], - albumID: CRY_ALBUM_ID, - args: [ - { - key: 'user', - prompt: 'What user do you want to roleplay with?', - type: 'user', - default: msg => msg.author - } - ] - }); - } - - generateText(msg, user) { - const noUserAuthor = msg.author.id !== user.id; - return `_**${msg.author.username}** cries${noUserAuthor ? ` at **${user.username}**` : ''}._`; - } -}; diff --git a/commands/roleplay/eat.js b/commands/roleplay/eat.js deleted file mode 100644 index 9600510b..00000000 --- a/commands/roleplay/eat.js +++ /dev/null @@ -1,28 +0,0 @@ -const ImgurAlbumCommand = require('../../structures/commands/ImgurAlbum'); -const { EAT_ALBUM_ID } = process.env; - -module.exports = class EatCommand extends ImgurAlbumCommand { - constructor(client) { - super(client, { - name: 'eat', - group: 'roleplay', - memberName: 'eat', - description: 'Feeds a user.', - clientPermissions: ['ATTACH_FILES'], - albumID: EAT_ALBUM_ID, - args: [ - { - key: 'user', - prompt: 'What user do you want to roleplay with?', - type: 'user', - default: msg => msg.author - } - ] - }); - } - - generateText(msg, user) { - const noUserAuthor = msg.author.id !== user.id; - return `_**${msg.author.username}** eats${noUserAuthor ? ` with **${user.username}**` : ''}._`; - } -}; diff --git a/commands/roleplay/explode.js b/commands/roleplay/explode.js deleted file mode 100644 index bcfef704..00000000 --- a/commands/roleplay/explode.js +++ /dev/null @@ -1,37 +0,0 @@ -const ImgurAlbumCommand = require('../../structures/commands/ImgurAlbum'); -const { EXPLODE_ALBUM_ID } = process.env; - -module.exports = class ExplodeCommand extends ImgurAlbumCommand { - constructor(client) { - super(client, { - name: 'explode', - aliases: ['explosion', 'megumin', 'boom', 'boom-boom', 'nuke', 'xplode', 'plode'], - group: 'roleplay', - memberName: 'explode', - description: 'Explodes a user.', - clientPermissions: ['ATTACH_FILES'], - albumID: EXPLODE_ALBUM_ID, - audio: 'explosion.mp3', - credit: [ - { - name: 'KONOSUBA -God\'s blessing on this wonderful world!', - url: 'http://konosuba.com/', - reason: 'Sound Effect' - } - ], - args: [ - { - key: 'user', - prompt: 'What user do you want to roleplay with?', - type: 'user', - default: msg => msg.author - } - ] - }); - } - - generateText(msg, user) { - const noUserAuthor = msg.author.id !== user.id; - return `_**${msg.author.username}** ${noUserAuthor ? `explodes **${user.username}**` : 'casts explosion'}._`; - } -}; diff --git a/commands/roleplay/fist-bump.js b/commands/roleplay/fist-bump.js deleted file mode 100644 index 2b6c7fa1..00000000 --- a/commands/roleplay/fist-bump.js +++ /dev/null @@ -1,26 +0,0 @@ -const ImgurAlbumCommand = require('../../structures/commands/ImgurAlbum'); -const { FIST_BUMP_ALBUM_ID } = process.env; - -module.exports = class FistBumpCommand extends ImgurAlbumCommand { - constructor(client) { - super(client, { - name: 'fist-bump', - group: 'roleplay', - memberName: 'fist-bump', - description: 'Fist-bumps a user.', - clientPermissions: ['ATTACH_FILES'], - albumID: FIST_BUMP_ALBUM_ID, - args: [ - { - key: 'user', - prompt: 'What user do you want to roleplay with?', - type: 'user' - } - ] - }); - } - - generateText(msg, user) { - return `_**${msg.author.username}** fist-bumps **${user.username}**._`; - } -}; diff --git a/commands/roleplay/high-five.js b/commands/roleplay/high-five.js deleted file mode 100644 index 62406fa7..00000000 --- a/commands/roleplay/high-five.js +++ /dev/null @@ -1,26 +0,0 @@ -const ImgurAlbumCommand = require('../../structures/commands/ImgurAlbum'); -const { HIGH_FIVE_ALBUM_ID } = process.env; - -module.exports = class HighFiveCommand extends ImgurAlbumCommand { - constructor(client) { - super(client, { - name: 'high-five', - group: 'roleplay', - memberName: 'high-five', - description: 'High Fives a user.', - clientPermissions: ['ATTACH_FILES'], - albumID: HIGH_FIVE_ALBUM_ID, - args: [ - { - key: 'user', - prompt: 'What user do you want to roleplay with?', - type: 'user' - } - ] - }); - } - - generateText(msg, user) { - return `_**${msg.author.username}** high-fives **${user.username}**._`; - } -}; diff --git a/commands/roleplay/hold-hands.js b/commands/roleplay/hold-hands.js deleted file mode 100644 index b0fb77f9..00000000 --- a/commands/roleplay/hold-hands.js +++ /dev/null @@ -1,27 +0,0 @@ -const ImgurAlbumCommand = require('../../structures/commands/ImgurAlbum'); -const { HOLD_HANDS_ALBUM_ID } = process.env; - -module.exports = class HoldHandsCommand extends ImgurAlbumCommand { - constructor(client) { - super(client, { - name: 'hold-hands', - aliases: ['hold-hand'], - group: 'roleplay', - memberName: 'hold-hands', - description: 'Holds hands with a user.', - clientPermissions: ['ATTACH_FILES'], - albumID: HOLD_HANDS_ALBUM_ID, - args: [ - { - key: 'user', - prompt: 'What user do you want to roleplay with?', - type: 'user' - } - ] - }); - } - - generateText(msg, user) { - return `_**${msg.author.username}** holds **${user.username}**'s hand._`; - } -}; diff --git a/commands/roleplay/hug.js b/commands/roleplay/hug.js deleted file mode 100644 index 82b8250c..00000000 --- a/commands/roleplay/hug.js +++ /dev/null @@ -1,27 +0,0 @@ -const ImgurAlbumCommand = require('../../structures/commands/ImgurAlbum'); -const { HUG_ALBUM_ID } = process.env; - -module.exports = class HugCommand extends ImgurAlbumCommand { - constructor(client) { - super(client, { - name: 'hug', - aliases: ['cuddle', 'glomp', 'tackle', 'tackle-hug'], - group: 'roleplay', - memberName: 'hug', - description: 'Hugs a user.', - clientPermissions: ['ATTACH_FILES'], - albumID: HUG_ALBUM_ID, - args: [ - { - key: 'user', - prompt: 'What user do you want to roleplay with?', - type: 'user' - } - ] - }); - } - - generateText(msg, user) { - return `_**${msg.author.username}** hugs **${user.username}**._`; - } -}; diff --git a/commands/roleplay/inhale.js b/commands/roleplay/inhale.js deleted file mode 100644 index ddef2d8b..00000000 --- a/commands/roleplay/inhale.js +++ /dev/null @@ -1,26 +0,0 @@ -const ImgurAlbumCommand = require('../../structures/commands/ImgurAlbum'); -const { INHALE_ALBUM_ID } = process.env; - -module.exports = class InhaleCommand extends ImgurAlbumCommand { - constructor(client) { - super(client, { - name: 'inhale', - group: 'roleplay', - memberName: 'inhale', - description: 'Inhales a user.', - clientPermissions: ['ATTACH_FILES'], - albumID: INHALE_ALBUM_ID, - args: [ - { - key: 'user', - prompt: 'What user do you want to roleplay with?', - type: 'user' - } - ] - }); - } - - generateText(msg, user) { - return `_**${msg.author.username}** inhales **${user.username}** but gained no ability._`; - } -}; diff --git a/commands/roleplay/kill.js b/commands/roleplay/kill.js deleted file mode 100644 index c0ff3387..00000000 --- a/commands/roleplay/kill.js +++ /dev/null @@ -1,27 +0,0 @@ -const ImgurAlbumCommand = require('../../structures/commands/ImgurAlbum'); -const { KILL_ALBUM_ID } = process.env; - -module.exports = class KillCommand extends ImgurAlbumCommand { - constructor(client) { - super(client, { - name: 'kill', - aliases: ['murder'], - group: 'roleplay', - memberName: 'kill', - description: 'Kills a user.', - clientPermissions: ['ATTACH_FILES'], - albumID: KILL_ALBUM_ID, - args: [ - { - key: 'user', - prompt: 'What user do you want to roleplay with?', - type: 'user' - } - ] - }); - } - - generateText(msg, user) { - return `_**${msg.author.username}** kills **${user.username}**._`; - } -}; diff --git a/commands/roleplay/kiss.js b/commands/roleplay/kiss.js deleted file mode 100644 index 1f02acb2..00000000 --- a/commands/roleplay/kiss.js +++ /dev/null @@ -1,27 +0,0 @@ -const ImgurAlbumCommand = require('../../structures/commands/ImgurAlbum'); -const { KISS_ALBUM_ID } = process.env; - -module.exports = class KissCommand extends ImgurAlbumCommand { - constructor(client) { - super(client, { - name: 'kiss', - aliases: ['marry'], - group: 'roleplay', - memberName: 'kiss', - description: 'Kisses a user.', - clientPermissions: ['ATTACH_FILES'], - albumID: KISS_ALBUM_ID, - args: [ - { - key: 'user', - prompt: 'What user do you want to roleplay with?', - type: 'user' - } - ] - }); - } - - generateText(msg, user) { - return `_**${msg.author.username}** kisses **${user.username}**._`; - } -}; diff --git a/commands/roleplay/pat.js b/commands/roleplay/pat.js deleted file mode 100644 index af529403..00000000 --- a/commands/roleplay/pat.js +++ /dev/null @@ -1,26 +0,0 @@ -const ImgurAlbumCommand = require('../../structures/commands/ImgurAlbum'); -const { PAT_ALBUM_ID } = process.env; - -module.exports = class PatCommand extends ImgurAlbumCommand { - constructor(client) { - super(client, { - name: 'pat', - group: 'roleplay', - memberName: 'pat', - description: 'Pats a user.', - clientPermissions: ['ATTACH_FILES'], - albumID: PAT_ALBUM_ID, - args: [ - { - key: 'user', - prompt: 'What user do you want to roleplay with?', - type: 'user' - } - ] - }); - } - - generateText(msg, user) { - return `_**${msg.author.username}** pats **${user.username}**._`; - } -}; diff --git a/commands/roleplay/poke.js b/commands/roleplay/poke.js deleted file mode 100644 index e95278eb..00000000 --- a/commands/roleplay/poke.js +++ /dev/null @@ -1,27 +0,0 @@ -const ImgurAlbumCommand = require('../../structures/commands/ImgurAlbum'); -const { POKE_ALBUM_ID } = process.env; - -module.exports = class PokeCommand extends ImgurAlbumCommand { - constructor(client) { - super(client, { - name: 'poke', - aliases: ['boop'], - group: 'roleplay', - memberName: 'poke', - description: 'Pokes a user.', - clientPermissions: ['ATTACH_FILES'], - albumID: POKE_ALBUM_ID, - args: [ - { - key: 'user', - prompt: 'What user do you want to roleplay with?', - type: 'user' - } - ] - }); - } - - generateText(msg, user) { - return `_**${msg.author.username}** pokes **${user.username}**._`; - } -}; diff --git a/commands/roleplay/punch.js b/commands/roleplay/punch.js deleted file mode 100644 index 51ea92ca..00000000 --- a/commands/roleplay/punch.js +++ /dev/null @@ -1,27 +0,0 @@ -const ImgurAlbumCommand = require('../../structures/commands/ImgurAlbum'); -const { PUNCH_ALBUM_ID } = process.env; - -module.exports = class PunchCommand extends ImgurAlbumCommand { - constructor(client) { - super(client, { - name: 'punch', - aliases: ['falcon-punch'], - group: 'roleplay', - memberName: 'punch', - description: 'Punches a user.', - clientPermissions: ['ATTACH_FILES'], - albumID: PUNCH_ALBUM_ID, - args: [ - { - key: 'user', - prompt: 'What user do you want to roleplay with?', - type: 'user' - } - ] - }); - } - - generateText(msg, user) { - return `_**${msg.author.username}** punches **${user.username}**._`; - } -}; diff --git a/commands/roleplay/slap.js b/commands/roleplay/slap.js deleted file mode 100644 index 83a954e4..00000000 --- a/commands/roleplay/slap.js +++ /dev/null @@ -1,27 +0,0 @@ -const ImgurAlbumCommand = require('../../structures/commands/ImgurAlbum'); -const { SLAP_ALBUM_ID } = process.env; - -module.exports = class SlapCommand extends ImgurAlbumCommand { - constructor(client) { - super(client, { - name: 'slap', - aliases: ['break-up', 'divorce'], - group: 'roleplay', - memberName: 'slap', - description: 'Slaps a user.', - clientPermissions: ['ATTACH_FILES'], - albumID: SLAP_ALBUM_ID, - args: [ - { - key: 'user', - prompt: 'What user do you want to roleplay with?', - type: 'user' - } - ] - }); - } - - generateText(msg, user) { - return `_**${msg.author.username}** slaps **${user.username}**._`; - } -}; diff --git a/commands/roleplay/sleep.js b/commands/roleplay/sleep.js deleted file mode 100644 index 39f000e5..00000000 --- a/commands/roleplay/sleep.js +++ /dev/null @@ -1,29 +0,0 @@ -const ImgurAlbumCommand = require('../../structures/commands/ImgurAlbum'); -const { SLEEP_ALBUM_ID } = process.env; - -module.exports = class SleepCommand extends ImgurAlbumCommand { - constructor(client) { - super(client, { - name: 'sleep', - aliases: ['fall-asleep'], - group: 'roleplay', - memberName: 'sleep', - description: 'Puts a user to sleep.', - clientPermissions: ['ATTACH_FILES'], - albumID: SLEEP_ALBUM_ID, - args: [ - { - key: 'user', - prompt: 'What user do you want to roleplay with?', - type: 'user', - default: msg => msg.author - } - ] - }); - } - - generateText(msg, user) { - const noUserAuthor = msg.author.id !== user.id; - return `_**${msg.author.username}** falls asleep${noUserAuthor ? ` with **${user.username}**` : ''}._`; - } -}; diff --git a/commands/roleplay/smile.js b/commands/roleplay/smile.js deleted file mode 100644 index eb7459fe..00000000 --- a/commands/roleplay/smile.js +++ /dev/null @@ -1,28 +0,0 @@ -const ImgurAlbumCommand = require('../../structures/commands/ImgurAlbum'); -const { SMILE_ALBUM_ID } = process.env; - -module.exports = class SmileCommand extends ImgurAlbumCommand { - constructor(client) { - super(client, { - name: 'smile', - group: 'roleplay', - memberName: 'smile', - description: 'Smiles at a user.', - clientPermissions: ['ATTACH_FILES'], - albumID: SMILE_ALBUM_ID, - args: [ - { - key: 'user', - prompt: 'What user do you want to roleplay with?', - type: 'user', - default: msg => msg.author - } - ] - }); - } - - generateText(msg, user) { - const noUserAuthor = msg.author.id !== user.id; - return `_**${msg.author.username}** smiles${noUserAuthor ? ` at **${user.username}**` : ''}._`; - } -}; diff --git a/commands/roleplay/wake-up.js b/commands/roleplay/wake-up.js deleted file mode 100644 index 49ea998f..00000000 --- a/commands/roleplay/wake-up.js +++ /dev/null @@ -1,29 +0,0 @@ -const ImgurAlbumCommand = require('../../structures/commands/ImgurAlbum'); -const { WAKE_UP_ALBUM_ID } = process.env; - -module.exports = class WakeUpCommand extends ImgurAlbumCommand { - constructor(client) { - super(client, { - name: 'wake-up', - aliases: ['awaken', 'awake'], - group: 'roleplay', - memberName: 'wake-up', - description: 'Wakes up a user.', - clientPermissions: ['ATTACH_FILES'], - albumID: WAKE_UP_ALBUM_ID, - args: [ - { - key: 'user', - prompt: 'What user do you want to roleplay with?', - type: 'user', - default: msg => msg.author - } - ] - }); - } - - generateText(msg, user) { - const noUserAuthor = msg.author.id !== user.id; - return `_**${msg.author.username}** wakes up${noUserAuthor ? ` **${user.username}**` : ''}._`; - } -}; diff --git a/commands/roleplay/wave.js b/commands/roleplay/wave.js deleted file mode 100644 index 7e3eedf4..00000000 --- a/commands/roleplay/wave.js +++ /dev/null @@ -1,28 +0,0 @@ -const ImgurAlbumCommand = require('../../structures/commands/ImgurAlbum'); -const { WAVE_ALBUM_ID } = process.env; - -module.exports = class WaveCommand extends ImgurAlbumCommand { - constructor(client) { - super(client, { - name: 'wave', - group: 'roleplay', - memberName: 'wave', - description: 'Waves at a user.', - clientPermissions: ['ATTACH_FILES'], - albumID: WAVE_ALBUM_ID, - args: [ - { - key: 'user', - prompt: 'What user do you want to roleplay with?', - type: 'user', - default: msg => msg.author - } - ] - }); - } - - generateText(msg, user) { - const noUserAuthor = msg.author.id !== user.id; - return `_**${msg.author.username}** waves${noUserAuthor ? ` at **${user.username}**` : ''}._`; - } -}; diff --git a/commands/roleplay/wink.js b/commands/roleplay/wink.js deleted file mode 100644 index 2d6f78d7..00000000 --- a/commands/roleplay/wink.js +++ /dev/null @@ -1,29 +0,0 @@ -const ImgurAlbumCommand = require('../../structures/commands/ImgurAlbum'); -const { WINK_ALBUM_ID } = process.env; - -module.exports = class WinkCommand extends ImgurAlbumCommand { - constructor(client) { - super(client, { - name: 'wink', - aliases: ['flirt'], - group: 'roleplay', - memberName: 'wink', - description: 'Winks at a user.', - clientPermissions: ['ATTACH_FILES'], - albumID: WINK_ALBUM_ID, - args: [ - { - key: 'user', - prompt: 'What user do you want to roleplay with?', - type: 'user', - default: msg => msg.author - } - ] - }); - } - - generateText(msg, user) { - const noUserAuthor = msg.author.id !== user.id; - return `_**${msg.author.username}** winks${noUserAuthor ? ` at **${user.username}**` : ''}._`; - } -};