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

@@ -2,7 +2,7 @@ __all__ = [
2
2
  "utils_len",
3
3
  ]
4
4
 
5
- async def utils_len(value):
5
+ async def utils_len(ctx, value):
6
6
  """
7
7
  Return the length of a list, or a string
8
8
  :param value:
@@ -7,7 +7,7 @@ __all__ = [
7
7
  "utils_list_reverse"
8
8
  ]
9
9
 
10
- async def utils_list_add(value: "ListNode", *elements):
10
+ async def utils_list_add(ctx, value: "ListNode", *elements):
11
11
  """
12
12
  Add an element to a list
13
13
  :param value:
@@ -22,7 +22,7 @@ async def utils_list_add(value: "ListNode", *elements):
22
22
  value.add(elem)
23
23
  return value
24
24
 
25
- async def utils_list_remove(value: "ListNode", *elements):
25
+ async def utils_list_remove(ctx, value: "ListNode", *elements):
26
26
  """
27
27
  Remove an element from a list
28
28
  :param value:
@@ -37,7 +37,7 @@ async def utils_list_remove(value: "ListNode", *elements):
37
37
  value.remove(elem)
38
38
  return value
39
39
 
40
- async def utils_list_clear(value: "ListNode"):
40
+ async def utils_list_clear(ctx, value: "ListNode"):
41
41
  """
42
42
  Clear a list
43
43
  :param value:
@@ -49,7 +49,7 @@ async def utils_list_clear(value: "ListNode"):
49
49
  value.clear()
50
50
  return value
51
51
 
52
- async def utils_list_pop(value: "ListNode", index: int = -1):
52
+ async def utils_list_pop(ctx, value: "ListNode", index: int = -1):
53
53
  """
54
54
  Pop an element from a list
55
55
  :param value:
@@ -63,7 +63,7 @@ async def utils_list_pop(value: "ListNode", index: int = -1):
63
63
  raise TypeError("index must be an integer in pop command")
64
64
  return value.pop(index)
65
65
 
66
- async def utils_list_sort(value: "ListNode", reverse: bool = False):
66
+ async def utils_list_sort(ctx, value: "ListNode", reverse: bool = False):
67
67
  """
68
68
  Sort a list
69
69
  :param value:
@@ -78,7 +78,7 @@ async def utils_list_sort(value: "ListNode", reverse: bool = False):
78
78
  value.sort(reverse=reverse)
79
79
  return value
80
80
 
81
- async def utils_list_reverse(value: "ListNode"):
81
+ async def utils_list_reverse(ctx, value: "ListNode"):
82
82
  """
83
83
  Reverse a list
84
84
  :param value:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: dshellInterpreter
3
- Version: 0.2.15.3
3
+ Version: 0.2.15.4
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
@@ -8,8 +8,8 @@ Dshell/DISCORD_COMMANDS/dshell_message.py,sha256=zcWl6Y1W31h9MTHS-j9tLDwcrRiE_wG
8
8
  Dshell/DISCORD_COMMANDS/dshell_pastbin.py,sha256=H0tUJOwdzYBXvxqipK3mzoNZUKrSLcVm4EZlWbBRScs,796
9
9
  Dshell/DISCORD_COMMANDS/dshell_role.py,sha256=t_yRZRD0FKE2gT4dIDIsHz2PSZZztDVEkkqkG_OkNh4,5002
10
10
  Dshell/DISCORD_COMMANDS/utils/__init__.py,sha256=-amNcYysjgx3YDpDSnbQmJhnm3lbJere9K9aDH-YnJg,115
11
- Dshell/DISCORD_COMMANDS/utils/utils_global.py,sha256=ZCcypoo4kMvARHp2qc4yUPsze6hEv4OVKvXqlcxFohg,382
12
- Dshell/DISCORD_COMMANDS/utils/utils_list.py,sha256=5IIU9BemhGZXP9zlEJ-3Mo9NQafPiZHLV_NWzipUXuA,2539
11
+ Dshell/DISCORD_COMMANDS/utils/utils_global.py,sha256=JDueE5jCIosUziWNuzzW7iw6_RjgGfHEszJXKgU6FR8,387
12
+ Dshell/DISCORD_COMMANDS/utils/utils_list.py,sha256=kJ1vgqdAKef-siAUvGwvKgD2ezMJpnFUP2UQ3v6-ARw,2569
13
13
  Dshell/DISCORD_COMMANDS/utils/utils_message.py,sha256=cQvJ15f49ddOjybARwkJKNFe3ITYQciF-pZHERFPkr0,2964
14
14
  Dshell/DISCORD_COMMANDS/utils/utils_thread.py,sha256=tVl4msEwrWHY-0AytI6eY3JSs-eIFUigDSJfK9mT1ww,1457
15
15
  Dshell/_DshellInterpreteur/__init__.py,sha256=xy5-J-R3YmY99JF3NBHTRRLsComFxpjnCA5xacISctU,35
@@ -21,8 +21,8 @@ Dshell/_DshellTokenizer/__init__.py,sha256=LIQSRhDx2B9pmPx5ADMwwD0Xr9ybneVLhHH8q
21
21
  Dshell/_DshellTokenizer/dshell_keywords.py,sha256=4QvBXvuXJPjKWyhVqAPBYCqE95G7dG8waXD3XtmuoBw,6345
22
22
  Dshell/_DshellTokenizer/dshell_token_type.py,sha256=gYIb2XN2YcgeRgmar_rBDS5CGmwfmxihu8mOW_d6lbE,1533
23
23
  Dshell/_DshellTokenizer/dshell_tokenizer.py,sha256=AJnUocD6hbU6wvjRAN5uDha5QQieTwXlHzZVtgRGaZQ,7307
24
- dshellinterpreter-0.2.15.3.dist-info/licenses/LICENSE,sha256=lNgcw1_xb7QENAQi3uHGymaFtbs0RV-ihiCd7AoLQjA,1082
25
- dshellinterpreter-0.2.15.3.dist-info/METADATA,sha256=P6SnHbwdWUtM6hcP5rFj02wrSjR2IXy-SNg3l1BiZG4,1151
26
- dshellinterpreter-0.2.15.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
27
- dshellinterpreter-0.2.15.3.dist-info/top_level.txt,sha256=B4CMhtmchGwPQJLuqUy0GhRG-0cUGxKL4GqEbCiB_vE,7
28
- dshellinterpreter-0.2.15.3.dist-info/RECORD,,
24
+ dshellinterpreter-0.2.15.4.dist-info/licenses/LICENSE,sha256=lNgcw1_xb7QENAQi3uHGymaFtbs0RV-ihiCd7AoLQjA,1082
25
+ dshellinterpreter-0.2.15.4.dist-info/METADATA,sha256=FkIk1dGusH1JtAgBPDrT3FSPIDu3frzRXveXsjaWcC8,1151
26
+ dshellinterpreter-0.2.15.4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
27
+ dshellinterpreter-0.2.15.4.dist-info/top_level.txt,sha256=B4CMhtmchGwPQJLuqUy0GhRG-0cUGxKL4GqEbCiB_vE,7
28
+ dshellinterpreter-0.2.15.4.dist-info/RECORD,,