The Rocket.Chat boilerplate gives a demo of setting the bot's avatar as a config option, given as a URL.
It would be better to also allow serving a local file as the bot's avatar, parsing the file's URL from the bot's current http location root.
This would also allow using the bot's avatar in express templates, for web request result pages.
The Rocket.Chat boilerplate gives a demo of setting the bot's avatar as a config option, given as a URL. It would be better to also allow serving a local file as the bot's avatar, parsing the file's URL from the bot's current http location root.
This would also allow using the bot's avatar in express templates, for web request result pages.
Depends on #39