aboutsummaryrefslogtreecommitdiff
path: root/src/commands/meta.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/meta.rs')
-rw-r--r--src/commands/meta.rs28
1 files changed, 15 insertions, 13 deletions
diff --git a/src/commands/meta.rs b/src/commands/meta.rs
index d2c5564..917fbfe 100644
--- a/src/commands/meta.rs
+++ b/src/commands/meta.rs
@@ -13,15 +13,18 @@ pub async fn ping(ctx: Context<'_>) -> Result<(), Error> {
#[poise::command(prefix_command, slash_command)]
pub async fn about(ctx: Context<'_>) -> Result<(), Error> {
let current_version = env!("CARGO_PKG_VERSION");
-
- if let Err(e) = ctx.send(|m| {
- m.embed(|e| {
- e.title("Glitch");
- e
- });
- m
- }).await {
+ if let Err(e) = ctx
+ .send(|m| {
+ m.embed(|e| {
+ e.title("Glitch");
+
+ e
+ });
+ m
+ })
+ .await
+ {
return Err(e.into());
}
@@ -29,10 +32,9 @@ pub async fn about(ctx: Context<'_>) -> Result<(), Error> {
}
#[poise::command(prefix_command, slash_command, context_menu_command = "User Info")]
-pub async fn userinfo(ctx: Context<'_>,
- #[description = "The user to get info on"]
- user: serenity::User,
- ) -> Result<(), Error> {
-
+pub async fn userinfo(
+ ctx: Context<'_>,
+ #[description = "The user to get info on"] user: serenity::User,
+) -> Result<(), Error> {
Ok(())
}