0
0
Fork 0

refactor: remove LycheeBridge Branding

This commit is contained in:
オスカー、 2024-12-05 14:49:59 +09:00
parent f124e4c561
commit 7e7e06ccac
No known key found for this signature in database
GPG key ID: 8947F3AF5B0B4BFE
13 changed files with 34 additions and 27 deletions

View file

@ -38,7 +38,7 @@ export const work = async () => {
await calculateAllRating(groupedUsers);
}
catch (e) {
printLog('Misskey Tools with LycheeBridge 레이팅 계산에 실패했습니다.', 'error');
printLog('Misskey Tools 레이팅 계산에 실패했습니다.', 'error');
printLog(e instanceof Error ? errorToString(e) : JSON.stringify(e, null, ' '), 'error');
Store.dispatch({ nowCalculating: false });
}
@ -51,10 +51,10 @@ export const work = async () => {
printLog(`${users.length}개의 계정에 알림을 전송하고 있습니다.`);
await sendAllAlerts(groupedUsers);
} catch (e) {
printLog('Misskey Tools with LycheeBridge 알림 전송에 실패했습니다.', 'error');
printLog('Misskey Tools 알림 전송에 실패했습니다.', 'error');
printLog(e instanceof Error ? errorToString(e) : JSON.stringify(e, null, ' '), 'error');
} finally {
printLog('Misskey Tools with LycheeBridge 알림 전송이 완료되었습니다.');
printLog('Misskey Tools 알림 전송이 완료되었습니다.');
}
};
@ -124,7 +124,7 @@ const sendAlerts = async (host: string, users: User[]) => {
try {
await sendNotificationAlert(message, user);
} catch (e) {
printLog('Misskey Tools with LycheeBridge 알림 전송에 실패했습니다.', 'error');
printLog('Misskey Tools 알림 전송에 실패했습니다.', 'error');
printLog(e instanceof Error ? errorToString(e) : JSON.stringify(e, null, ' '), 'error');
} finally {
if (user.alertMode === 'notification') {
@ -138,7 +138,7 @@ const sendAlerts = async (host: string, users: User[]) => {
try {
await sendNoteAlert(message, user);
} catch (e) {
printLog('Misskey Tools with LycheeBridge 알림 전송에 실패했습니다.', 'error');
printLog('Misskey Tools 알림 전송에 실패했습니다.', 'error');
printLog(e instanceof Error ? errorToString(e) : JSON.stringify(e, null, ' '), 'error');
} finally {
await Promise.all([