forgot to register the goddamn update command

This commit is contained in:
August 2024-10-01 19:56:35 -04:00
parent 255c503374
commit 5ce52732bb
Signed by: shibedrill
GPG Key ID: 5FE0CB25945EFAA2
2 changed files with 2 additions and 1 deletions

View File

@ -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")

View File

@ -123,6 +123,7 @@ async fn main() {
shutdown(),
restart(),
say(),
update(),
// Fun
meow(),
whack(),