mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-20 14:00:22 +02:00
Fix
This commit is contained in:
@@ -36,7 +36,7 @@ module.exports = class StocksCommand extends Command {
|
|||||||
if (body['Error Message']) return msg.say('Invalid Symbol.');
|
if (body['Error Message']) return msg.say('Invalid Symbol.');
|
||||||
const data = body['Time Series (1min)'][Object.keys(body['Time Series (1min)'])[0]];
|
const data = body['Time Series (1min)'][Object.keys(body['Time Series (1min)'])[0]];
|
||||||
const embed = new MessageEmbed()
|
const embed = new MessageEmbed()
|
||||||
.setColor()
|
.setColor(0x000000)
|
||||||
.setTitle(symbol.toUpperCase())
|
.setTitle(symbol.toUpperCase())
|
||||||
.setTimestamp()
|
.setTimestamp()
|
||||||
.addField('❯ Open',
|
.addField('❯ Open',
|
||||||
|
|||||||
Reference in New Issue
Block a user