dshellInterpreter 0.1.20__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.20 → dshellinterpreter-0.1.21}/Dshell/DISCORD_COMMANDS/dshell_message.py +2 -2
- {dshellinterpreter-0.1.20 → dshellinterpreter-0.1.21}/PKG-INFO +1 -1
- {dshellinterpreter-0.1.20 → dshellinterpreter-0.1.21}/dshellInterpreter.egg-info/PKG-INFO +1 -1
- {dshellinterpreter-0.1.20 → dshellinterpreter-0.1.21}/setup.py +1 -1
- {dshellinterpreter-0.1.20 → dshellinterpreter-0.1.21}/Dshell/DISCORD_COMMANDS/__init__.py +0 -0
- {dshellinterpreter-0.1.20 → dshellinterpreter-0.1.21}/Dshell/DISCORD_COMMANDS/dshell_channel.py +0 -0
- {dshellinterpreter-0.1.20 → dshellinterpreter-0.1.21}/Dshell/DISCORD_COMMANDS/dshell_member.py +0 -0
- {dshellinterpreter-0.1.20 → dshellinterpreter-0.1.21}/Dshell/_DshellInterpreteur/__init__.py +0 -0
- {dshellinterpreter-0.1.20 → dshellinterpreter-0.1.21}/Dshell/_DshellInterpreteur/dshell_interpreter.py +0 -0
- {dshellinterpreter-0.1.20 → dshellinterpreter-0.1.21}/Dshell/_DshellParser/__init__.py +0 -0
- {dshellinterpreter-0.1.20 → dshellinterpreter-0.1.21}/Dshell/_DshellParser/ast_nodes.py +0 -0
- {dshellinterpreter-0.1.20 → dshellinterpreter-0.1.21}/Dshell/_DshellParser/dshell_parser.py +0 -0
- {dshellinterpreter-0.1.20 → dshellinterpreter-0.1.21}/Dshell/_DshellTokenizer/__init__.py +0 -0
- {dshellinterpreter-0.1.20 → dshellinterpreter-0.1.21}/Dshell/_DshellTokenizer/dshell_keywords.py +0 -0
- {dshellinterpreter-0.1.20 → dshellinterpreter-0.1.21}/Dshell/_DshellTokenizer/dshell_token_type.py +0 -0
- {dshellinterpreter-0.1.20 → dshellinterpreter-0.1.21}/Dshell/_DshellTokenizer/dshell_tokenizer.py +0 -0
- {dshellinterpreter-0.1.20 → dshellinterpreter-0.1.21}/Dshell/__init__.py +0 -0
- {dshellinterpreter-0.1.20 → dshellinterpreter-0.1.21}/LICENSE +0 -0
- {dshellinterpreter-0.1.20 → dshellinterpreter-0.1.21}/README.md +0 -0
- {dshellinterpreter-0.1.20 → dshellinterpreter-0.1.21}/dshellInterpreter.egg-info/SOURCES.txt +0 -0
- {dshellinterpreter-0.1.20 → dshellinterpreter-0.1.21}/dshellInterpreter.egg-info/dependency_links.txt +0 -0
- {dshellinterpreter-0.1.20 → dshellinterpreter-0.1.21}/dshellInterpreter.egg-info/requires.txt +0 -0
- {dshellinterpreter-0.1.20 → dshellinterpreter-0.1.21}/dshellInterpreter.egg-info/top_level.txt +0 -0
- {dshellinterpreter-0.1.20 → dshellinterpreter-0.1.21}/setup.cfg +0 -0
{dshellinterpreter-0.1.20 → 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.20 → dshellinterpreter-0.1.21}/Dshell/DISCORD_COMMANDS/dshell_channel.py
RENAMED
|
File without changes
|
{dshellinterpreter-0.1.20 → dshellinterpreter-0.1.21}/Dshell/DISCORD_COMMANDS/dshell_member.py
RENAMED
|
File without changes
|
{dshellinterpreter-0.1.20 → 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.20 → dshellinterpreter-0.1.21}/Dshell/_DshellTokenizer/dshell_keywords.py
RENAMED
|
File without changes
|
{dshellinterpreter-0.1.20 → dshellinterpreter-0.1.21}/Dshell/_DshellTokenizer/dshell_token_type.py
RENAMED
|
File without changes
|
{dshellinterpreter-0.1.20 → 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.20 → dshellinterpreter-0.1.21}/dshellInterpreter.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{dshellinterpreter-0.1.20 → dshellinterpreter-0.1.21}/dshellInterpreter.egg-info/requires.txt
RENAMED
|
File without changes
|
{dshellinterpreter-0.1.20 → dshellinterpreter-0.1.21}/dshellInterpreter.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|