add warning that the bot is a MIM

This commit is contained in:
Entwicklung 2023-12-11 17:06:11 +01:00
parent b495dc94dc
commit 9121f23553

View file

@ -60,12 +60,12 @@ async function handleCommand(roomId, event) {
let body = event['content']['body']; let body = event['content']['body'];
body = body.toLowerCase(); body = body.toLowerCase();
if (body?.startsWith("!jitsi")) { if (body?.startsWith("!jitsi")) {
await conferenceUtil.sendMessageWithUrl(roomId); conferenceUtil.sendMessageWithUrl(roomId);
await conferenceUtil.changeRoomName(roomId); conferenceUtil.changeRoomName(roomId);
} }
if (body?.startsWith("!join")) { if (body?.startsWith("!join")) {
await conferenceUtil.sendJoinConference(roomId); conferenceUtil.sendJoinConference(roomId);
} }
if (body?.startsWith("!hilfe")) { if (body?.startsWith("!hilfe")) {