Skip to content

Commit af0f9ce

Browse files
committed
fix config naming
1 parent 94c1801 commit af0f9ce

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

core/clients.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -647,7 +647,7 @@ async def edit_message(self, message_id: Union[int, str], new_content: str) -> N
647647

648648
async def _handle_attachments(self, message: Message) -> list:
649649
attachments = []
650-
in_db_storage = self.bot.config.get("in_db_storage")
650+
in_db_storage = self.bot.config.get("use_in_database_image_store")
651651
# 8 MB to bytes
652652
image_max_size = 1024 * 1024 * 8
653653

core/config.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,7 @@ class ConfigManager:
225225
"use_hoisted_top_role",
226226
"enable_presence_intent",
227227
"registry_plugins_only",
228+
"use_in_database_image_store",
228229
}
229230

230231
enums = {

0 commit comments

Comments
 (0)