diff --git a/scripty_commands/src/cmds/admin/shutdown.rs b/scripty_commands/src/cmds/admin/shutdown.rs index 3cab5fd..c36392d 100644 --- a/scripty_commands/src/cmds/admin/shutdown.rs +++ b/scripty_commands/src/cmds/admin/shutdown.rs @@ -40,12 +40,12 @@ pub async fn shutdown(ctx: Context<'_>) -> Result<(), Error> { // notify the guild // need to fetch from redis - let webhook_id = scripty_redis::run_transaction::("GET", |f| { + let webhook_id = scripty_redis::run_transaction::("GETDEL", |f| { f.arg(format!("voice:{{{}}}:webhook_id", guild_id)); }) .await .map(WebhookId::new)?; - let webhook_token = scripty_redis::run_transaction::("GET", |f| { + let webhook_token = scripty_redis::run_transaction::("GETDEL", |f| { f.arg(format!("voice:{{{}}}:webhook_token", guild_id)); }) .await?;