nyx/command/Fun/rickroll.js
2021-09-06 18:38:25 +08:00

22 lines
725 B
JavaScript

const { MessageAttachment } = require("discord.js");
module.exports = {
name: "rickroll",
description: "Rickroll?",
category: "Fun",
run: async (client, interaction, args) => {
const roll = [
"Never gonna give you up",
"Never gonna let you down",
"Never gonna run around and desert you",
"Never gonna make you cry",
"Never gonna say goodbye",
"Never gonna tell a lie and hurt you",
];
const rick = roll[Math.floor(Math.random() * roll.length)];
const rickroll = new MessageAttachment(
"https://i.pinimg.com/originals/88/82/bc/8882bcf327896ab79fb97e85ae63a002.gif"
);
await interaction.followUp({ content: `**${rick}**`, files: [rickroll] });
},
};