based
This commit is contained in:
parent
47f3a708b7
commit
9662133052
2
index.js
2
index.js
|
@ -5,7 +5,7 @@ const storage = new SimpleFsStorageProvider("storage.json");
|
||||||
const client = new MatrixClient(config.homeserver, config.token, storage);
|
const client = new MatrixClient(config.homeserver, config.token, storage);
|
||||||
|
|
||||||
AutojoinRoomsMixin.setupOnClient(client);
|
AutojoinRoomsMixin.setupOnClient(client);
|
||||||
client.start().then(() => console.log(`real`));
|
client.start().then(() => console.log(`based`));
|
||||||
|
|
||||||
client.on("room.message", (roomId, event) => {
|
client.on("room.message", (roomId, event) => {
|
||||||
if (!event["content"] || event["sender"] === config.user) return;
|
if (!event["content"] || event["sender"] === config.user) return;
|
||||||
|
|
Loading…
Reference in a new issue