aboutsummaryrefslogtreecommitdiff
path: root/commands/Pokemon/lsitem.js
diff options
context:
space:
mode:
authorTheEdgeNK <32907415+TheEdgeNK@users.noreply.github.com>2018-03-28 22:13:35 -0400
committerTheEdgeNK <32907415+TheEdgeNK@users.noreply.github.com>2018-03-28 22:13:35 -0400
commitcee0a01de7716325560e8e1b28abcf82bee42d1b (patch)
tree2e5993175ea47a8898e9a05cce90ccf51f01db91 /commands/Pokemon/lsitem.js
parent6abbe9820c5f7b9ee808d157096baaa7f04314ad (diff)
downloadPokeBot-cee0a01de7716325560e8e1b28abcf82bee42d1b.tar.gz
PokeBot-cee0a01de7716325560e8e1b28abcf82bee42d1b.tar.bz2
PokeBot-cee0a01de7716325560e8e1b28abcf82bee42d1b.zip
dick tits
Diffstat (limited to 'commands/Pokemon/lsitem.js')
-rw-r--r--commands/Pokemon/lsitem.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/commands/Pokemon/lsitem.js b/commands/Pokemon/lsitem.js
index b7c3f27..9e11ba0 100644
--- a/commands/Pokemon/lsitem.js
+++ b/commands/Pokemon/lsitem.js
@@ -27,7 +27,8 @@ exports.run = async (bot, msg, args) => {
const mess = msgs.first();
if (!mess.embeds) return;
const id = parseInt(mess.embeds[0].author.name.split(':')[0]);
- msg.guild.channels.get('id', '426906377001107477').send(
+
+ bot.channels.find('id', suggestionChannel).send(
new RichEmbed()
.setTitle('A new pokemon is up for sale!')
.setAuthor('ID: ' + id)
@@ -35,7 +36,8 @@ exports.run = async (bot, msg, args) => {
.addField('Pokemon', data[0], true)
.addField('Other', data[2], true)
.addField('Seller', `<@${msg.author.id}>`, true)
- .addField('How to bid', 'DM the seller for the pokemon giving them the id, ' + id));
+ .addField('How to bid', 'DM the seller for the pokemon giving them the id, ' + id)
+ );
};
exports.conf = {