Skip to content
This repository has been archived by the owner on Aug 22, 2023. It is now read-only.

Commit

Permalink
Merge pull request #77 from networktocode-llc/mattv
Browse files Browse the repository at this point in the history
Test image download
  • Loading branch information
matt852 authored Jul 15, 2021
2 parents 33e18a9 + a1b9b8b commit 9aeb8f4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Binary file added nautobot_plugin_chatops_panorama/img/image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 5 additions & 5 deletions nautobot_plugin_chatops_panorama/worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,11 +163,11 @@ def get_version(dispatcher):
return CommandStatusChoices.STATUS_SUCCEEDED


# @subcommand_of("panorama")
# def i_love_you(dispatcher, **kwargs):
# """When you want to tell Panorama how much you love it."""
# dispatcher.send_image("nautobot_plugin_chatops_panorama/img/han-solo-i-know.jpg")
# return CommandStatusChoices.STATUS_SUCCEEDED
@subcommand_of("panorama")
def get_image(dispatcher, **kwargs):
"""When you want to tell Panorama how much you love it."""
dispatcher.send_image("nautobot_plugin_chatops_panorama/img/image.jpg")
return CommandStatusChoices.STATUS_SUCCEEDED


@subcommand_of("panorama")
Expand Down

0 comments on commit 9aeb8f4

Please sign in to comment.