dshellInterpreter 0.2.13.6__tar.gz → 0.2.13.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.

Potentially problematic release.


This version of dshellInterpreter might be problematic. Click here for more details.

Files changed (30) hide show
  1. {dshellinterpreter-0.2.13.6 → dshellinterpreter-0.2.13.7}/Dshell/_DshellInterpreteur/dshell_interpreter.py +3 -3
  2. {dshellinterpreter-0.2.13.6/dshellInterpreter.egg-info → dshellinterpreter-0.2.13.7}/PKG-INFO +1 -1
  3. {dshellinterpreter-0.2.13.6 → dshellinterpreter-0.2.13.7/dshellInterpreter.egg-info}/PKG-INFO +1 -1
  4. {dshellinterpreter-0.2.13.6 → dshellinterpreter-0.2.13.7}/setup.py +1 -1
  5. {dshellinterpreter-0.2.13.6 → dshellinterpreter-0.2.13.7}/Dshell/DISCORD_COMMANDS/__init__.py +0 -0
  6. {dshellinterpreter-0.2.13.6 → dshellinterpreter-0.2.13.7}/Dshell/DISCORD_COMMANDS/dshell_channel.py +0 -0
  7. {dshellinterpreter-0.2.13.6 → dshellinterpreter-0.2.13.7}/Dshell/DISCORD_COMMANDS/dshell_member.py +0 -0
  8. {dshellinterpreter-0.2.13.6 → dshellinterpreter-0.2.13.7}/Dshell/DISCORD_COMMANDS/dshell_message.py +0 -0
  9. {dshellinterpreter-0.2.13.6 → dshellinterpreter-0.2.13.7}/Dshell/DISCORD_COMMANDS/dshell_pastbin.py +0 -0
  10. {dshellinterpreter-0.2.13.6 → dshellinterpreter-0.2.13.7}/Dshell/DISCORD_COMMANDS/dshell_role.py +0 -0
  11. {dshellinterpreter-0.2.13.6 → dshellinterpreter-0.2.13.7}/Dshell/DISCORD_COMMANDS/utils/__init__.py +0 -0
  12. {dshellinterpreter-0.2.13.6 → dshellinterpreter-0.2.13.7}/Dshell/DISCORD_COMMANDS/utils/utils_message.py +0 -0
  13. {dshellinterpreter-0.2.13.6 → dshellinterpreter-0.2.13.7}/Dshell/DISCORD_COMMANDS/utils/utils_thread.py +0 -0
  14. {dshellinterpreter-0.2.13.6 → dshellinterpreter-0.2.13.7}/Dshell/_DshellInterpreteur/__init__.py +0 -0
  15. {dshellinterpreter-0.2.13.6 → dshellinterpreter-0.2.13.7}/Dshell/_DshellParser/__init__.py +0 -0
  16. {dshellinterpreter-0.2.13.6 → dshellinterpreter-0.2.13.7}/Dshell/_DshellParser/ast_nodes.py +0 -0
  17. {dshellinterpreter-0.2.13.6 → dshellinterpreter-0.2.13.7}/Dshell/_DshellParser/dshell_parser.py +0 -0
  18. {dshellinterpreter-0.2.13.6 → dshellinterpreter-0.2.13.7}/Dshell/_DshellTokenizer/__init__.py +0 -0
  19. {dshellinterpreter-0.2.13.6 → dshellinterpreter-0.2.13.7}/Dshell/_DshellTokenizer/dshell_keywords.py +0 -0
  20. {dshellinterpreter-0.2.13.6 → dshellinterpreter-0.2.13.7}/Dshell/_DshellTokenizer/dshell_token_type.py +0 -0
  21. {dshellinterpreter-0.2.13.6 → dshellinterpreter-0.2.13.7}/Dshell/_DshellTokenizer/dshell_tokenizer.py +0 -0
  22. {dshellinterpreter-0.2.13.6 → dshellinterpreter-0.2.13.7}/Dshell/__init__.py +0 -0
  23. {dshellinterpreter-0.2.13.6 → dshellinterpreter-0.2.13.7}/Dshell/_utils.py +0 -0
  24. {dshellinterpreter-0.2.13.6 → dshellinterpreter-0.2.13.7}/LICENSE +0 -0
  25. {dshellinterpreter-0.2.13.6 → dshellinterpreter-0.2.13.7}/README.md +0 -0
  26. {dshellinterpreter-0.2.13.6 → dshellinterpreter-0.2.13.7}/dshellInterpreter.egg-info/SOURCES.txt +0 -0
  27. {dshellinterpreter-0.2.13.6 → dshellinterpreter-0.2.13.7}/dshellInterpreter.egg-info/dependency_links.txt +0 -0
  28. {dshellinterpreter-0.2.13.6 → dshellinterpreter-0.2.13.7}/dshellInterpreter.egg-info/requires.txt +0 -0
  29. {dshellinterpreter-0.2.13.6 → dshellinterpreter-0.2.13.7}/dshellInterpreter.egg-info/top_level.txt +0 -0
  30. {dshellinterpreter-0.2.13.6 → dshellinterpreter-0.2.13.7}/setup.cfg +0 -0
@@ -20,7 +20,7 @@ from .._DshellTokenizer.dshell_tokenizer import DshellTokenizer
20
20
 
21
21
  All_nodes = TypeVar('All_nodes', IfNode, LoopNode, ElseNode, ElifNode, ArgsCommandNode, VarNode, IdentOperationNode)
22
22
  context = TypeVar('context', AutoShardedBot, Message, PrivateChannel)
23
- ButtonStyleValues: tuple = tuple(i.value for i in ButtonStyle)
23
+ ButtonStyleValues: tuple = tuple(i.name for i in ButtonStyle)
24
24
 
25
25
  class DshellInterpreteur:
26
26
  """
@@ -427,10 +427,10 @@ def build_ui(ui_node: UiNode, interpreter: DshellInterpreteur) -> EasyModifiedVi
427
427
  args_button.pop('--*', ())
428
428
 
429
429
  code = args_button.pop('code', None)
430
- style = args_button.pop('style', 'grey').upper()
430
+ style = args_button.pop('style', 'grey').lower()
431
431
  if style not in ButtonStyleValues:
432
432
  raise ValueError(f"Button style must be one of {', '.join(ButtonStyleValues)}, not '{style}' !")
433
- args_button['style'] = ButtonStyle[style.upper()]
433
+ args_button['style'] = ButtonStyle[style]
434
434
  args = args_button.pop('*', ())
435
435
  b = Button(*args, **args_button)
436
436
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: dshellInterpreter
3
- Version: 0.2.13.6
3
+ Version: 0.2.13.7
4
4
  Summary: A Discord bot interpreter for creating custom commands and automations.
5
5
  Home-page: https://github.com/BOXERRMD/Dshell_Interpreter
6
6
  Author: Chronos
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: dshellInterpreter
3
- Version: 0.2.13.6
3
+ Version: 0.2.13.7
4
4
  Summary: A Discord bot interpreter for creating custom commands and automations.
5
5
  Home-page: https://github.com/BOXERRMD/Dshell_Interpreter
6
6
  Author: Chronos
@@ -5,7 +5,7 @@ with open("README.md", "r") as fh:
5
5
 
6
6
  setup(
7
7
  name="dshellInterpreter",
8
- version="0.2.13.6",
8
+ version="0.2.13.7",
9
9
  author="Chronos",
10
10
  author_email="vagabonwalybi@gmail.com",
11
11
  description="A Discord bot interpreter for creating custom commands and automations.",