diff --git a/src/matrixeventprocessor.ts b/src/matrixeventprocessor.ts index 3e20a85555195177587427e1b29d29246b7cfa62..92cdd4fb1ea205c78604d2a17b9a7200808b6a42 100644 --- a/src/matrixeventprocessor.ts +++ b/src/matrixeventprocessor.ts @@ -93,7 +93,13 @@ export class MatrixEventProcessor { } public async HandleAttachment(event: any, mxClient: any): Promise<string|Discord.FileOptions> { - const hasAttachment = ["m.image", "m.audio", "m.video", "m.file"].indexOf(event.content.msgtype) !== -1; + const hasAttachment = [ + "m.image", + "m.audio", + "m.video", + "m.file", + "m.sticker", + ].indexOf(event.content.msgtype) !== -1; if (!hasAttachment) { return ""; }