dshellInterpreter 0.1.19__tar.gz → 0.1.21__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.1.19 → dshellinterpreter-0.1.21}/Dshell/DISCORD_COMMANDS/dshell_channel.py +2 -2
- {dshellinterpreter-0.1.19 → dshellinterpreter-0.1.21}/Dshell/DISCORD_COMMANDS/dshell_message.py +2 -2
- {dshellinterpreter-0.1.19 → dshellinterpreter-0.1.21}/PKG-INFO +1 -1
- {dshellinterpreter-0.1.19 → dshellinterpreter-0.1.21}/dshellInterpreter.egg-info/PKG-INFO +1 -1
- {dshellinterpreter-0.1.19 → dshellinterpreter-0.1.21}/setup.py +1 -1
- {dshellinterpreter-0.1.19 → dshellinterpreter-0.1.21}/Dshell/DISCORD_COMMANDS/__init__.py +0 -0
- {dshellinterpreter-0.1.19 → dshellinterpreter-0.1.21}/Dshell/DISCORD_COMMANDS/dshell_member.py +0 -0
- {dshellinterpreter-0.1.19 → dshellinterpreter-0.1.21}/Dshell/_DshellInterpreteur/__init__.py +0 -0
- {dshellinterpreter-0.1.19 → dshellinterpreter-0.1.21}/Dshell/_DshellInterpreteur/dshell_interpreter.py +0 -0
- {dshellinterpreter-0.1.19 → dshellinterpreter-0.1.21}/Dshell/_DshellParser/__init__.py +0 -0
- {dshellinterpreter-0.1.19 → dshellinterpreter-0.1.21}/Dshell/_DshellParser/ast_nodes.py +0 -0
- {dshellinterpreter-0.1.19 → dshellinterpreter-0.1.21}/Dshell/_DshellParser/dshell_parser.py +0 -0
- {dshellinterpreter-0.1.19 → dshellinterpreter-0.1.21}/Dshell/_DshellTokenizer/__init__.py +0 -0
- {dshellinterpreter-0.1.19 → dshellinterpreter-0.1.21}/Dshell/_DshellTokenizer/dshell_keywords.py +0 -0
- {dshellinterpreter-0.1.19 → dshellinterpreter-0.1.21}/Dshell/_DshellTokenizer/dshell_token_type.py +0 -0
- {dshellinterpreter-0.1.19 → dshellinterpreter-0.1.21}/Dshell/_DshellTokenizer/dshell_tokenizer.py +0 -0
- {dshellinterpreter-0.1.19 → dshellinterpreter-0.1.21}/Dshell/__init__.py +0 -0
- {dshellinterpreter-0.1.19 → dshellinterpreter-0.1.21}/LICENSE +0 -0
- {dshellinterpreter-0.1.19 → dshellinterpreter-0.1.21}/README.md +0 -0
- {dshellinterpreter-0.1.19 → dshellinterpreter-0.1.21}/dshellInterpreter.egg-info/SOURCES.txt +0 -0
- {dshellinterpreter-0.1.19 → dshellinterpreter-0.1.21}/dshellInterpreter.egg-info/dependency_links.txt +0 -0
- {dshellinterpreter-0.1.19 → dshellinterpreter-0.1.21}/dshellInterpreter.egg-info/requires.txt +0 -0
- {dshellinterpreter-0.1.19 → dshellinterpreter-0.1.21}/dshellInterpreter.egg-info/top_level.txt +0 -0
- {dshellinterpreter-0.1.19 → dshellinterpreter-0.1.21}/setup.cfg +0 -0
{dshellinterpreter-0.1.19 → dshellinterpreter-0.1.21}/Dshell/DISCORD_COMMANDS/dshell_channel.py
RENAMED
|
@@ -111,7 +111,7 @@ async def dshell_edit_text_channel(ctx: Message,
|
|
|
111
111
|
if channel_to_edit is None:
|
|
112
112
|
raise Exception(f"Channel {channel} not found !")
|
|
113
113
|
|
|
114
|
-
await channel_to_edit.edit(name=name,
|
|
114
|
+
await channel_to_edit.edit(name=name if name is not None else channel_to_edit.name,
|
|
115
115
|
position=position if position is not MISSING else channel_to_edit.position,
|
|
116
116
|
slowmode_delay=slowmode if slowmode is not MISSING else channel_to_edit.slowmode_delay,
|
|
117
117
|
topic=topic if topic is not MISSING else channel_to_edit.topic,
|
|
@@ -137,7 +137,7 @@ async def dshell_edit_voice_channel(ctx: Message,
|
|
|
137
137
|
if channel_to_edit is None:
|
|
138
138
|
raise Exception(f"Channel {channel} not found !")
|
|
139
139
|
|
|
140
|
-
await channel_to_edit.edit(name=name,
|
|
140
|
+
await channel_to_edit.edit(name=name if name is not None else channel_to_edit.name,
|
|
141
141
|
position=position if position is not MISSING else channel_to_edit.position,
|
|
142
142
|
bitrate=bitrate if bitrate is not MISSING else channel_to_edit.bitrate,
|
|
143
143
|
overwrites=permission if permission is not MISSING else channel_to_edit.overwrites,
|
{dshellinterpreter-0.1.19 → dshellinterpreter-0.1.21}/Dshell/DISCORD_COMMANDS/dshell_message.py
RENAMED
|
@@ -106,12 +106,12 @@ async def dshell_research_regex_message(ctx: Message, regex, channel=None):
|
|
|
106
106
|
|
|
107
107
|
return messages
|
|
108
108
|
|
|
109
|
-
async def dshell_research_regex_in_content(ctx: Message, regex, content):
|
|
109
|
+
async def dshell_research_regex_in_content(ctx: Message, regex, content=None):
|
|
110
110
|
"""
|
|
111
111
|
Searches for a regex in a specific message content
|
|
112
112
|
"""
|
|
113
113
|
|
|
114
|
-
if not search(regex, content):
|
|
114
|
+
if not search(regex, content if content is not None else ctx.content):
|
|
115
115
|
return False
|
|
116
116
|
|
|
117
117
|
return True
|
|
@@ -5,7 +5,7 @@ with open("README.md", "r") as fh:
|
|
|
5
5
|
|
|
6
6
|
setup(
|
|
7
7
|
name="dshellInterpreter",
|
|
8
|
-
version="0.1.
|
|
8
|
+
version="0.1.21",
|
|
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-0.1.19 → dshellinterpreter-0.1.21}/Dshell/DISCORD_COMMANDS/dshell_member.py
RENAMED
|
File without changes
|
{dshellinterpreter-0.1.19 → dshellinterpreter-0.1.21}/Dshell/_DshellInterpreteur/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{dshellinterpreter-0.1.19 → dshellinterpreter-0.1.21}/Dshell/_DshellTokenizer/dshell_keywords.py
RENAMED
|
File without changes
|
{dshellinterpreter-0.1.19 → dshellinterpreter-0.1.21}/Dshell/_DshellTokenizer/dshell_token_type.py
RENAMED
|
File without changes
|
{dshellinterpreter-0.1.19 → dshellinterpreter-0.1.21}/Dshell/_DshellTokenizer/dshell_tokenizer.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{dshellinterpreter-0.1.19 → dshellinterpreter-0.1.21}/dshellInterpreter.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{dshellinterpreter-0.1.19 → dshellinterpreter-0.1.21}/dshellInterpreter.egg-info/requires.txt
RENAMED
|
File without changes
|
{dshellinterpreter-0.1.19 → dshellinterpreter-0.1.21}/dshellInterpreter.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|