Alias version to v
This commit is contained in:
parent
96e2448352
commit
bf7b3a28e1
|
|
@ -36,7 +36,7 @@ async fn ping(ctx: ManifoldContext<'_>,) -> ManifoldResult<()> {
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
#[poise::command(slash_command, prefix_command)]
|
#[poise::command(slash_command, prefix_command, aliases("v"))]
|
||||||
async fn version(ctx: ManifoldContext<'_>) -> ManifoldResult<()> {
|
async fn version(ctx: ManifoldContext<'_>) -> ManifoldResult<()> {
|
||||||
let version_string = &ctx.data().version_string;
|
let version_string = &ctx.data().version_string;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue