Embeds

Usage Script
Add Field to Embed message tempVars("test").addField("Test Name","Test Value",[inline]);
[inline] = True or False
Add Footer to Embed message tempVars("test").setFooter(member.displayName, msg.author.avatarURL)

Misc

Usage Script
Send a message (hard coded text) msg.channel.send("your message here")
Send a message (variable) msg.channel.send(tempVars("some_variable"))
Send a message (with mixed text & variables) msg.channel.send("some text here " + tempVars("some_variable") + " and some more text")
Send a message (to another channel) msg.guild.channels.find("name","bot-logs").send("test in another channel")
can use "ID" instead of "Name"
Log to console console.log("your text here")
Add reactions to message
works on normal messages or embeds
msg.channel.send(tempVars("test"))
.then(function (message) {
message.react("👍")
message.react("👎")
}).catch(function() {
msg.channel.send("is broke yo")
});

results matching ""

    No results matching ""