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/commands/doom.js

29 lines
1.4 KiB
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

let topic = `Hells armies have invaded Earth. Become the Slayer in an epic single-player campaign to conquer demons across dimensions and stop the final destruction of humanity.
The Only Thing they Fear... Is You.
Experience the ultimate combination of speed and power in DOOM Eternal - the next leap in push-forward, first-person combat.
Slayer Threat Level At Maximum
Armed with a shoulder-mounted flamethrower, retractable wrist-mounted blade, upgraded guns and mods, and abilities, you're faster, stronger, and more versatile than ever.
Unholy Trinity
Take what you need from your enemies: Glory kill for extra health, incinerate for armor, and chainsaw demons to stock up on ammo to become the ultimate demon-slayer.
Enter Battlemode
A new 2 versus 1 multiplayer experience. A fully-armed DOOM Slayer faces off against two player-controlled demons, fighting it out in a best-of-five round match of intense first-person combat.`
module.exports = class extends Akairo.Command {
constructor() {
super("doom", {
aliases: ["doom"],
description: "Creates a doom channel"
})
}
async exec(message, args) {
var doom = message.guild.channels.cache.find(x => x.name == "doom");
if (!doom)
try {
doom = await message.guild.channels.create("doom", {topic})
doom.send("https://store.steampowered.com/app/782330")
} catch (e) {
await message.channel.send(e.message)
}
if (doom) await message.channel.send(String(doom))
}
}