More Replacements in Anime and Manga

This commit is contained in:
Daniel Odendahl Jr
2017-05-21 15:55:47 +00:00
parent c8d32ee4f6
commit 28a1fa6716
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -40,7 +40,8 @@ module.exports = class AnimeCommand extends Command {
.replace(/(—)/g, '—')
.replace(/(")/g, '"')
.replace(/(&)/g, '&')
.replace(/(")/g, '"');
.replace(/(")/g, '"')
.replace(/(\[i\]|\[\/i\])/g, '*');
const embed = new RichEmbed()
.setColor(0x2D54A2)
.setAuthor('My Anime List', 'https://i.imgur.com/R4bmNFz.png')
+2 -1
View File
@@ -40,7 +40,8 @@ module.exports = class MangaCommand extends Command {
.replace(/(—)/g, '—')
.replace(/(")/g, '"')
.replace(/(&)/g, '&')
.replace(/(")/g, '"');
.replace(/(")/g, '"')
.replace(/(\[i\]|\[\/i\])/g, '*');
const embed = new RichEmbed()
.setColor(0x2D54A2)
.setAuthor('My Anime List', 'https://i.imgur.com/R4bmNFz.png')