OH State Manager Cog¶
-
class
cogs.oh_state_manager.OHState¶ Integer enum used to represent the two states of the queue. Either open or closed
-
async
cogs.oh_state_manager.officeHoursAreClosed(context: discord.ext.commands.context.Context) → bool¶ Helper function that returns True if the queue is currecntly closed, and throws an exception if they are not closed
-
async
cogs.oh_state_manager.officeHoursAreOpen(context: discord.ext.commands.context.Context) → bool¶ Helper function that returns True if the queue is currently open, and throws an exception if they are not open