diff options
| author | Andrew Lee <alee14498@gmail.com> | 2019-10-27 00:57:25 -0400 |
|---|---|---|
| committer | Andrew Lee <alee14498@gmail.com> | 2019-10-27 00:57:25 -0400 |
| commit | 5d778acf2066546de30f53d4d10c92a043a44a3a (patch) | |
| tree | 6c8d0483bb4d8f1bc4bbc56ad07b660a2b61f968 /commands/Pokemon | |
| parent | 9ded638b5cdde0cc7b62b5f67d83cbb84b58c3a6 (diff) | |
| download | PokeBot-5d778acf2066546de30f53d4d10c92a043a44a3a.tar.gz PokeBot-5d778acf2066546de30f53d4d10c92a043a44a3a.tar.bz2 PokeBot-5d778acf2066546de30f53d4d10c92a043a44a3a.zip | |
Pokestore...?
Diffstat (limited to 'commands/Pokemon')
| -rw-r--r-- | commands/Pokemon/lsitem.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/commands/Pokemon/lsitem.js b/commands/Pokemon/lsitem.js index 6956ef2..fbdc4a0 100644 --- a/commands/Pokemon/lsitem.js +++ b/commands/Pokemon/lsitem.js @@ -12,12 +12,12 @@ exports.run = async (bot, msg, args) => { const { RichEmbed } = require('discord.js'); const data = args.join(' ').split('|'); - const msgs = await bot.channels.find('id', '428738848420397057').fetchMessages({ limit: 10 }); + const msgs = await bot.channels.find('id', '637877120185532416').fetchMessages({ limit: 10 }); const mess = msgs.first(); if (!mess.embeds) return; const id = parseInt(mess.embeds[0].author.name.split(':')[1]) + 1; - bot.channels.find('id', '428738848420397057').send( + bot.channels.find('id', '637877120185532416').send( new RichEmbed() .setTitle('A new pokemon is up for sale!') .setAuthor('ID: ' + id) |
