nyx/command/Fun/rickroll.js

23 lines
725 B
JavaScript
Raw Normal View History

2021-09-06 12:38:25 +02:00
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] });
},
};