dshellInterpreter 0.2.14.3__tar.gz → 0.2.14.5__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.
- {dshellinterpreter-0.2.14.3 → dshellinterpreter-0.2.14.5}/Dshell/_DshellInterpreteur/dshell_interpreter.py +6 -6
- {dshellinterpreter-0.2.14.3 → dshellinterpreter-0.2.14.5}/Dshell/_DshellParser/dshell_parser.py +0 -2
- {dshellinterpreter-0.2.14.3/dshellInterpreter.egg-info → dshellinterpreter-0.2.14.5}/PKG-INFO +1 -1
- {dshellinterpreter-0.2.14.3 → dshellinterpreter-0.2.14.5/dshellInterpreter.egg-info}/PKG-INFO +1 -1
- {dshellinterpreter-0.2.14.3 → dshellinterpreter-0.2.14.5}/setup.py +1 -1
- {dshellinterpreter-0.2.14.3 → dshellinterpreter-0.2.14.5}/Dshell/DISCORD_COMMANDS/__init__.py +0 -0
- {dshellinterpreter-0.2.14.3 → dshellinterpreter-0.2.14.5}/Dshell/DISCORD_COMMANDS/dshell_channel.py +0 -0
- {dshellinterpreter-0.2.14.3 → dshellinterpreter-0.2.14.5}/Dshell/DISCORD_COMMANDS/dshell_interaction.py +0 -0
- {dshellinterpreter-0.2.14.3 → dshellinterpreter-0.2.14.5}/Dshell/DISCORD_COMMANDS/dshell_member.py +0 -0
- {dshellinterpreter-0.2.14.3 → dshellinterpreter-0.2.14.5}/Dshell/DISCORD_COMMANDS/dshell_message.py +0 -0
- {dshellinterpreter-0.2.14.3 → dshellinterpreter-0.2.14.5}/Dshell/DISCORD_COMMANDS/dshell_pastbin.py +0 -0
- {dshellinterpreter-0.2.14.3 → dshellinterpreter-0.2.14.5}/Dshell/DISCORD_COMMANDS/dshell_role.py +0 -0
- {dshellinterpreter-0.2.14.3 → dshellinterpreter-0.2.14.5}/Dshell/DISCORD_COMMANDS/utils/__init__.py +0 -0
- {dshellinterpreter-0.2.14.3 → dshellinterpreter-0.2.14.5}/Dshell/DISCORD_COMMANDS/utils/utils_message.py +0 -0
- {dshellinterpreter-0.2.14.3 → dshellinterpreter-0.2.14.5}/Dshell/DISCORD_COMMANDS/utils/utils_thread.py +0 -0
- {dshellinterpreter-0.2.14.3 → dshellinterpreter-0.2.14.5}/Dshell/_DshellInterpreteur/__init__.py +0 -0
- {dshellinterpreter-0.2.14.3 → dshellinterpreter-0.2.14.5}/Dshell/_DshellParser/__init__.py +0 -0
- {dshellinterpreter-0.2.14.3 → dshellinterpreter-0.2.14.5}/Dshell/_DshellParser/ast_nodes.py +0 -0
- {dshellinterpreter-0.2.14.3 → dshellinterpreter-0.2.14.5}/Dshell/_DshellTokenizer/__init__.py +0 -0
- {dshellinterpreter-0.2.14.3 → dshellinterpreter-0.2.14.5}/Dshell/_DshellTokenizer/dshell_keywords.py +0 -0
- {dshellinterpreter-0.2.14.3 → dshellinterpreter-0.2.14.5}/Dshell/_DshellTokenizer/dshell_token_type.py +0 -0
- {dshellinterpreter-0.2.14.3 → dshellinterpreter-0.2.14.5}/Dshell/_DshellTokenizer/dshell_tokenizer.py +0 -0
- {dshellinterpreter-0.2.14.3 → dshellinterpreter-0.2.14.5}/Dshell/__init__.py +0 -0
- {dshellinterpreter-0.2.14.3 → dshellinterpreter-0.2.14.5}/Dshell/_utils.py +0 -0
- {dshellinterpreter-0.2.14.3 → dshellinterpreter-0.2.14.5}/LICENSE +0 -0
- {dshellinterpreter-0.2.14.3 → dshellinterpreter-0.2.14.5}/README.md +0 -0
- {dshellinterpreter-0.2.14.3 → dshellinterpreter-0.2.14.5}/dshellInterpreter.egg-info/SOURCES.txt +0 -0
- {dshellinterpreter-0.2.14.3 → dshellinterpreter-0.2.14.5}/dshellInterpreter.egg-info/dependency_links.txt +0 -0
- {dshellinterpreter-0.2.14.3 → dshellinterpreter-0.2.14.5}/dshellInterpreter.egg-info/requires.txt +0 -0
- {dshellinterpreter-0.2.14.3 → dshellinterpreter-0.2.14.5}/dshellInterpreter.egg-info/top_level.txt +0 -0
- {dshellinterpreter-0.2.14.3 → dshellinterpreter-0.2.14.5}/setup.cfg +0 -0
|
@@ -510,12 +510,12 @@ def rebuild_ui(ui_node : UiNode, view: EasyModifiedViews, interpreter: DshellInt
|
|
|
510
510
|
except CustomIDNotFound:
|
|
511
511
|
raise ValueError(f"Button with custom_id '{args_button['custom_id']}' not found in the view !")
|
|
512
512
|
|
|
513
|
-
ui.
|
|
514
|
-
ui.
|
|
515
|
-
ui.
|
|
516
|
-
ui.
|
|
517
|
-
ui.
|
|
518
|
-
ui.
|
|
513
|
+
ui.label = args_button.get('label', ui.label)
|
|
514
|
+
ui.style = args_button.get('style', ui.style)
|
|
515
|
+
ui.emoji = args_button.get('emoji', ui.emoji)
|
|
516
|
+
ui.disabled = args_button.get('disabled', ui.disabled)
|
|
517
|
+
ui.url = args_button.get('url', ui.url)
|
|
518
|
+
ui.row = args_button.get('row', ui.row)
|
|
519
519
|
new_code = code if code is not None else view.get_callable_data(args_button['custom_id'])['code']
|
|
520
520
|
view.set_callable(args_button['custom_id'], _callable=ui_button_callback, data={'code': args_button.get('code', code)})
|
|
521
521
|
|
{dshellinterpreter-0.2.14.3 → dshellinterpreter-0.2.14.5}/Dshell/_DshellParser/dshell_parser.py
RENAMED
|
@@ -51,8 +51,6 @@ def parse(token_lines: list[list[Token]], start_node: ASTNode) -> tuple[list[AST
|
|
|
51
51
|
last_block = blocks[-1]
|
|
52
52
|
|
|
53
53
|
if first_token_line.type == DTT.COMMAND: # si le token est une comande
|
|
54
|
-
if len(tokens_by_line) <= 1:
|
|
55
|
-
raise Exception(f'[{first_token_line.value.upper()}] take one or more arguments on line {first_token_line.position} !')
|
|
56
54
|
body = tokens_by_line[1:] # on récupère ses arguments
|
|
57
55
|
last_block.body.append(CommandNode(first_token_line.value,
|
|
58
56
|
ArgsCommandNode(body))) # on ajoute la commande au body du dernier bloc
|
|
@@ -5,7 +5,7 @@ with open("README.md", "r") as fh:
|
|
|
5
5
|
|
|
6
6
|
setup(
|
|
7
7
|
name="dshellInterpreter",
|
|
8
|
-
version="0.2.14.
|
|
8
|
+
version="0.2.14.5",
|
|
9
9
|
author="Chronos",
|
|
10
10
|
author_email="vagabonwalybi@gmail.com",
|
|
11
11
|
description="A Discord bot interpreter for creating custom commands and automations.",
|
{dshellinterpreter-0.2.14.3 → dshellinterpreter-0.2.14.5}/Dshell/DISCORD_COMMANDS/__init__.py
RENAMED
|
File without changes
|
{dshellinterpreter-0.2.14.3 → dshellinterpreter-0.2.14.5}/Dshell/DISCORD_COMMANDS/dshell_channel.py
RENAMED
|
File without changes
|
|
File without changes
|
{dshellinterpreter-0.2.14.3 → dshellinterpreter-0.2.14.5}/Dshell/DISCORD_COMMANDS/dshell_member.py
RENAMED
|
File without changes
|
{dshellinterpreter-0.2.14.3 → dshellinterpreter-0.2.14.5}/Dshell/DISCORD_COMMANDS/dshell_message.py
RENAMED
|
File without changes
|
{dshellinterpreter-0.2.14.3 → dshellinterpreter-0.2.14.5}/Dshell/DISCORD_COMMANDS/dshell_pastbin.py
RENAMED
|
File without changes
|
{dshellinterpreter-0.2.14.3 → dshellinterpreter-0.2.14.5}/Dshell/DISCORD_COMMANDS/dshell_role.py
RENAMED
|
File without changes
|
{dshellinterpreter-0.2.14.3 → dshellinterpreter-0.2.14.5}/Dshell/DISCORD_COMMANDS/utils/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{dshellinterpreter-0.2.14.3 → dshellinterpreter-0.2.14.5}/Dshell/_DshellInterpreteur/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{dshellinterpreter-0.2.14.3 → dshellinterpreter-0.2.14.5}/Dshell/_DshellTokenizer/__init__.py
RENAMED
|
File without changes
|
{dshellinterpreter-0.2.14.3 → dshellinterpreter-0.2.14.5}/Dshell/_DshellTokenizer/dshell_keywords.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{dshellinterpreter-0.2.14.3 → dshellinterpreter-0.2.14.5}/dshellInterpreter.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{dshellinterpreter-0.2.14.3 → dshellinterpreter-0.2.14.5}/dshellInterpreter.egg-info/requires.txt
RENAMED
|
File without changes
|
{dshellinterpreter-0.2.14.3 → dshellinterpreter-0.2.14.5}/dshellInterpreter.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|