dshellInterpreter 0.1.20__py3-none-any.whl → 0.1.21__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.

@@ -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
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: dshellInterpreter
3
- Version: 0.1.20
3
+ Version: 0.1.21
4
4
  Summary: A Discord bot interpreter for creating custom commands and automations.
5
5
  Home-page: https://github.com/BOXERRMD/Dshell_Interpreter
6
6
  Author: Chronos
@@ -2,7 +2,7 @@ Dshell/__init__.py,sha256=UPvXnewe_8FX9aoevMA78UN1k8AY-u8LTY3vEVxaDxw,72
2
2
  Dshell/DISCORD_COMMANDS/__init__.py,sha256=unbZE4sxFCbUQ4Qptr1BhWu-nwhvI2oRzcDLtRmX6Ug,92
3
3
  Dshell/DISCORD_COMMANDS/dshell_channel.py,sha256=_qHfhVaeXLQMI926AJI3uYpjDXxVNF3sZ84EwWU-jz0,6450
4
4
  Dshell/DISCORD_COMMANDS/dshell_member.py,sha256=4cmpcu9RGHVUOGcF9pSnnxh7kEJQWAel4BBQ6Vicvbs,3126
5
- Dshell/DISCORD_COMMANDS/dshell_message.py,sha256=nleLKY12nKzu7CNBa4PBSy9-sz57dE1EgQ8-g10jC5A,4382
5
+ Dshell/DISCORD_COMMANDS/dshell_message.py,sha256=OPyKWKyGRdTB9KkgPW-WcxnPjNrDlJLNjgJm_KeHkD8,4427
6
6
  Dshell/_DshellInterpreteur/__init__.py,sha256=xy5-J-R3YmY99JF3NBHTRRLsComFxpjnCA5xacISctU,35
7
7
  Dshell/_DshellInterpreteur/dshell_interpreter.py,sha256=viZBYDF7rw1Juasu-B4Fc7Kvdm4j_7SGhOeR_DZpL00,19485
8
8
  Dshell/_DshellParser/__init__.py,sha256=ONDfhZMvClqP_6tE8SLjp-cf3pXL-auQYnfYRrHZxC4,56
@@ -12,8 +12,8 @@ Dshell/_DshellTokenizer/__init__.py,sha256=LIQSRhDx2B9pmPx5ADMwwD0Xr9ybneVLhHH8q
12
12
  Dshell/_DshellTokenizer/dshell_keywords.py,sha256=10VctszIRg8AX5Nsr7kwRIjdwzUgTfrrJYbD7QfYR5s,4253
13
13
  Dshell/_DshellTokenizer/dshell_token_type.py,sha256=Q8Jpil9S3-Tin1sXEHW7cnNdDdUh7Fiv8_lki0OWC0E,1443
14
14
  Dshell/_DshellTokenizer/dshell_tokenizer.py,sha256=E5dCrpbLVgME1moz2zC_X4w4HvV6PrYbK5_pwD3gYzw,5831
15
- dshellinterpreter-0.1.20.dist-info/licenses/LICENSE,sha256=lNgcw1_xb7QENAQi3uHGymaFtbs0RV-ihiCd7AoLQjA,1082
16
- dshellinterpreter-0.1.20.dist-info/METADATA,sha256=gzoZ7SdN4R-hO9coF9BFuARfHK39ag2zr603IQLAtUE,1096
17
- dshellinterpreter-0.1.20.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
18
- dshellinterpreter-0.1.20.dist-info/top_level.txt,sha256=B4CMhtmchGwPQJLuqUy0GhRG-0cUGxKL4GqEbCiB_vE,7
19
- dshellinterpreter-0.1.20.dist-info/RECORD,,
15
+ dshellinterpreter-0.1.21.dist-info/licenses/LICENSE,sha256=lNgcw1_xb7QENAQi3uHGymaFtbs0RV-ihiCd7AoLQjA,1082
16
+ dshellinterpreter-0.1.21.dist-info/METADATA,sha256=hoRp2-obn0UKzDNBiruyER3M6jxSMiU5BngL8NHgOV4,1096
17
+ dshellinterpreter-0.1.21.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
18
+ dshellinterpreter-0.1.21.dist-info/top_level.txt,sha256=B4CMhtmchGwPQJLuqUy0GhRG-0cUGxKL4GqEbCiB_vE,7
19
+ dshellinterpreter-0.1.21.dist-info/RECORD,,