forgot to register the goddamn update command
This commit is contained in:
parent
255c503374
commit
5ce52732bb
@ -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")
|
||||
|
@ -123,6 +123,7 @@ async fn main() {
|
||||
shutdown(),
|
||||
restart(),
|
||||
say(),
|
||||
update(),
|
||||
// Fun
|
||||
meow(),
|
||||
whack(),
|
||||
|
Loading…
Reference in New Issue
Block a user