This repository has been archived on 2022-10-14. You can view files and clone it, but cannot push or open issues or pull requests.
2020-05-02 14:31:38 -07:00

25 lines
661 B
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

let { Command } = require("discord-akairo")
module.exports = class extends Command {
constructor() {
super("ivy", {
aliases: ["ivy"],
description: "@s the person with the discord id:(346862223135735808) and dms them with a heart and I love you message.",
typing: true,
ownerOnly: true
})
}
async exec(message, args) {
let ivy = await message.client.users.fetch('346862223135735808')
if (ivy) {
try {
await ivy.send(`:heart: I love you`)
await message.channel.send(ivy.toString())
} catch (error) {
await message.channel.send("I can't dm Ivy :cry:")
}
}
else await message.reply("I can't find Ivy :cry:")
}
}