chore(cmd): add proxy shorthand
This commit is contained in:
parent
54631f5c2a
commit
472552c33b
1 changed files with 1 additions and 1 deletions
2
utils.js
2
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)
|
||||
|
|
Loading…
Reference in a new issue