v3.3.0-metars #14
@ -405,7 +405,7 @@ const functions = {
|
||||
const embed = new Discord.MessageEmbed()
|
||||
.setAuthor({ name: `${metarData.name} [${metarData.icaoId}] METAR`, iconURL: "https://aviationweather.gov/img/icons/awc-logo-180.png"})
|
||||
// .setImage("https://media.discordapp.net/stickers/1175134632845516821.webp")
|
||||
.setDescription(`**Not for real world use!**\n\n${metarData.rawOb}`)
|
||||
.setDescription(`**Do not use for real world flight planning or navigation.**`)
|
||||
.setFooter({ text: "METAR by AviationWeather.gov for CumbHub LLC" })
|
||||
.addFields(
|
||||
{ name: 'Observation Time', value: `${metarData.reportTime}Z`, inline: true },
|
||||
@ -415,7 +415,7 @@ const functions = {
|
||||
{ name: 'Clouds', value: clouds.join('\n'), inline: true },
|
||||
{ name: 'Altimeter', value: `${altim} inHg`, inline: true }
|
||||
)
|
||||
return { embeds: [embed] };
|
||||
return { body: metarData.rawOb, embeds: [embed] };
|
||||
},
|
||||
datis(datisData) {
|
||||
const messageEmbed = new Discord.MessageEmbed()
|
||||
|
Loading…
Reference in New Issue
Block a user