* Make max website preview download size for embeds configurable

* Fix Message.update call throwing 'Cannot query across one-to-many for property attachments'
This commit is contained in:
Madeline
2022-07-09 16:01:32 +10:00
parent 4476e9c6bc
commit 6b5e48167c
2 changed files with 8 additions and 3 deletions
+2
View File
@@ -85,6 +85,7 @@ export interface ConfigValue {
maxReactions: number;
maxAttachmentSize: number;
maxBulkDelete: number;
maxEmbedDownloadSize: number;
};
channel: {
maxPins: number;
@@ -249,6 +250,7 @@ export const DefaultConfigOptions: ConfigValue = {
maxTTSCharacters: 200,
maxReactions: 20,
maxAttachmentSize: 8388608,
maxEmbedDownloadSize: 1024 * 1024 * 5,
maxBulkDelete: 100,
},
channel: {