diff --git a/src/commands/zeon_message.ts b/src/commands/zeon_message.ts index e112055..9ce5ff6 100644 --- a/src/commands/zeon_message.ts +++ b/src/commands/zeon_message.ts @@ -184,14 +184,14 @@ export default class Message implements Command { }); break; } - for(const r of [...aiReq.reactions, aiReq.type]) { - try { - await app.client.reactions.add({ - channel: event.channel, - timestamp: event.ts, - name: aiReq.type, - }); - } catch (e) {} + for (const r of [...aiReq.reactions, aiReq.type]) { + try { + await app.client.reactions.add({ + channel: event.channel, + timestamp: event.ts, + name: aiReq.type, + }); + } catch (e) {} } } catch (e) { app.client.chat.postMessage({ diff --git a/src/modules/watchMyIrl.ts b/src/modules/watchMyIrl.ts index 2919079..15f08d2 100644 --- a/src/modules/watchMyIrl.ts +++ b/src/modules/watchMyIrl.ts @@ -38,7 +38,11 @@ export async function watchTimezone(app: ModifiedApp, data: IrlData) { m: m.ts, }); } else { - if (app.db.get(`tz`) && !mainTimezone.includes(app.db.get('tz')) && mainTimezone.includes(tz)) { + if ( + app.db.get(`tz`) && + !mainTimezone.includes(app.db.get("tz")) && + mainTimezone.includes(tz) + ) { await app.client.chat.postMessage({ thread_ts: app.db.get(`tz`).m, text: `Neon is back to his normal tz`,