Gist db569066a21ec6afce10f185d9c1f60b
✓ Published0🌍 Public
UUtopiah
Last edited May 5, 2020
Created on May 5, 2020
This example demonstrates a text-based bot connecting to a Mozilla Hubs room, logging presence updates and chat messages, and sending a greeting after a delay. It uses the ReticulumClient and HubState classes from the Hubs Discord Bot libraries to establish a Phoenix channel connection, while HubStats and PresenceRollups track room occupancy over time. The bot reads configuration from dotenv files and logs timestamped events to the console, showing real-time hub activity without any visual rendering.
AI-generated description