Use vxreddit for embedded video playback
This commit is contained in:
parent
9f573f53ac
commit
ebf8bf1cb2
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -1514,7 +1514,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "shibe-bot"
|
name = "shibe-bot"
|
||||||
version = "0.2.6"
|
version = "0.3.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"build-time",
|
"build-time",
|
||||||
"dotenvy",
|
"dotenvy",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "shibe-bot"
|
name = "shibe-bot"
|
||||||
version = "0.2.6"
|
version = "0.3.0"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# Shibe Bot 0.2.6
|
# Shibe Bot 0.3.0
|
||||||
|
|
||||||
[](https://github.com/shibedrill/shibe-bot/actions/workflows/rust.yml)
|
[](https://github.com/shibedrill/shibe-bot/actions/workflows/rust.yml)
|
||||||
[](LICENSE.txt)
|
[](LICENSE.txt)
|
||||||
|
@ -154,7 +154,7 @@ pub async fn deer(ctx: Context<'_>) -> Result<(), Error> {
|
|||||||
error!("Executing command `deer` failed: {}", e)
|
error!("Executing command `deer` failed: {}", e)
|
||||||
})?
|
})?
|
||||||
};
|
};
|
||||||
ctx.say(format!("https://reddit.com{}", &chosen_post.data.permalink))
|
ctx.say(format!("https://vxreddit.com{}", &chosen_post.data.permalink))
|
||||||
.await?;
|
.await?;
|
||||||
info!("Executed command `deer` successfully");
|
info!("Executed command `deer` successfully");
|
||||||
Ok(())
|
Ok(())
|
||||||
|
Loading…
Reference in New Issue
Block a user