1 parent 1b99785 commit 3ae31abCopy full SHA for 3ae31ab
2 files changed
src/commands/play.ts
@@ -81,7 +81,7 @@ export default async function play(msg: Message) {
81
82
if (await fileExists(savePath)) {
83
const media = MessageMedia.fromFilePath(savePath);
84
- await msg.reply(media);
+ await Promise.all([msg.reply(media), msg.react("")]);
85
return;
86
}
87
src/commands/video.ts
@@ -72,9 +72,13 @@ export default async function (msg: Message) {
72
73
if (await fileExists(tempPath)) {
74
const media = MessageMedia.fromFilePath(tempPath);
75
- await msg.reply(media, undefined, {
76
- caption: video.title.text,
77
- });
+
+ await Promise.all([
+ msg.reply(media, undefined, {
78
+ caption: video.title.text,
79
+ }),
80
+ msg.react(""),
+ ]);
0 commit comments