Skip to content

Commit

Permalink
Update index.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
mikebenner authored Oct 23, 2024
1 parent b38432a commit e0d0051
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -333,18 +333,18 @@ const createDiscordMessage = async (packetGroup, text) => {
// console.log("maxHopStart", maxHopStart);

const content = {
username: "Mesh Bot",
username: "SoCalMesh Parrot",
avatar_url:
"https://cdn.discordapp.com/app-icons/1240017058046152845/295e77bec5f9a44f7311cf8723e9c332.png",
embeds: [
{
url: `https://meshview.armooo.net/packet_list/${packet.from}`,
url: `https://meshtastic.liamcottle.net/?node_id=${packet.from}`,
color: 6810260,
timestamp: new Date(packet.rxTime * 1000).toISOString(),

author: {
name: `${nodeInfos[nodeIdHex] ? nodeInfos[nodeIdHex].longName : "Unknown"}`,
url: `https://meshview.armooo.net/packet_list/${packet.from}`,
url: `https://meshtastic.liamcottle.net/?node_id=${packet.from}`,
icon_url: avatarUrl,
},
title: `${nodeInfos[nodeIdHex] ? nodeInfos[nodeIdHex].shortName : "UNK"}`,
Expand Down

0 comments on commit e0d0051

Please sign in to comment.