add warning that the bot is a MIM
This commit is contained in:
parent
b495dc94dc
commit
9121f23553
1 changed files with 3 additions and 3 deletions
|
@ -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")) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue