diff --git a/data/current_radar.gif b/data/current_radar.gif index 049f085..2d908a1 100644 Binary files a/data/current_radar.gif and b/data/current_radar.gif differ diff --git a/src/index.js b/src/index.js index 28e66b9..5a70c35 100644 --- a/src/index.js +++ b/src/index.js @@ -74,11 +74,11 @@ client.on('ready', () => { let date = new Date().toLocaleString('th-TH'); - let caption = `# Weather Update\n## ${date}\n${radar_caption}` + let caption = `# Raindar Update\n## ${date}\n${radar_caption}\n\nImages: GIF (left) - Static Image (right)` let message = await channel.send({ content: caption, - files: [curr_image_path] + files: [curr_image_path, "https://weather.bangkok.go.th/Images/Radar/radarh.jpg"] }); let message_id = message.id; @@ -109,11 +109,11 @@ client.on('ready', () => { let date = new Date().toLocaleString('th-TH'); - let caption = `# Weather Update\n## ${date}\n${radar_caption}` + let caption = `# Raindar Update\n## ${date}\n${radar_caption}\n\nImages: GIF (left) - Static Image (right)` let message = await channel.send({ content: caption, - files: [curr_image_path] + files: [curr_image_path, "https://weather.bangkok.go.th/Images/Radar/radarh.jpg"] }); console.log(`Sent ${message.id}: ${message.content}`);