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

@@ -1,8 +1,8 @@
1
1
  from discord import Embed, Message
2
2
  from discord.ext import commands
3
- from .._DshellParser.ast_nodes import ListNode
4
3
  from re import search
5
4
 
5
+
6
6
  __all__ = [
7
7
  'dshell_send_message',
8
8
  'dshell_delete_message',
@@ -14,7 +14,6 @@ __all__ = [
14
14
 
15
15
 
16
16
  async def dshell_send_message(ctx: Message, message=None, delete=None, channel=None, embeds=None, embed=None):
17
- from .._DshellParser.ast_nodes import ListNode
18
17
  """
19
18
  Sends a message on Discord
20
19
  """
@@ -23,6 +22,8 @@ async def dshell_send_message(ctx: Message, message=None, delete=None, channel=N
23
22
  if channel_to_send is None:
24
23
  raise Exception(f'Channel {channel} not found!')
25
24
 
25
+ from .._DshellParser.ast_nodes import ListNode
26
+
26
27
  if embeds is None:
27
28
  embeds = ListNode([])
28
29
 
@@ -91,6 +92,8 @@ async def dshell_research_regex_message(ctx: Message, regex, channel=None):
91
92
  if search_channel is None:
92
93
  raise Exception(f"Channel {channel} to search not found!")
93
94
 
95
+ from .._DshellParser.ast_nodes import ListNode
96
+
94
97
  messages = ListNode([])
95
98
  async for message in search_channel.history(limit=100):
96
99
  if search(regex, message.content):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: dshellInterpreter
3
- Version: 0.1.12
3
+ Version: 0.1.13
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=pKN-jzPSk2UI0LgUt31LsOYs5bWLys6LcQclQ-AwbXE,3713
4
4
  Dshell/DISCORD_COMMANDS/dshell_member.py,sha256=hV_8tFUa_RLwh-UaoLcHQr4yp0ln2vjvzFW5IJwDGVM,1792
5
- Dshell/DISCORD_COMMANDS/dshell_message.py,sha256=12Alhl_7qgPcs1NCEWDgUVPSsaKmULHkrbGuGH2LWu8,3406
5
+ Dshell/DISCORD_COMMANDS/dshell_message.py,sha256=obfkzhGu561vUP25uMV3fH5OBDE-0bqNOxjyrGGIz60,3416
6
6
  Dshell/_DshellInterpreteur/__init__.py,sha256=xy5-J-R3YmY99JF3NBHTRRLsComFxpjnCA5xacISctU,35
7
7
  Dshell/_DshellInterpreteur/dshell_interpreter.py,sha256=x1_t-9twq2IaB5aQUJN9XFvXbujMCN1KRX_1uYr9IGA,17289
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=Mf48FtTWZN-bgNwFVijFbcQK1bZEEdyutQvu_DXJEVo,3915
13
13
  Dshell/_DshellTokenizer/dshell_token_type.py,sha256=p0cR4sxhmq03AqBjd0h_sg2eDzgBmd3dhrrchYkL1Pk,1011
14
14
  Dshell/_DshellTokenizer/dshell_tokenizer.py,sha256=DSGiSHj9jLqP7RkC-8WFRqFvitJ7P4b7p0CJn4ek7hE,5831
15
- dshellinterpreter-0.1.12.dist-info/licenses/LICENSE,sha256=lNgcw1_xb7QENAQi3uHGymaFtbs0RV-ihiCd7AoLQjA,1082
16
- dshellinterpreter-0.1.12.dist-info/METADATA,sha256=CpdSKbxC4rMdof6AvL_mt_Ae0ZGRmAg8hLb807-uz4w,1096
17
- dshellinterpreter-0.1.12.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
18
- dshellinterpreter-0.1.12.dist-info/top_level.txt,sha256=B4CMhtmchGwPQJLuqUy0GhRG-0cUGxKL4GqEbCiB_vE,7
19
- dshellinterpreter-0.1.12.dist-info/RECORD,,
15
+ dshellinterpreter-0.1.13.dist-info/licenses/LICENSE,sha256=lNgcw1_xb7QENAQi3uHGymaFtbs0RV-ihiCd7AoLQjA,1082
16
+ dshellinterpreter-0.1.13.dist-info/METADATA,sha256=0TodY8g2O0TnvnQvk8HyNtewYPCervGT39yx70-3sJ4,1096
17
+ dshellinterpreter-0.1.13.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
18
+ dshellinterpreter-0.1.13.dist-info/top_level.txt,sha256=B4CMhtmchGwPQJLuqUy0GhRG-0cUGxKL4GqEbCiB_vE,7
19
+ dshellinterpreter-0.1.13.dist-info/RECORD,,