misc
This commit is contained in:
parent
05b16f3f6d
commit
48188db0b0
@ -1,7 +1,7 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
name: "",
|
name: '',
|
||||||
description: "",
|
description: '',
|
||||||
execute(message, args) {
|
execute(message, args) {
|
||||||
message.channel.send("");
|
message.channel.send('');
|
||||||
}
|
}
|
||||||
}
|
}
|
12
commands/test-textconv.js
Normal file
12
commands/test-textconv.js
Normal 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);
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user