dshellInterpreter 0.2.13.6__py3-none-any.whl → 0.2.13.8__py3-none-any.whl
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.
- Dshell/_DshellInterpreteur/dshell_interpreter.py +3 -3
- {dshellinterpreter-0.2.13.6.dist-info → dshellinterpreter-0.2.13.8.dist-info}/METADATA +1 -1
- {dshellinterpreter-0.2.13.6.dist-info → dshellinterpreter-0.2.13.8.dist-info}/RECORD +6 -6
- {dshellinterpreter-0.2.13.6.dist-info → dshellinterpreter-0.2.13.8.dist-info}/WHEEL +0 -0
- {dshellinterpreter-0.2.13.6.dist-info → dshellinterpreter-0.2.13.8.dist-info}/licenses/LICENSE +0 -0
- {dshellinterpreter-0.2.13.6.dist-info → dshellinterpreter-0.2.13.8.dist-info}/top_level.txt +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.
|
|
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', '
|
|
430
|
+
style = args_button.pop('style', 'primary').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
|
|
433
|
+
args_button['style'] = ButtonStyle[style]
|
|
434
434
|
args = args_button.pop('*', ())
|
|
435
435
|
b = Button(*args, **args_button)
|
|
436
436
|
|
|
@@ -10,7 +10,7 @@ Dshell/DISCORD_COMMANDS/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5N
|
|
|
10
10
|
Dshell/DISCORD_COMMANDS/utils/utils_message.py,sha256=Pn0ljyeCvRfY4tlWHrSbIsxSFZZ5J4lDaeVme3WHp9o,1239
|
|
11
11
|
Dshell/DISCORD_COMMANDS/utils/utils_thread.py,sha256=tVl4msEwrWHY-0AytI6eY3JSs-eIFUigDSJfK9mT1ww,1457
|
|
12
12
|
Dshell/_DshellInterpreteur/__init__.py,sha256=xy5-J-R3YmY99JF3NBHTRRLsComFxpjnCA5xacISctU,35
|
|
13
|
-
Dshell/_DshellInterpreteur/dshell_interpreter.py,sha256=
|
|
13
|
+
Dshell/_DshellInterpreteur/dshell_interpreter.py,sha256=addcY9lXXgDETq7qsQTJ4KHOvEEZOVWPS1E1ZARPug4,26825
|
|
14
14
|
Dshell/_DshellParser/__init__.py,sha256=ONDfhZMvClqP_6tE8SLjp-cf3pXL-auQYnfYRrHZxC4,56
|
|
15
15
|
Dshell/_DshellParser/ast_nodes.py,sha256=CXUG0rIJNh4jzMCgCcRqmQwU0WQoESQ-5FkuVtZZndM,17717
|
|
16
16
|
Dshell/_DshellParser/dshell_parser.py,sha256=73eKwY7iBzBtL6n2IxJcvtSz0xkfE5y1qEffZ2YfXXY,16913
|
|
@@ -18,8 +18,8 @@ Dshell/_DshellTokenizer/__init__.py,sha256=LIQSRhDx2B9pmPx5ADMwwD0Xr9ybneVLhHH8q
|
|
|
18
18
|
Dshell/_DshellTokenizer/dshell_keywords.py,sha256=HtrOQiND_TdM2pdNNAdjBZK2Lhzm2_9umY2dmKfFMTQ,5675
|
|
19
19
|
Dshell/_DshellTokenizer/dshell_token_type.py,sha256=gYIb2XN2YcgeRgmar_rBDS5CGmwfmxihu8mOW_d6lbE,1533
|
|
20
20
|
Dshell/_DshellTokenizer/dshell_tokenizer.py,sha256=LZGs4Ytuyx9Galazqtz32lS4Mmu9yZya1B7AzFQAQOk,7150
|
|
21
|
-
dshellinterpreter-0.2.13.
|
|
22
|
-
dshellinterpreter-0.2.13.
|
|
23
|
-
dshellinterpreter-0.2.13.
|
|
24
|
-
dshellinterpreter-0.2.13.
|
|
25
|
-
dshellinterpreter-0.2.13.
|
|
21
|
+
dshellinterpreter-0.2.13.8.dist-info/licenses/LICENSE,sha256=lNgcw1_xb7QENAQi3uHGymaFtbs0RV-ihiCd7AoLQjA,1082
|
|
22
|
+
dshellinterpreter-0.2.13.8.dist-info/METADATA,sha256=3Kg7Bg1IsJ9IustHXEqxFlm_ZCFE3Vnkwgw4GraQjV4,1151
|
|
23
|
+
dshellinterpreter-0.2.13.8.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
24
|
+
dshellinterpreter-0.2.13.8.dist-info/top_level.txt,sha256=B4CMhtmchGwPQJLuqUy0GhRG-0cUGxKL4GqEbCiB_vE,7
|
|
25
|
+
dshellinterpreter-0.2.13.8.dist-info/RECORD,,
|
|
File without changes
|
{dshellinterpreter-0.2.13.6.dist-info → dshellinterpreter-0.2.13.8.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|
|
File without changes
|