add lamm as an alias of eval
This commit is contained in:
@@ -2,7 +2,7 @@ use crate::common::{Context, Error};
|
|||||||
use std::io::Cursor;
|
use std::io::Cursor;
|
||||||
|
|
||||||
/// Evaluates a Lamm program
|
/// Evaluates a Lamm program
|
||||||
#[poise::command(slash_command, prefix_command)]
|
#[poise::command(slash_command, prefix_command, aliases("lamm"))]
|
||||||
pub async fn eval(ctx: Context<'_>,
|
pub async fn eval(ctx: Context<'_>,
|
||||||
#[rest]
|
#[rest]
|
||||||
expr: String) -> Result<(), Error>
|
expr: String) -> Result<(), Error>
|
||||||
|
|||||||
Reference in New Issue
Block a user