From 9a6b374406d32b4cce2061d794758de6c8ce8e5d Mon Sep 17 00:00:00 2001 From: shibedrill Date: Tue, 1 Oct 2024 20:03:08 -0400 Subject: [PATCH] fixed wrong systemctl command --- Cargo.toml | 2 +- README.md | 2 +- src/command/devel.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index d8f6e19..7cfa9d2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ name = "shibe-bot" description = "A Discord bot written in Rust, using Poise." license = "MIT" readme = "README.md" -version = "0.3.3" +version = "0.3.4" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/README.md b/README.md index 1e2d0fa..dce9411 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Shibe Bot 0.3.3 +# Shibe Bot 0.3.4 [![Rust](https://github.com/shibedrill/shibe-bot/actions/workflows/rust.yml/badge.svg)](https://github.com/shibedrill/shibe-bot/actions/workflows/rust.yml) [![GitHub License](https://img.shields.io/github/license/shibedrill/shibe-bot)](LICENSE.txt) diff --git a/src/command/devel.rs b/src/command/devel.rs index 5264452..c4265ce 100644 --- a/src/command/devel.rs +++ b/src/command/devel.rs @@ -6,7 +6,7 @@ use crate::Error; /// 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") + let command_result = std::process::Command::new("systemctl") .arg("--user") .arg("restart") .arg("shibe-bot-update.service")