edit webhook helper to replace message including attachment

This commit is contained in:
Aster Fialla
2026-02-19 13:50:15 -05:00
parent f65aeb0019
commit eb80fd2ec0
2 changed files with 30 additions and 24 deletions

View File

@@ -25,7 +25,8 @@ describe('webhookHelper', () => {
const content = "hi"
const attachments = {
size: 0,
first: () => {}
first: () => {},
foreach: jest.fn()
}
const message = {
client,