chore: bump and publish

This commit is contained in:
Paul Makles
2022-01-15 11:09:05 +00:00
parent 8be51dc4f0
commit ab4c3f913e
3 changed files with 4 additions and 2 deletions

View File

@@ -1,3 +1,3 @@
#!/bin/bash
export version=0.5.3-alpha.15
export version=0.5.3-alpha.16
echo "pub const VERSION: &str = \"${version}\";" > src/version.rs

View File

@@ -79,6 +79,8 @@ pub async fn req(user: User, target: Ref, msg: Ref, edit: Json<Data>) -> Result<
set.insert("embeds", embed_docs);
message.embeds = Some(new_embeds)
} else if edit.embeds.is_some() {
let obj = update.as_object_mut().unwrap();
obj.insert("embeds".to_string(), json!([]));
unset.insert("embeds", 1 as u32);
}

View File

@@ -1 +1 @@
pub const VERSION: &str = "0.5.3-alpha.15";
pub const VERSION: &str = "0.5.3-alpha.16";