feat: reimplement voice chat

This commit is contained in:
Paul Makles
2022-04-21 20:34:43 +01:00
parent 350bd9c0be
commit 180ac67056
3 changed files with 86 additions and 6 deletions

View File

@@ -99,7 +99,7 @@ pub async fn edit_bot(
}
}
db.update_bot(&bot.id, &partial, remove.unwrap_or_else(Vec::new))
db.update_bot(&bot.id, &partial, remove.unwrap_or_default())
.await?;
bot.apply_options(partial);