Skip to content

Commit cfcd45f

Browse files
committed
fix unlock discord bridge
1 parent 2207202 commit cfcd45f

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "graim",
3-
"version": "1.1.2",
3+
"version": "1.1.3",
44
"author": "luphoria",
55
"license": "Apache-2.0",
66
"description": "matrix <=> discord moderation with the power of matrix-appservice-discord",

src/commands/lock.ts

+2
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ export async function runLockCommand(
4444
}
4545

4646
channel = db.rooms[room] || null;
47+
console.log(channel);
48+
console.log(room);
4749
let error = false;
4850

4951
let power_levels = await client

src/commands/unlock.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@ export async function runUnlockCommand(
4141
room = (await client.resolveRoom(cmd[1])) || null;
4242
}
4343
}
44-
44+
channel = db.rooms[room] || null;
45+
console.log(channel);
46+
console.log(room);
4547
let error = false;
4648

4749
let power_levels = await client

0 commit comments

Comments
 (0)