mirror of
https://github.com/spacebarchat/server.git
synced 2026-10-22 17:32:30 +00:00
🐛 fix message sticker sending
This commit is contained in:
1 parent
f38ebe65ed
commit
d8f77c687e
5 files changed
+18
-4
No files matched your search
@@ -63,6 +63,7 @@ export interface MessageCreateSchema {
|
||||
payload_json?: string;
|
||||
file?: any;
|
||||
attachments?: any[]; //TODO we should create an interface for attachments
|
||||
sticker_ids?: string[];
|
||||
}
|
||||
|
||||
// https://discord.com/developers/docs/resources/channel#create-message
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
import { Router, Request, Response } from "express";
|
||||
import { route } from "@fosscord/api";
|
||||
const router = Router();
|
||||
|
||||
router.get("/subscriptions", route({}), async (req: Request, res: Response) => {
|
||||
// TODO:
|
||||
res.json([]);
|
||||
});
|
||||
|
||||
export default router;
|
||||
Reference in new issue
Block a user