diff --git a/README.md b/README.md new file mode 100644 index 0000000..a0896ee --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# shibe-bot + +A discord bot using Rust and Poise. Does nothing useful right now. All code is licensed under the MIT license, see LICENSE.txt for details. diff --git a/src/command/util.rs b/src/command/util.rs index b527f7d..aced727 100644 --- a/src/command/util.rs +++ b/src/command/util.rs @@ -36,8 +36,12 @@ pub async fn age( #[poise::command(slash_command)] pub async fn info(ctx: Context<'_>) -> Result<(), Error> { ctx.say(format!( - "Shibe Bot v{} was created by Shibe Drill (@shibedrill) using Rust and Poise.\nVisit her website: https://riverdev.carrd.co\nCheck out her Github: https://github.com/shibedrill\nPoise: https://docs.rs/poise/latest/poise/\nRust: https://www.rust-lang.org/", - env!("CARGO_PKG_VERSION") + "Shibe Bot v{} was created by Shibe Drill (@shibedrill) using Rust and \ + Poise.\nVisit her website: https://riverdev.carrd.co\nCheck out her \ + Github: https://github.com/shibedrill/shibe-bot\n\ + Poise: https://docs.rs/poise/latest/poise/\n\ + Rust: https://www.rust-lang.org/", + env!("CARGO_PKG_VERSION") )) .await?; info!("Executed command `info` successfully"); diff --git a/src/main.rs b/src/main.rs index 1937032..59b7ef5 100644 --- a/src/main.rs +++ b/src/main.rs @@ -141,6 +141,12 @@ async fn main() { // Finally start everything. Nothing after this should be reachable normally. info!("Starting client"); + println!( "Shibe Bot v{} was created by Shibe Drill (@shibedrill) using Rust and \ + Poise.\nVisit her website: https://riverdev.carrd.co\nCheck out her \ + Github: https://github.com/shibedrill/shibe-bot\n\ + Poise: https://docs.rs/poise/latest/poise/\n\ + Rust: https://www.rust-lang.org/", + env!("CARGO_PKG_VERSION")); client.start().await.unwrap(); info!("All tasks finished, shutting down"); }