This commit is contained in:
= 2021-06-28 21:42:22 -04:00
parent 05b16f3f6d
commit 48188db0b0
2 changed files with 15 additions and 3 deletions

View File

@ -1,7 +1,7 @@
module.exports = {
name: "",
description: "",
name: '',
description: '',
execute(message, args) {
message.channel.send("");
message.channel.send('');
}
}

12
commands/test-textconv.js Normal file
View File

@ -0,0 +1,12 @@
module.exports = {
name: "test-textconv",
description: "Give the bot some text to convert and send back.",
execute(message, args) {
console.log(args);
const textPre = args.join(' ');
const textPost1 = textPre.replace(/\n/,'\n');
const textPost2 = textPost1.replace(/\'/,'\'');
console.log(textPost1);
console.log(textPost2);
}
}