refactor: remove LycheeBridge Branding
This commit is contained in:
parent
f124e4c561
commit
7e7e06ccac
13 changed files with 34 additions and 27 deletions
|
@ -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([
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue