dshellInterpreter 1.2.7.6__tar.gz → 1.2.7.8__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.
- {dshellinterpreter-1.2.7.6 → dshellinterpreter-1.2.7.8}/Dshell/DshellInterpreteur/dshell_interpreter.py +1 -4
- {dshellinterpreter-1.2.7.6 → dshellinterpreter-1.2.7.8}/Dshell/DshellParser/ast_nodes.py +2 -2
- {dshellinterpreter-1.2.7.6 → dshellinterpreter-1.2.7.8}/Dshell/DshellTokenizer/dshell_keywords.py +0 -3
- {dshellinterpreter-1.2.7.6/dshellInterpreter.egg-info → dshellinterpreter-1.2.7.8}/PKG-INFO +1 -1
- {dshellinterpreter-1.2.7.6 → dshellinterpreter-1.2.7.8/dshellInterpreter.egg-info}/PKG-INFO +1 -1
- {dshellinterpreter-1.2.7.6 → dshellinterpreter-1.2.7.8}/setup.py +1 -1
- {dshellinterpreter-1.2.7.6 → dshellinterpreter-1.2.7.8}/Dshell/DISCORD_COMMANDS/__init__.py +0 -0
- {dshellinterpreter-1.2.7.6 → dshellinterpreter-1.2.7.8}/Dshell/DISCORD_COMMANDS/dshell_channel.py +0 -0
- {dshellinterpreter-1.2.7.6 → dshellinterpreter-1.2.7.8}/Dshell/DISCORD_COMMANDS/dshell_embed.py +0 -0
- {dshellinterpreter-1.2.7.6 → dshellinterpreter-1.2.7.8}/Dshell/DISCORD_COMMANDS/dshell_file.py +0 -0
- {dshellinterpreter-1.2.7.6 → dshellinterpreter-1.2.7.8}/Dshell/DISCORD_COMMANDS/dshell_interaction.py +0 -0
- {dshellinterpreter-1.2.7.6 → dshellinterpreter-1.2.7.8}/Dshell/DISCORD_COMMANDS/dshell_member.py +0 -0
- {dshellinterpreter-1.2.7.6 → dshellinterpreter-1.2.7.8}/Dshell/DISCORD_COMMANDS/dshell_message.py +0 -0
- {dshellinterpreter-1.2.7.6 → dshellinterpreter-1.2.7.8}/Dshell/DISCORD_COMMANDS/dshell_pastbin.py +0 -0
- {dshellinterpreter-1.2.7.6 → dshellinterpreter-1.2.7.8}/Dshell/DISCORD_COMMANDS/dshell_role.py +0 -0
- {dshellinterpreter-1.2.7.6 → dshellinterpreter-1.2.7.8}/Dshell/DISCORD_COMMANDS/dshell_ui.py +0 -0
- {dshellinterpreter-1.2.7.6 → dshellinterpreter-1.2.7.8}/Dshell/DISCORD_COMMANDS/utils/__init__.py +0 -0
- {dshellinterpreter-1.2.7.6 → dshellinterpreter-1.2.7.8}/Dshell/DISCORD_COMMANDS/utils/utils_embed.py +0 -0
- {dshellinterpreter-1.2.7.6 → dshellinterpreter-1.2.7.8}/Dshell/DISCORD_COMMANDS/utils/utils_file.py +0 -0
- {dshellinterpreter-1.2.7.6 → dshellinterpreter-1.2.7.8}/Dshell/DISCORD_COMMANDS/utils/utils_global.py +0 -0
- {dshellinterpreter-1.2.7.6 → dshellinterpreter-1.2.7.8}/Dshell/DISCORD_COMMANDS/utils/utils_list.py +0 -0
- {dshellinterpreter-1.2.7.6 → dshellinterpreter-1.2.7.8}/Dshell/DISCORD_COMMANDS/utils/utils_member.py +0 -0
- {dshellinterpreter-1.2.7.6 → dshellinterpreter-1.2.7.8}/Dshell/DISCORD_COMMANDS/utils/utils_message.py +0 -0
- {dshellinterpreter-1.2.7.6 → dshellinterpreter-1.2.7.8}/Dshell/DISCORD_COMMANDS/utils/utils_numbers.py +0 -0
- {dshellinterpreter-1.2.7.6 → dshellinterpreter-1.2.7.8}/Dshell/DISCORD_COMMANDS/utils/utils_permissions.py +0 -0
- {dshellinterpreter-1.2.7.6 → dshellinterpreter-1.2.7.8}/Dshell/DISCORD_COMMANDS/utils/utils_string.py +0 -0
- {dshellinterpreter-1.2.7.6 → dshellinterpreter-1.2.7.8}/Dshell/DISCORD_COMMANDS/utils/utils_thread.py +0 -0
- {dshellinterpreter-1.2.7.6 → dshellinterpreter-1.2.7.8}/Dshell/DISCORD_COMMANDS/utils/utils_type_validation.py +0 -0
- {dshellinterpreter-1.2.7.6 → dshellinterpreter-1.2.7.8}/Dshell/DshellInterpreteur/__init__.py +0 -0
- {dshellinterpreter-1.2.7.6 → dshellinterpreter-1.2.7.8}/Dshell/DshellInterpreteur/cached_messages.py +0 -0
- {dshellinterpreter-1.2.7.6 → dshellinterpreter-1.2.7.8}/Dshell/DshellInterpreteur/dshell_arguments.py +0 -0
- {dshellinterpreter-1.2.7.6 → dshellinterpreter-1.2.7.8}/Dshell/DshellInterpreteur/dshell_global_variables.py +0 -0
- {dshellinterpreter-1.2.7.6 → dshellinterpreter-1.2.7.8}/Dshell/DshellInterpreteur/dshell_iterators.py +0 -0
- {dshellinterpreter-1.2.7.6 → dshellinterpreter-1.2.7.8}/Dshell/DshellInterpreteur/dshell_scope.py +0 -0
- {dshellinterpreter-1.2.7.6 → dshellinterpreter-1.2.7.8}/Dshell/DshellInterpreteur/errors.py +0 -0
- {dshellinterpreter-1.2.7.6 → dshellinterpreter-1.2.7.8}/Dshell/DshellInterpreteur/utils_interpreter.py +0 -0
- {dshellinterpreter-1.2.7.6 → dshellinterpreter-1.2.7.8}/Dshell/DshellParser/__init__.py +0 -0
- {dshellinterpreter-1.2.7.6 → dshellinterpreter-1.2.7.8}/Dshell/DshellParser/dshell_parser.py +0 -0
- {dshellinterpreter-1.2.7.6 → dshellinterpreter-1.2.7.8}/Dshell/DshellParser/errors.py +0 -0
- {dshellinterpreter-1.2.7.6 → dshellinterpreter-1.2.7.8}/Dshell/DshellPreProcess/__init__.py +0 -0
- {dshellinterpreter-1.2.7.6 → dshellinterpreter-1.2.7.8}/Dshell/DshellPreProcess/dshell_preprocess.py +0 -0
- {dshellinterpreter-1.2.7.6 → dshellinterpreter-1.2.7.8}/Dshell/DshellTokenizer/__init__.py +0 -0
- {dshellinterpreter-1.2.7.6 → dshellinterpreter-1.2.7.8}/Dshell/DshellTokenizer/dshell_token_type.py +0 -0
- {dshellinterpreter-1.2.7.6 → dshellinterpreter-1.2.7.8}/Dshell/DshellTokenizer/dshell_tokenizer.py +0 -0
- {dshellinterpreter-1.2.7.6 → dshellinterpreter-1.2.7.8}/Dshell/__init__.py +0 -0
- {dshellinterpreter-1.2.7.6 → dshellinterpreter-1.2.7.8}/Dshell/full_import.py +0 -0
- {dshellinterpreter-1.2.7.6 → dshellinterpreter-1.2.7.8}/LICENSE +0 -0
- {dshellinterpreter-1.2.7.6 → dshellinterpreter-1.2.7.8}/README.md +0 -0
- {dshellinterpreter-1.2.7.6 → dshellinterpreter-1.2.7.8}/dshellInterpreter.egg-info/SOURCES.txt +0 -0
- {dshellinterpreter-1.2.7.6 → dshellinterpreter-1.2.7.8}/dshellInterpreter.egg-info/dependency_links.txt +0 -0
- {dshellinterpreter-1.2.7.6 → dshellinterpreter-1.2.7.8}/dshellInterpreter.egg-info/requires.txt +0 -0
- {dshellinterpreter-1.2.7.6 → dshellinterpreter-1.2.7.8}/dshellInterpreter.egg-info/top_level.txt +0 -0
- {dshellinterpreter-1.2.7.6 → dshellinterpreter-1.2.7.8}/setup.cfg +0 -0
|
@@ -202,10 +202,7 @@ class DshellInterpreteur:
|
|
|
202
202
|
self.env.set(node.name.value, ListNode([await build_ui(first_node, self)])) # store UIs in a list
|
|
203
203
|
|
|
204
204
|
elif isinstance(first_node, CodeNode):
|
|
205
|
-
|
|
206
|
-
self.env.get(node.name.value).update(first_node)
|
|
207
|
-
else:
|
|
208
|
-
self.env.set(node.name.value, first_node)
|
|
205
|
+
self.env.set(node.name.value, first_node)
|
|
209
206
|
|
|
210
207
|
else:
|
|
211
208
|
self.env.set(node.name.value, await eval_expression(node.body, self))
|
|
@@ -834,7 +834,7 @@ class OptionUiSelectNode(ASTNode):
|
|
|
834
834
|
|
|
835
835
|
class FileNode(DATANode):
|
|
836
836
|
def __init__(self, name: Optional[StrNode] = None, description: Optional[StrNode] = None, spoiler: bool = False):
|
|
837
|
-
super().__init__(
|
|
837
|
+
super().__init__()
|
|
838
838
|
self.name = name
|
|
839
839
|
self.description = description
|
|
840
840
|
self.spoiler = spoiler
|
|
@@ -871,7 +871,7 @@ class FileNode(DATANode):
|
|
|
871
871
|
class FileStreamNode(DATANode):
|
|
872
872
|
|
|
873
873
|
def __init__(self, file: FileNode, separator: Optional[StrNode] = None):
|
|
874
|
-
super().__init__(
|
|
874
|
+
super().__init__()
|
|
875
875
|
self.file: FileNode = file
|
|
876
876
|
self.content: str = file.read()
|
|
877
877
|
self.separator: Optional[StrNode] = separator
|
{dshellinterpreter-1.2.7.6 → dshellinterpreter-1.2.7.8}/Dshell/DshellTokenizer/dshell_keywords.py
RENAMED
|
@@ -239,6 +239,3 @@ dshell_operators: ChainMap[str, Operator] = ChainMap(
|
|
|
239
239
|
dshell_logical_word_operators,
|
|
240
240
|
dshell_mathematical_operators)
|
|
241
241
|
|
|
242
|
-
"""dshell_operators: dict[str, tuple[Callable, int, int, int, Optional[int]]] = dshell_logical_operators.copy()
|
|
243
|
-
dshell_operators.update(dshell_logical_word_operators)
|
|
244
|
-
dshell_operators.update(dshell_mathematical_operators)"""
|
|
@@ -5,7 +5,7 @@ with open("README.md", "r") as fh:
|
|
|
5
5
|
|
|
6
6
|
setup(
|
|
7
7
|
name="dshellInterpreter",
|
|
8
|
-
version="1.2.7.
|
|
8
|
+
version="1.2.7.8",
|
|
9
9
|
author="Chronos",
|
|
10
10
|
author_email="vagabonwalybi@gmail.com",
|
|
11
11
|
description="A Discord bot interpreter for creating custom commands and automations.",
|
|
File without changes
|
{dshellinterpreter-1.2.7.6 → dshellinterpreter-1.2.7.8}/Dshell/DISCORD_COMMANDS/dshell_channel.py
RENAMED
|
File without changes
|
{dshellinterpreter-1.2.7.6 → dshellinterpreter-1.2.7.8}/Dshell/DISCORD_COMMANDS/dshell_embed.py
RENAMED
|
File without changes
|
{dshellinterpreter-1.2.7.6 → dshellinterpreter-1.2.7.8}/Dshell/DISCORD_COMMANDS/dshell_file.py
RENAMED
|
File without changes
|
|
File without changes
|
{dshellinterpreter-1.2.7.6 → dshellinterpreter-1.2.7.8}/Dshell/DISCORD_COMMANDS/dshell_member.py
RENAMED
|
File without changes
|
{dshellinterpreter-1.2.7.6 → dshellinterpreter-1.2.7.8}/Dshell/DISCORD_COMMANDS/dshell_message.py
RENAMED
|
File without changes
|
{dshellinterpreter-1.2.7.6 → dshellinterpreter-1.2.7.8}/Dshell/DISCORD_COMMANDS/dshell_pastbin.py
RENAMED
|
File without changes
|
{dshellinterpreter-1.2.7.6 → dshellinterpreter-1.2.7.8}/Dshell/DISCORD_COMMANDS/dshell_role.py
RENAMED
|
File without changes
|
{dshellinterpreter-1.2.7.6 → dshellinterpreter-1.2.7.8}/Dshell/DISCORD_COMMANDS/dshell_ui.py
RENAMED
|
File without changes
|
{dshellinterpreter-1.2.7.6 → dshellinterpreter-1.2.7.8}/Dshell/DISCORD_COMMANDS/utils/__init__.py
RENAMED
|
File without changes
|
{dshellinterpreter-1.2.7.6 → dshellinterpreter-1.2.7.8}/Dshell/DISCORD_COMMANDS/utils/utils_embed.py
RENAMED
|
File without changes
|
{dshellinterpreter-1.2.7.6 → dshellinterpreter-1.2.7.8}/Dshell/DISCORD_COMMANDS/utils/utils_file.py
RENAMED
|
File without changes
|
|
File without changes
|
{dshellinterpreter-1.2.7.6 → dshellinterpreter-1.2.7.8}/Dshell/DISCORD_COMMANDS/utils/utils_list.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{dshellinterpreter-1.2.7.6 → dshellinterpreter-1.2.7.8}/Dshell/DshellInterpreteur/__init__.py
RENAMED
|
File without changes
|
{dshellinterpreter-1.2.7.6 → dshellinterpreter-1.2.7.8}/Dshell/DshellInterpreteur/cached_messages.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{dshellinterpreter-1.2.7.6 → dshellinterpreter-1.2.7.8}/Dshell/DshellInterpreteur/dshell_scope.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{dshellinterpreter-1.2.7.6 → dshellinterpreter-1.2.7.8}/Dshell/DshellParser/dshell_parser.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{dshellinterpreter-1.2.7.6 → dshellinterpreter-1.2.7.8}/Dshell/DshellPreProcess/dshell_preprocess.py
RENAMED
|
File without changes
|
|
File without changes
|
{dshellinterpreter-1.2.7.6 → dshellinterpreter-1.2.7.8}/Dshell/DshellTokenizer/dshell_token_type.py
RENAMED
|
File without changes
|
{dshellinterpreter-1.2.7.6 → dshellinterpreter-1.2.7.8}/Dshell/DshellTokenizer/dshell_tokenizer.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{dshellinterpreter-1.2.7.6 → dshellinterpreter-1.2.7.8}/dshellInterpreter.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{dshellinterpreter-1.2.7.6 → dshellinterpreter-1.2.7.8}/dshellInterpreter.egg-info/requires.txt
RENAMED
|
File without changes
|
{dshellinterpreter-1.2.7.6 → dshellinterpreter-1.2.7.8}/dshellInterpreter.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|