forked from jmug/stoatchat
chore: bump and publish
This commit is contained in:
@@ -1,3 +1,3 @@
|
|||||||
#!/bin/bash
|
#!/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
|
echo "pub const VERSION: &str = \"${version}\";" > src/version.rs
|
||||||
|
|||||||
@@ -79,6 +79,8 @@ pub async fn req(user: User, target: Ref, msg: Ref, edit: Json<Data>) -> Result<
|
|||||||
set.insert("embeds", embed_docs);
|
set.insert("embeds", embed_docs);
|
||||||
message.embeds = Some(new_embeds)
|
message.embeds = Some(new_embeds)
|
||||||
} else if edit.embeds.is_some() {
|
} 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);
|
unset.insert("embeds", 1 as u32);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
pub const VERSION: &str = "0.5.3-alpha.15";
|
pub const VERSION: &str = "0.5.3-alpha.16";
|
||||||
|
|||||||
Reference in New Issue
Block a user