Move private things in modlog and redbot.core.errors (#6020)

This commit is contained in:
Jakub Kuczys
2025-01-27 00:49:03 +01:00
committed by GitHub
parent dcdef9d798
commit 8b1daf1ad0
6 changed files with 12 additions and 12 deletions

View File

@@ -120,7 +120,7 @@ async def _init(bot: Red):
bot.add_listener(on_audit_log_entry_create)
async def handle_auditype_key():
async def _handle_audit_type_key():
all_casetypes = {
casetype_name: {
inner_key: inner_value
@@ -162,7 +162,7 @@ async def _migrate_config(from_version: int, to_version: int):
)
if from_version < 3 <= to_version:
await handle_auditype_key()
await _handle_audit_type_key()
await _config.schema_version.set(3)
if from_version < 4 <= to_version: