Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Update handleTurn/spawn to accept optional alternate adapter #1920

Closed
benbrown opened this issue Mar 3, 2020 · 0 comments
Closed

Update handleTurn/spawn to accept optional alternate adapter #1920

benbrown opened this issue Mar 3, 2020 · 0 comments
Assignees
Milestone

Comments

@benbrown
Copy link
Contributor

benbrown commented Mar 3, 2020

As it is, you can bind multiple adapters to the same Botkit controller. See this example.

However, when the bot worker is spawned, it will always use the "default" controller.adapter that is passed in or created when new Botkit() is called.

We should introduce an optional parameter to the handleTurn call which accepts an adapter that will be used to spawn bots. This is the problematic code

@benbrown benbrown self-assigned this Mar 3, 2020
@benbrown benbrown added this to the 4.6.+ milestone Mar 3, 2020
@benbrown benbrown mentioned this issue Mar 11, 2020
deepakmahakale pushed a commit to deepakmahakale/botkit that referenced this issue Oct 5, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant