Closed sokkit-io closed 1 year ago
I will take a look at refactoring docker_bootstrapper.py
a bit to support the existing EchoBot
.
To remove the BootstrapBot
I can refactor EchoBot
to support loading environment variables from the configuration
package I added before it instantiates the KikClient
. That should allow the docker container to pass values from .env
to EchoBot
(or any bot implementation) so that everything plays nice in the container.
Leave the PR open if you don't mind. I'll have changes ready later tonight or sometime this weekend.
Sure, I'll leave it open. Maybe you can have a wrapper class for EchoBot
that would use the environment variables to initiate an EchoBot
or something like that?
Alright
Thank you for this.
BootstrapBot
that's a copy of theEchoBot
or can we somehow use the originalEchoBot
?bootstrap_bot.py
todocker_bootstrap_bot.py
?