Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple replies #23

Open
1stvamp opened this issue May 12, 2015 · 0 comments
Open

Multiple replies #23

1stvamp opened this issue May 12, 2015 · 0 comments

Comments

@1stvamp
Copy link
Owner

1stvamp commented May 12, 2015

Currently you can cheat in doing multiple directed replies by just returning a big string with replies on each line, but this is hacky and we can do better.

The better solution would be to allow returning an iterable (tuple, list, generator etc.) from a command, and each is replied in turn.

For @directmd these would all respond to the original user, and just straight posts for @botcmd and @contentcmd.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant