This commit is contained in:
CyberL1
2025-12-18 21:50:48 +01:00
parent 4553b1d126
commit c08765061c
2 changed files with 12 additions and 4 deletions
+10 -4
View File
@@ -1,6 +1,10 @@
{
"include": ["MessageInteractionSchema"],
"includeRe": ["^MessageComponentType\\..*"],
"include": [
"MessageInteractionSchema"
],
"includeRe": [
"^MessageComponentType\\..*"
],
"manual": [
"DefaultSchema",
"Schema",
@@ -83,7 +87,9 @@
"^Job"
],
"manualWarn": [],
"manualWarnRe": [".*<.*>$"],
"manualWarnRe": [
".*<.*>$"
],
"auto": [
{
"value": "StringSchema",
@@ -406,4 +412,4 @@
"reason": "Schema with only uppercase properties"
}
]
}
}
+2
View File
@@ -332,6 +332,8 @@ export async function handleMessage(opts: MessageOptions): Promise<Message> {
const mention_roles: string[] = [];
const mentions: string[] = [];
// TODO: mention_roles and mentions arrays - not needed it seems, but discord still returns that
message.message_snapshots = [
{
message: {