Exemple #1
0
def send_completion_message(*, session_code, participant_code):
    group_name = channel_utils.browser_bots_launcher_group(session_code)

    channel_utils.sync_group_send_wrapper(
        group=group_name,
        type='send_completion_message',
        event={'text': participant_code},
    )
Exemple #2
0
def send_completion_message(*, session_code, participant_code):
    group_name = channel_utils.browser_bots_launcher_group(session_code)
    # don't need to put in JSON since it's just a participant code
    channels.Group(group_name).send({'text': participant_code})
Exemple #3
0
 def group_name(self, session_code):
     return channel_utils.browser_bots_launcher_group(session_code)
Exemple #4
0
def send_completion_message(*, session_code, participant_code):
    group_name = channel_utils.browser_bots_launcher_group(session_code)
    # don't need to put in JSON since it's just a participant code
    channels.Group(group_name).send({'text': participant_code})
Exemple #5
0
 def group_name(self, session_code):
     return channel_utils.browser_bots_launcher_group(session_code)