Implemented memcached caching
This commit is contained in:
@@ -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"
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user