From 5ce52732bb608129ddf91a7cbc1f9a94b524cadf Mon Sep 17 00:00:00 2001 From: shibedrill Date: Tue, 1 Oct 2024 19:56:35 -0400 Subject: [PATCH] forgot to register the goddamn update command --- src/command/devel.rs | 2 +- src/main.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/command/devel.rs b/src/command/devel.rs index 1fc5027..5264452 100644 --- a/src/command/devel.rs +++ b/src/command/devel.rs @@ -3,7 +3,7 @@ use build_time::build_time_local; use crate::Context; use crate::Error; -/// Update the bot from anywhere, using systemd service +/// Update the bot remotely (Requires updater systemd service) #[poise::command(slash_command, owners_only, hide_in_help)] pub async fn update(ctx: Context<'_>) -> Result<(), Error> { let command_result = std::process::Command::new("systemd") diff --git a/src/main.rs b/src/main.rs index 2b7235e..3ba4a20 100644 --- a/src/main.rs +++ b/src/main.rs @@ -123,6 +123,7 @@ async fn main() { shutdown(), restart(), say(), + update(), // Fun meow(), whack(),