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

Test image download #77

Merged
merged 1 commit into from
Jul 15, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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