Class

ERoomDirectory

ERoomDirectory()

Shows an embed with a link used for activities happening outside discord. Initial intent was to be used for sponsor booths. A specified role can open and close the rooms as they want. When rooms open, a specified role is notified.
Constructor

# new ERoomDirectory()

View Source commands/a_boothing/e-room-directory.js, line 16

Extends

Members

CommandPermissionInfo

# private permissionInfo

The permission info
Overrides:

View Source classes/permission-command.js, line 40

Methods

# async runCommand(message, botGuild)

Sends an embed same channel with the sponsor's name and link to their Zoom boothing room. The embed has 2 states: Open and Closed. In the Closed state the embed will be red and say the booth is closed, which is the default, and the bot will react to the embed with a door emoji at the beginning. In the Open state the embed will be green and say the booth is open. Any time a staff or sponsor clicks on that emoji, the embed changes to the other state. When a booth goes from Closed to Open, it will also notify a role (specified by the user) that it is open.
Parameters:
Name Type Description
message Message messaged that called this command
botGuild BotGuildModel
Overrides:

View Source commands/a_boothing/e-room-directory.js, line 41