diff options
author | Yarmo Mackenbach <yarmo@yarmo.eu> | 2022-04-06 11:28:35 +0200 |
---|---|---|
committer | Yarmo Mackenbach <yarmo@yarmo.eu> | 2022-04-06 11:28:35 +0200 |
commit | acdef4225795e7f441bac318764482d7be18de1c (patch) | |
tree | 16bfc389ba3dabb96b2cc40db53213ad505a3bbc | |
parent | 7318c847659ed968a5dddd54cfe89024c22d5284 (diff) |
Run prettier
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | src/db.js | 2 | ||||
-rw-r--r-- | src/index.js | 4 |
3 files changed, 4 insertions, 4 deletions
@@ -2,4 +2,4 @@ A Matrix bot written in NodeJS that handles shared expenses. -## Usage
\ No newline at end of file +## Usage @@ -112,7 +112,7 @@ const getBalance = async (roomId) => { let balance = { userIds: [], } - + data.rooms[roomHash] ||= { events: [] } data.rooms[roomHash].events.forEach((event) => { diff --git a/src/index.js b/src/index.js index 13296e0..04170aa 100644 --- a/src/index.js +++ b/src/index.js @@ -112,8 +112,8 @@ matrixClient.on('Room.timeline', async (event, room, toStartOfTimeline) => { ) sendMessage( room.roomId, - "!l: list the last 4 actions", - "<b>!l</b>: list the last 4 actions" + '!l: list the last 4 actions', + '<b>!l</b>: list the last 4 actions' ) sendMessage( room.roomId, |