Skip to content

Enable Dynamic Values For output_to_rooms #172

Open
@kennyli92

Description

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions