feat(fediverse): add twitter crossblog [kakashi]

chore(config): update maintained nitter instances
This commit is contained in:
vulet 2023-09-04 17:56:31 +08:00
parent 12c422c324
commit 17c7f819ac
3 changed files with 16 additions and 6 deletions

View file

@ -64,6 +64,10 @@ const eventHandler = (args, roomId, command, event) => {
});
command = 'post';
break;
case 'crossblog':
args.push(roomId, event, userInput, true);
command = 'nitter'
break;
case 'proxy': case 'p':
try {
const url = new URL(userInput);