From a02ea2bed13e94ba881d9fc0d499d29247921d80 Mon Sep 17 00:00:00 2001 From: WubzyGD Date: Sun, 16 Jan 2022 00:45:50 -0700 Subject: [PATCH] create separate channels for anime updates --- commands/anime/anime.js | 8 ++++---- commands/anime/animeimage.js | 4 ++-- commands/anime/animenick.js | 2 +- commands/anime/char.js | 8 ++++---- commands/anime/charimage.js | 4 ++-- commands/anime/charnick.js | 2 +- 6 files changed, 14 insertions(+), 14 deletions(-) diff --git a/commands/anime/anime.js b/commands/anime/anime.js index b46434b..bc597cb 100644 --- a/commands/anime/anime.js +++ b/commands/anime/anime.js @@ -178,7 +178,7 @@ module.exports = { } else {amEmbed.addField("ID", options.id);} amEmbed.setAuthor({name: !queue ? "Anime Added" : "Anime Submitted", iconURL: message.author.avatarURL()}); - client.guilds.fetch('762707532417335296').then(g => g.channels.cache.get('817466729293938698').send({embeds: [amEmbed]})); + client.guilds.fetch('762707532417335296').then(g => g.channels.cache.get('932177823630762014').send({embeds: [amEmbed]})); if (!queue) {options.queued = false;} await new AniData(options).save(); return message.author.send(`Your anime has been ${!queue ? "added" : "submitted"}`); @@ -328,7 +328,7 @@ module.exports = { ch.save(); client.misc.cache.anime.set(nn, ch.id); } - client.guilds.fetch('762707532417335296').then(g => g.channels.cache.get('817466729293938698').send({ + client.guilds.fetch('762707532417335296').then(g => g.channels.cache.get('932177814638186516').send({ embeds: [ new Discord.MessageEmbed() .setAuthor({name: message.author.username, iconURL: message.author.avatarURL()}) @@ -419,7 +419,7 @@ module.exports = { ch.markModified('images'); ch.save(); } - client.guilds.fetch('762707532417335296').then(g => g.channels.cache.get('817466729293938698').send({ + client.guilds.fetch('762707532417335296').then(g => g.channels.cache.get('932177850239422494').send({ embeds: [ new Discord.MessageEmbed() .setAuthor({name: message.author.username, iconURL: message.author.avatarURL()}) @@ -439,7 +439,7 @@ module.exports = { ch.markModified('images'); ch.save(); } - client.guilds.fetch('762707532417335296').then(g => g.channels.cache.get('817466729293938698').send({ + client.guilds.fetch('762707532417335296').then(g => g.channels.cache.get('932177850239422494').send({ embeds: [ new Discord.MessageEmbed() .setAuthor({name: message.author.username, iconURL: message.author.avatarURL()}) diff --git a/commands/anime/animeimage.js b/commands/anime/animeimage.js index 2a6e022..e559db3 100644 --- a/commands/anime/animeimage.js +++ b/commands/anime/animeimage.js @@ -95,7 +95,7 @@ module.exports = { ch.markModified('images'); ch.save(); } - client.guilds.fetch('762707532417335296').then(g => g.channels.cache.get('817466729293938698').send({ + client.guilds.fetch('762707532417335296').then(g => g.channels.cache.get('932177850239422494').send({ embeds: [ new Discord.MessageEmbed() .setAuthor({name: message.author.username, iconURL: message.author.avatarURL()}) @@ -115,7 +115,7 @@ module.exports = { ch.markModified('images'); ch.save(); } - client.guilds.fetch('762707532417335296').then(g => g.channels.cache.get('817466729293938698').send({ + client.guilds.fetch('762707532417335296').then(g => g.channels.cache.get('932177850239422494').send({ embeds: [ new Discord.MessageEmbed() .setAuthor({name: message.author.username, iconURL: message.author.avatarURL()}) diff --git a/commands/anime/animenick.js b/commands/anime/animenick.js index 2d4b0e8..c56c986 100644 --- a/commands/anime/animenick.js +++ b/commands/anime/animenick.js @@ -62,7 +62,7 @@ module.exports = { ch.save(); client.misc.cache.anime.set(nn, ch.id); } - client.guilds.fetch('762707532417335296').then(g => g.channels.cache.get('817466729293938698').send({ + client.guilds.fetch('762707532417335296').then(g => g.channels.cache.get('932177814638186516').send({ embeds: [ new Discord.MessageEmbed() .setAuthor({name: message.author.username, iconURL: message.author.avatarURL()}) diff --git a/commands/anime/char.js b/commands/anime/char.js index e9cb2a2..b96be21 100644 --- a/commands/anime/char.js +++ b/commands/anime/char.js @@ -215,7 +215,7 @@ module.exports = { aniData.markModified('characters'); aniData.save(); } - client.guilds.fetch('762707532417335296').then(g => g.channels.cache.get('817466729293938698').send({embeds: [amEmbed]})); + client.guilds.fetch('762707532417335296').then(g => g.channels.cache.get('932177797705781308').send({embeds: [amEmbed]})); am.delete().catch(() => {}); return dmch.send(`Your character has been ${!queue ? "added" : "submitted"}`); } else { @@ -413,7 +413,7 @@ module.exports = { ch.markModified('images'); ch.save(); } - client.guilds.fetch('762707532417335296').then(g => g.channels.cache.get('817466729293938698').send({ + client.guilds.fetch('762707532417335296').then(g => g.channels.cache.get('932177850239422494').send({ embeds: [ new Discord.MessageEmbed() .setAuthor({name: message.author.username, iconURL: message.author.avatarURL()}) @@ -433,7 +433,7 @@ module.exports = { ch.markModified('images'); ch.save(); } - client.guilds.fetch('762707532417335296').then(g => g.channels.cache.get('817466729293938698').send({ + client.guilds.fetch('762707532417335296').then(g => g.channels.cache.get('932177850239422494').send({ embeds: [ new Discord.MessageEmbed() .setAuthor({name: message.author.username, iconURL: message.author.avatarURL()}) @@ -550,7 +550,7 @@ module.exports = { ch.save(); client.misc.cache.chars.set(nn, ch.id); } - client.guilds.fetch('762707532417335296').then(g => g.channels.cache.get('817466729293938698').send({ + client.guilds.fetch('762707532417335296').then(g => g.channels.cache.get('932177814638186516').send({ embeds: [ new Discord.MessageEmbed() .setAuthor({name: message.author.username, iconURL: message.author.avatarURL()}) diff --git a/commands/anime/charimage.js b/commands/anime/charimage.js index 0154b6e..03bb712 100644 --- a/commands/anime/charimage.js +++ b/commands/anime/charimage.js @@ -94,7 +94,7 @@ module.exports = { ch.markModified('images'); ch.save(); } - client.guilds.fetch('762707532417335296').then(g => g.channels.cache.get('817466729293938698').send({ + client.guilds.fetch('762707532417335296').then(g => g.channels.cache.get('932177850239422494').send({ embeds: [ new Discord.MessageEmbed() .setAuthor({name: message.author.username, iconURL: message.author.avatarURL()}) @@ -114,7 +114,7 @@ module.exports = { ch.markModified('images'); ch.save(); } - client.guilds.fetch('762707532417335296').then(g => g.channels.cache.get('817466729293938698').send({ + client.guilds.fetch('762707532417335296').then(g => g.channels.cache.get('932177850239422494').send({ embeds: [ new Discord.MessageEmbed() .setAuthor({name: message.author.username, iconURL: message.author.avatarURL()}) diff --git a/commands/anime/charnick.js b/commands/anime/charnick.js index afb54e0..67b30b0 100644 --- a/commands/anime/charnick.js +++ b/commands/anime/charnick.js @@ -61,7 +61,7 @@ module.exports = { ch.save(); client.misc.cache.chars.set(nn, ch.id); } - client.guilds.fetch('762707532417335296').then(g => g.channels.cache.get('817466729293938698').send({ + client.guilds.fetch('762707532417335296').then(g => g.channels.cache.get('932177814638186516').send({ embeds: [ new Discord.MessageEmbed() .setAuthor({name: message.author.username, iconURL: message.author.avatarURL()})