diff --git a/examples/room-bot.ts b/examples/room-bot.ts index 72c961fc6cfa7560020a73a8f0db9af09accb0d1..cbb554aed31d7d56e4e7194d561b8e7cee28f8bb 100644 --- a/examples/room-bot.ts +++ b/examples/room-bot.ts @@ -418,7 +418,7 @@ async function createDingRoom(contact: Contact): Promise { const contactList = [contact, helperContact] log.verbose('Bot', 'contactList: "%s"', contactList.join(',')) - contact.say(`There isn't ding room. I'm trying to create a room with "${helperContact.name()}" and you`) + await contact.say(`There isn't ding room. I'm trying to create a room with "${helperContact.name()}" and you`) const room = await bot.Room.create(contactList, 'ding') log.info('Bot', 'createDingRoom() new ding room created: "%s"', room)