Possible fix for #13
This commit is contained in:
parent
7e2889312a
commit
7174806643
|
@ -723,6 +723,9 @@ export class VkPuppet {
|
||||||
case AttachmentType.AUDIO_MESSAGE:
|
case AttachmentType.AUDIO_MESSAGE:
|
||||||
formatted += `> 🗣️ [Audio message](${attachment["oggUrl"]})\n`;
|
formatted += `> 🗣️ [Audio message](${attachment["oggUrl"]})\n`;
|
||||||
break;
|
break;
|
||||||
|
case AttachmentType.AUDIO:
|
||||||
|
formatted += `> 🗣️ [Audio message](${attachment["oggUrl"] ?? attachment["url"]})\n`;
|
||||||
|
break;
|
||||||
case AttachmentType.DOCUMENT:
|
case AttachmentType.DOCUMENT:
|
||||||
formatted += `> 📁 [File ${attachment["title"]}](${attachment["url"]})\n`;
|
formatted += `> 📁 [File ${attachment["title"]}](${attachment["url"]})\n`;
|
||||||
break;
|
break;
|
||||||
|
@ -763,6 +766,9 @@ export class VkPuppet {
|
||||||
case AttachmentType.AUDIO_MESSAGE:
|
case AttachmentType.AUDIO_MESSAGE:
|
||||||
formatted += `> 🗣️ [Audio message](${attachment["oggUrl"]})\n`;
|
formatted += `> 🗣️ [Audio message](${attachment["oggUrl"]})\n`;
|
||||||
break;
|
break;
|
||||||
|
case AttachmentType.AUDIO:
|
||||||
|
formatted += `> 🗣️ [Audio](${attachment["oggUrl"] ?? attachment["url"]})\n`;
|
||||||
|
break;
|
||||||
case AttachmentType.DOCUMENT:
|
case AttachmentType.DOCUMENT:
|
||||||
formatted += `> 📁 [File ${attachment["title"]}](${attachment["url"]})\n`;
|
formatted += `> 📁 [File ${attachment["title"]}](${attachment["url"]})\n`;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue