This repository has been archived on 2022-10-14. You can view files and clone it, but cannot push or open issues/pull-requests.
melonybot/trashbin/hell.js

20 lines
676 B
JavaScript

let { Command } = require("discord-akairo")
let { MessageAttachment } = require("discord.js")
let fs = require('fs').promises
module.exports = class extends Command {
constructor() {
super("hell", {
regex: /^hell|demon|devil$/i,
description: "Bot responds with the doom eternal steam page to buy.",
category: "responders"
})
}
async exec(message, args) {
//let dirlist = await fs.readdir('images/doomslayers')
//let randomitem = dirlist[ Math.floor( Math.random() * dirlist.length ) ];
await message.channel.send(`https://store.steampowered.com/app/782330`)
//await message.channel.send(new MessageAttachment(`images/doomslayers/${randomitem}`))
}
}