From 1b94e959d0c22c197d7a14f516684460a3fd82da Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Mon, 29 Jun 2020 18:28:51 -0400 Subject: [PATCH] Rickroll Command --- README.md | 5 ++++- commands/single/rickroll.js | 25 +++++++++++++++++++++++++ package.json | 2 +- 3 files changed, 30 insertions(+), 2 deletions(-) create mode 100644 commands/single/rickroll.js diff --git a/README.md b/README.md index c91c0beb..7bcdca2c 100644 --- a/README.md +++ b/README.md @@ -231,7 +231,7 @@ in the appropriate channel's topic to use it. ## Commands -Total: 507 +Total: 508 ### Utility: @@ -388,6 +388,7 @@ Total: 507 * **just-do-it:** Sends a link to the "Just Do It!" motivational speech. * **lenny:** Responds with the lenny face. * **nitro:** Sends an image of a fake nitro giveaway. +* **rickroll:** Sends a link to the "Never Gonna Give You Up" music video. * **spam:** Responds with a picture of Spam. * **tableflip:** Flips a table... With animation! * **wynaut:** Why not? Wynaut? @@ -1423,6 +1424,8 @@ here. * country (API) - [richchurcher](https://github.com/richchurcher) * yoda ([API](https://github.com/richchurcher/yoda-api)) +- [Rick Astley](https://www.youtube.com/channel/UCuAXFkgsw1L7xaCfnd5JJOw) + * rickroll ([Original Music Video](https://www.youtube.com/watch?v=dQw4w9WgXcQ)) - [Right Stuf Anime](https://www.rightstufanime.com/) * right-stuf (API) - [Riot Games](https://www.riotgames.com/en) diff --git a/commands/single/rickroll.js b/commands/single/rickroll.js new file mode 100644 index 00000000..d07182fe --- /dev/null +++ b/commands/single/rickroll.js @@ -0,0 +1,25 @@ +const Command = require('../../structures/Command'); + +module.exports = class RickrollCommand extends Command { + constructor(client) { + super(client, { + name: 'rickroll', + aliases: ['never-gonna-give-you-up', 'rick-astley'], + group: 'single', + memberName: 'rickroll', + description: 'Sends a link to the "Never Gonna Give You Up" music video.', + credit: [ + { + name: 'Rick Astley', + url: 'https://www.youtube.com/channel/UCuAXFkgsw1L7xaCfnd5JJOw', + reason: 'Original Music Video', + reasonURL: 'https://www.youtube.com/watch?v=dQw4w9WgXcQ' + } + ] + }); + } + + run(msg) { + return msg.say('https://www.youtube.com/watch?v=dQw4w9WgXcQ'); + } +}; diff --git a/package.json b/package.json index 393b0807..be50d82c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xiao", - "version": "117.3.2", + "version": "117.4.0", "description": "Your personal server companion.", "main": "Xiao.js", "scripts": {