mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-22 10:19:11 +02:00
More Replacements in Anime and Manga
This commit is contained in:
@@ -40,7 +40,8 @@ module.exports = class AnimeCommand extends Command {
|
|||||||
.replace(/(—)/g, '—')
|
.replace(/(—)/g, '—')
|
||||||
.replace(/(")/g, '"')
|
.replace(/(")/g, '"')
|
||||||
.replace(/(&)/g, '&')
|
.replace(/(&)/g, '&')
|
||||||
.replace(/(")/g, '"');
|
.replace(/(")/g, '"')
|
||||||
|
.replace(/(\[i\]|\[\/i\])/g, '*');
|
||||||
const embed = new RichEmbed()
|
const embed = new RichEmbed()
|
||||||
.setColor(0x2D54A2)
|
.setColor(0x2D54A2)
|
||||||
.setAuthor('My Anime List', 'https://i.imgur.com/R4bmNFz.png')
|
.setAuthor('My Anime List', 'https://i.imgur.com/R4bmNFz.png')
|
||||||
|
|||||||
@@ -40,7 +40,8 @@ module.exports = class MangaCommand extends Command {
|
|||||||
.replace(/(—)/g, '—')
|
.replace(/(—)/g, '—')
|
||||||
.replace(/(")/g, '"')
|
.replace(/(")/g, '"')
|
||||||
.replace(/(&)/g, '&')
|
.replace(/(&)/g, '&')
|
||||||
.replace(/(")/g, '"');
|
.replace(/(")/g, '"')
|
||||||
|
.replace(/(\[i\]|\[\/i\])/g, '*');
|
||||||
const embed = new RichEmbed()
|
const embed = new RichEmbed()
|
||||||
.setColor(0x2D54A2)
|
.setColor(0x2D54A2)
|
||||||
.setAuthor('My Anime List', 'https://i.imgur.com/R4bmNFz.png')
|
.setAuthor('My Anime List', 'https://i.imgur.com/R4bmNFz.png')
|
||||||
|
|||||||
Reference in New Issue
Block a user