Skip to content
This repository was archived by the owner on Sep 29, 2025. It is now read-only.

Commit c7a54ad

Browse files
committed
fix(commands/settings): register settings for new user with default modules
1 parent cc653ef commit c7a54ad

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/bot/commands/settings.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ pub async fn settings_command_handler(bot: Bot, message: Message) -> Result<(),
1414
}
1515
.to_string();
1616

17-
let settings_doc = Settings::get_or_create(&Owner {
17+
let settings_doc = Settings::create_with_defaults(&Owner {
1818
id: owner_id.clone(),
1919
r#type: owner_type.clone(),
2020
})

0 commit comments

Comments
 (0)