From 87c8ce4d154b703776b93ba6aaef2cf06d6955f8 Mon Sep 17 00:00:00 2001 From: ErrorNoInternet Date: Tue, 31 Jan 2023 13:51:28 +0800 Subject: [PATCH] Add more aliases --- src/bot.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bot.rs b/src/bot.rs index 469909d..78f46c8 100644 --- a/src/bot.rs +++ b/src/bot.rs @@ -79,7 +79,7 @@ pub async fn process_command( "whitelist" => command = Command::Whitelist, "whitelist_add" => command = Command::WhitelistAdd, "whitelist_remove" => command = Command::WhitelistRemove, - "last_location" => command = Command::LastLocation, + "last_location" | "last_position" => command = Command::LastLocation, "last_online" => command = Command::LastOnline, "follow_player" => command = Command::FollowPlayer, "stop_follow_player" => command = Command::StopFollowPlayer,