Alias version to v

This commit is contained in:
Xyon 2023-08-24 23:21:27 +01:00
parent 96e2448352
commit bf7b3a28e1
Signed by: xyon
GPG Key ID: DD18155D6B18078D
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ async fn ping(ctx: ManifoldContext<'_>,) -> ManifoldResult<()> {
Ok(())
}
#[poise::command(slash_command, prefix_command)]
#[poise::command(slash_command, prefix_command, aliases("v"))]
async fn version(ctx: ManifoldContext<'_>) -> ManifoldResult<()> {
let version_string = &ctx.data().version_string;