webex-bot 0.4.6__tar.gz → 0.4.7__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. {webex_bot-0.4.6 → webex_bot-0.4.7}/PKG-INFO +5 -1
  2. {webex_bot-0.4.6 → webex_bot-0.4.7}/README.md +4 -0
  3. {webex_bot-0.4.6 → webex_bot-0.4.7}/setup.cfg +1 -1
  4. {webex_bot-0.4.6 → webex_bot-0.4.7}/setup.py +1 -1
  5. {webex_bot-0.4.6 → webex_bot-0.4.7}/webex_bot/__init__.py +1 -1
  6. {webex_bot-0.4.6 → webex_bot-0.4.7}/webex_bot/webex_bot.py +6 -8
  7. {webex_bot-0.4.6 → webex_bot-0.4.7}/webex_bot.egg-info/PKG-INFO +5 -1
  8. {webex_bot-0.4.6 → webex_bot-0.4.7}/CONTRIBUTING.rst +0 -0
  9. {webex_bot-0.4.6 → webex_bot-0.4.7}/LICENSE +0 -0
  10. {webex_bot-0.4.6 → webex_bot-0.4.7}/MANIFEST.in +0 -0
  11. {webex_bot-0.4.6 → webex_bot-0.4.7}/docs/Makefile +0 -0
  12. {webex_bot-0.4.6 → webex_bot-0.4.7}/docs/conf.py +0 -0
  13. {webex_bot-0.4.6 → webex_bot-0.4.7}/docs/contributing.rst +0 -0
  14. {webex_bot-0.4.6 → webex_bot-0.4.7}/docs/index.rst +0 -0
  15. {webex_bot-0.4.6 → webex_bot-0.4.7}/docs/installation.rst +0 -0
  16. {webex_bot-0.4.6 → webex_bot-0.4.7}/docs/make.bat +0 -0
  17. {webex_bot-0.4.6 → webex_bot-0.4.7}/docs/usage.rst +0 -0
  18. {webex_bot-0.4.6 → webex_bot-0.4.7}/tests/__init__.py +0 -0
  19. {webex_bot-0.4.6 → webex_bot-0.4.7}/tests/test_webex_bot.py +0 -0
  20. {webex_bot-0.4.6 → webex_bot-0.4.7}/webex_bot/cards/__init__.py +0 -0
  21. {webex_bot-0.4.6 → webex_bot-0.4.7}/webex_bot/commands/__init__.py +0 -0
  22. {webex_bot-0.4.6 → webex_bot-0.4.7}/webex_bot/commands/echo.py +0 -0
  23. {webex_bot-0.4.6 → webex_bot-0.4.7}/webex_bot/commands/help.py +0 -0
  24. {webex_bot-0.4.6 → webex_bot-0.4.7}/webex_bot/exceptions.py +0 -0
  25. {webex_bot-0.4.6 → webex_bot-0.4.7}/webex_bot/formatting.py +0 -0
  26. {webex_bot-0.4.6 → webex_bot-0.4.7}/webex_bot/models/__init__.py +0 -0
  27. {webex_bot-0.4.6 → webex_bot-0.4.7}/webex_bot/models/command.py +0 -0
  28. {webex_bot-0.4.6 → webex_bot-0.4.7}/webex_bot/models/response.py +0 -0
  29. {webex_bot-0.4.6 → webex_bot-0.4.7}/webex_bot/websockets/__init__.py +0 -0
  30. {webex_bot-0.4.6 → webex_bot-0.4.7}/webex_bot/websockets/webex_websocket_client.py +0 -0
  31. {webex_bot-0.4.6 → webex_bot-0.4.7}/webex_bot.egg-info/SOURCES.txt +0 -0
  32. {webex_bot-0.4.6 → webex_bot-0.4.7}/webex_bot.egg-info/dependency_links.txt +0 -0
  33. {webex_bot-0.4.6 → webex_bot-0.4.7}/webex_bot.egg-info/not-zip-safe +0 -0
  34. {webex_bot-0.4.6 → webex_bot-0.4.7}/webex_bot.egg-info/requires.txt +0 -0
  35. {webex_bot-0.4.6 → webex_bot-0.4.7}/webex_bot.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: webex_bot
3
- Version: 0.4.6
3
+ Version: 0.4.7
4
4
  Summary: Python package for a Webex Bot based on websockets.
5
5
  Home-page: https://github.com/fbradyirl/webex_bot
6
6
  Author: Finbarr Brady
@@ -355,6 +355,10 @@ and off you go!
355
355
  * feat(20231212): add help image size parameter (#46)
356
356
  * update websockets to 11.0.3 (#43)
357
357
 
358
+ ### 0.4.7 (2024-Apr-24)
359
+
360
+ * Fix for help_command syntax issue
361
+
358
362
  [1]: https://github.com/aaugustin/websockets
359
363
 
360
364
  [2]: https://github.com/CiscoDevNet/webexteamssdk
@@ -335,6 +335,10 @@ and off you go!
335
335
  * feat(20231212): add help image size parameter (#46)
336
336
  * update websockets to 11.0.3 (#43)
337
337
 
338
+ ### 0.4.7 (2024-Apr-24)
339
+
340
+ * Fix for help_command syntax issue
341
+
338
342
  [1]: https://github.com/aaugustin/websockets
339
343
 
340
344
  [2]: https://github.com/CiscoDevNet/webexteamssdk
@@ -1,5 +1,5 @@
1
1
  [bumpversion]
2
- current_version = 0.4.6
2
+ current_version = 0.4.7
3
3
  commit = True
4
4
  tag = True
5
5
 
@@ -38,6 +38,6 @@ setup(
38
38
  test_suite='tests',
39
39
  tests_require=test_requirements,
40
40
  url='https://github.com/fbradyirl/webex_bot',
41
- version='0.4.6',
41
+ version='0.4.7',
42
42
  zip_safe=False,
43
43
  )
@@ -1,4 +1,4 @@
1
1
  """Top-level package for Webex Bot."""
2
2
 
3
3
  __author__ = """Finbarr Brady"""
4
- __version__ = '0.4.6'
4
+ __version__ = '0.4.7'
@@ -60,24 +60,22 @@ class WebexBot(WebexWebsocketClient):
60
60
  on_card_action=self.process_incoming_card_action,
61
61
  device_url=device_url)
62
62
 
63
- # A dictionary of commands this bot listens to
64
- # Each key in the dictionary is a command, with associated help
65
- # text and callback function
66
- # By default supports 2 command, echo and help
67
-
68
63
  if help_command is None:
69
64
  self.help_command = HelpCommand(
70
65
  bot_name=bot_name,
71
66
  bot_help_subtitle=bot_help_subtitle,
72
67
  bot_help_image=self.teams.people.me().avatar)
73
- self.help_command.commands = self.commands
74
- # Set default help message
75
- self.help_message = "Hello! I understand the following commands: \n"
76
68
  else:
77
69
  self.help_command = help_command
70
+
71
+ # A dictionary of commands this bot listens to
72
+ # Each key in the dictionary is a command, with associated help
73
+ # text and callback function
74
+ # By default supports 2 command, echo and help
78
75
  self.commands = {
79
76
  self.help_command
80
77
  }
78
+
81
79
  if include_demo_commands:
82
80
  self.add_command(EchoCommand())
83
81
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: webex-bot
3
- Version: 0.4.6
3
+ Version: 0.4.7
4
4
  Summary: Python package for a Webex Bot based on websockets.
5
5
  Home-page: https://github.com/fbradyirl/webex_bot
6
6
  Author: Finbarr Brady
@@ -355,6 +355,10 @@ and off you go!
355
355
  * feat(20231212): add help image size parameter (#46)
356
356
  * update websockets to 11.0.3 (#43)
357
357
 
358
+ ### 0.4.7 (2024-Apr-24)
359
+
360
+ * Fix for help_command syntax issue
361
+
358
362
  [1]: https://github.com/aaugustin/websockets
359
363
 
360
364
  [2]: https://github.com/CiscoDevNet/webexteamssdk
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes