intel-screenbot

An Ingress Intel Map Bot for Hangoutsbot
git clone git://archive.git.mtrnord.blog/MTRNord/intel-screenbot.git
Log | Files | Refs | README | LICENSE

commit 663f60d1aeacd193d22116608f57001e0096e3b9
parent c59677fb4530359e4e0a05d685f5e4161c7fe71a
Author: Marcel <MTRNord@users.noreply.github.com>
Date:   Mon, 27 Feb 2017 09:35:59 +0100

Update to a newer function
Diffstat:
M__init__.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/__init__.py b/__init__.py @@ -94,7 +94,7 @@ def _screencap(url, args_filepath, filepath, filename, bot, event): if status: try: image_id = yield from bot._client.upload_image(image_data, filename=filename) - yield from bot._client.sendchatmessage(event.conv.id_, None, image_id=image_id) + yield from bot.coro_send_message(event.conv.id_, None, image_id=image_id) os.unlink(filepath) os.unlink(args_filepath) except Exception as e: