Simp-O-Matic

Dumb Discord bot in TS.
git clone git://git.knutsen.co/Simp-O-Matic
Log | Files | Refs | README | LICENSE

helpers.js (459B)


const Discord = require('discord.js');

exports.TemplatedMessageEmbed = function () {
  return new Discord.MessageEmbed()
    .setTimestamp()
    .attachFiles([`${process.cwd()}/lib/drug-o-matic/assets/logo.png`])
    .setAuthor('DoseBot Redux', 'attachment://logo.png')
    .setThumbnail('attachment://logo.png')
    .setColor('747474')
    .setURL("https://github.com/dosebotredux")
    .setFooter('Please use drugs responsibly', 'attachment://logo.png')
}