Updated info command, add readme
This commit is contained in:
parent
f13400703e
commit
8d25de691f
3
README.md
Normal file
3
README.md
Normal file
@ -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.
|
@ -36,7 +36,11 @@ 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/",
|
||||
"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?;
|
||||
|
@ -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");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user