Improve owo

This commit is contained in:
Daniel Odendahl Jr
2018-04-25 21:20:13 +00:00
parent 76860705da
commit 403af9a143
2 changed files with 5 additions and 2 deletions
+4 -1
View File
@@ -1,4 +1,5 @@
const { Command } = require('discord.js-commando');
const faces = ['(・`ω´・)', ';;w;;', 'owo', 'UwU', '>w<', '^w^'];
module.exports = class OwOCommand extends Command {
constructor(client) {
@@ -32,6 +33,8 @@ module.exports = class OwOCommand extends Command {
.replace(/n([aeiou])/g, 'ny$1')
.replace(/N([aeiou])/g, 'Ny$1')
.replace(/N([AEIOU])/g, 'NY$1')
.replace(/ove/g, 'uv');
.replace(/ove/g, 'uv')
.replace(/\!+/g, ` ${faces[Math.floor(Math.random() * faces.length)]} `)
.trim();
}
};