UNPKG

d.js-shorter

Version:

this package on testing version!

22 lines (18 loc) 563 B
exports.say = function(text) { return text } exports.help = function(bot) { const Discord = require("discord.js") let embed = new Discord.RichEmbed() .setTitle(`Help Commands - ${bot.commands.size} Total Commands`) .setColor("#04f0ed") .setThumbnail(bot.user.displayAvatarURL) .setTimestamp(new Date()) .setDescription(bot.commands.map(cmd => `\`${cmd.help.name}\``).join(", ")) return embed } exports.text = function(message) { let text; if (message.content == "משעמם") text = "כןןןן מאוד" return text }