From 472552c33bd3286f9efd650e0d8c27c55f22fc0e Mon Sep 17 00:00:00 2001 From: vulet Date: Mon, 7 Jun 2021 15:36:07 +0800 Subject: [PATCH] chore(cmd): add proxy shorthand --- utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils.js b/utils.js index 6d92a8d..ac60bb7 100644 --- a/utils.js +++ b/utils.js @@ -46,7 +46,7 @@ const eventHandler = (args, roomId, command, event) => { }); command = 'post'; break; - case 'proxy': + case 'proxy': case 'p': try { const url = new URL(userInput); command = config.invidious.domains.includes(url.hostname)