Implemented memcached caching

This commit is contained in:
2025-02-09 23:00:18 +01:00
parent d402c520a5
commit b3a7e3623a
20 changed files with 460 additions and 101 deletions

View File

@@ -1,14 +1,14 @@
{
"$jsonSchema": {
"required": [
"user",
"user_id",
"channel",
"content",
"stickers",
"attachments"
],
"properties": {
"user": {
"user_id": {
"bsonType": "long",
"description": "Discord ID of user"
},
@@ -17,7 +17,10 @@
"description": "Discord ID of a channel"
},
"content": {
"bsonType": ["null", "string"],
"bsonType": [
"null",
"string"
],
"description": "Text of the message"
},
"stickers": {
@@ -40,7 +43,7 @@
"format": {
"bsonType": "array"
},
"user": {
"user_id": {
"bsonType": "string"
}
}