1.0.0 • Published 4 years ago
replacer-js v1.0.0
replacerjs
ℹreplacerjs is a module that fix the original module replacerdjs
Basic usage
const replace = require("replacer-js");
let data = "This {server} has a particularity, it's using {module} made by author" // string that contains values that have to be changed.
let replaced = {
"{server}": message.guild.name,
"{module}": "replacerjs",
"author": "im_a_panda_guy"
}
message.channel.send(replace(data, replaced)) OR in a embed
.setDescription(`${replace(data, replaced)}`).
1.0.0
4 years ago