Skip to content

Enable Dynamic Values For output_to_rooms #172

@kennyli92

Description

@kennyli92

Report

What did you do?

# meta
name: announce
active: true
# trigger and args
respond: announce
args:
  - message
  - channel
# response
format_output: "${message}"
direct_message_only: false

output_to_rooms:
  - ${channel}
# help
help_text: announces <message>
include_in_help: true

What did you expect to happen?

I expected @bot announce <channel> <message> will allow me to redirect a message to the specified channel.

What happened instead?

In the logs, I'm seeing "Could not configure output room: Variable 'channel' has not been defined.". TAP deployment is also failing.

Your Environment

Please complete the following information):

  • Flottbot version: 0.6.0

Additional context

Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions