feat: message.ts service

This commit is contained in:
PrimarchPaul
2025-09-27 15:51:33 -04:00
parent 5634518cd3
commit 74f4e076ce
5 changed files with 111 additions and 7 deletions

View File

@@ -3,7 +3,6 @@ import { sendMessageToChannel, removeMessageFromChannel } from "../services/real
import { success } from "zod";
export async function postMessageToChannel(
io: any,
c: Context
@@ -114,7 +113,7 @@ export async function deleteMessageFromChannel(
message: "Message deleted successfully",
status: 200
})
} catch (err) {
const errMessage = err as Error;
@@ -125,4 +124,4 @@ export async function deleteMessageFromChannel(
status: 500
});
}
}
}