dshellInterpreter 0.1.18__tar.gz → 0.1.20__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.18 → dshellinterpreter-0.1.20}/Dshell/DISCORD_COMMANDS/dshell_channel.py +12 -11
- {dshellinterpreter-0.1.18 → dshellinterpreter-0.1.20}/PKG-INFO +1 -1
- {dshellinterpreter-0.1.18 → dshellinterpreter-0.1.20}/dshellInterpreter.egg-info/PKG-INFO +1 -1
- {dshellinterpreter-0.1.18 → dshellinterpreter-0.1.20}/setup.py +1 -1
- {dshellinterpreter-0.1.18 → dshellinterpreter-0.1.20}/Dshell/DISCORD_COMMANDS/__init__.py +0 -0
- {dshellinterpreter-0.1.18 → dshellinterpreter-0.1.20}/Dshell/DISCORD_COMMANDS/dshell_member.py +0 -0
- {dshellinterpreter-0.1.18 → dshellinterpreter-0.1.20}/Dshell/DISCORD_COMMANDS/dshell_message.py +0 -0
- {dshellinterpreter-0.1.18 → dshellinterpreter-0.1.20}/Dshell/_DshellInterpreteur/__init__.py +0 -0
- {dshellinterpreter-0.1.18 → dshellinterpreter-0.1.20}/Dshell/_DshellInterpreteur/dshell_interpreter.py +0 -0
- {dshellinterpreter-0.1.18 → dshellinterpreter-0.1.20}/Dshell/_DshellParser/__init__.py +0 -0
- {dshellinterpreter-0.1.18 → dshellinterpreter-0.1.20}/Dshell/_DshellParser/ast_nodes.py +0 -0
- {dshellinterpreter-0.1.18 → dshellinterpreter-0.1.20}/Dshell/_DshellParser/dshell_parser.py +0 -0
- {dshellinterpreter-0.1.18 → dshellinterpreter-0.1.20}/Dshell/_DshellTokenizer/__init__.py +0 -0
- {dshellinterpreter-0.1.18 → dshellinterpreter-0.1.20}/Dshell/_DshellTokenizer/dshell_keywords.py +0 -0
- {dshellinterpreter-0.1.18 → dshellinterpreter-0.1.20}/Dshell/_DshellTokenizer/dshell_token_type.py +0 -0
- {dshellinterpreter-0.1.18 → dshellinterpreter-0.1.20}/Dshell/_DshellTokenizer/dshell_tokenizer.py +0 -0
- {dshellinterpreter-0.1.18 → dshellinterpreter-0.1.20}/Dshell/__init__.py +0 -0
- {dshellinterpreter-0.1.18 → dshellinterpreter-0.1.20}/LICENSE +0 -0
- {dshellinterpreter-0.1.18 → dshellinterpreter-0.1.20}/README.md +0 -0
- {dshellinterpreter-0.1.18 → dshellinterpreter-0.1.20}/dshellInterpreter.egg-info/SOURCES.txt +0 -0
- {dshellinterpreter-0.1.18 → dshellinterpreter-0.1.20}/dshellInterpreter.egg-info/dependency_links.txt +0 -0
- {dshellinterpreter-0.1.18 → dshellinterpreter-0.1.20}/dshellInterpreter.egg-info/requires.txt +0 -0
- {dshellinterpreter-0.1.18 → dshellinterpreter-0.1.20}/dshellInterpreter.egg-info/top_level.txt +0 -0
- {dshellinterpreter-0.1.18 → dshellinterpreter-0.1.20}/setup.cfg +0 -0
{dshellinterpreter-0.1.18 → dshellinterpreter-0.1.20}/Dshell/DISCORD_COMMANDS/dshell_channel.py
RENAMED
|
@@ -98,7 +98,8 @@ async def dshell_edit_text_channel(ctx: Message,
|
|
|
98
98
|
name=None,
|
|
99
99
|
position=MISSING,
|
|
100
100
|
slowmode=MISSING,
|
|
101
|
-
topic=MISSING,
|
|
101
|
+
topic=MISSING,
|
|
102
|
+
nsfw=MISSING,
|
|
102
103
|
permission: dict[Union[Member, Role], PermissionOverwrite] = MISSING,
|
|
103
104
|
reason=None):
|
|
104
105
|
"""
|
|
@@ -110,12 +111,12 @@ async def dshell_edit_text_channel(ctx: Message,
|
|
|
110
111
|
if channel_to_edit is None:
|
|
111
112
|
raise Exception(f"Channel {channel} not found !")
|
|
112
113
|
|
|
113
|
-
await channel_to_edit.edit(name=name,
|
|
114
|
-
position=position,
|
|
115
|
-
slowmode_delay=slowmode,
|
|
116
|
-
topic=topic,
|
|
117
|
-
nsfw=nsfw,
|
|
118
|
-
overwrites=permission,
|
|
114
|
+
await channel_to_edit.edit(name=name if name is not None else channel_to_edit.name,
|
|
115
|
+
position=position if position is not MISSING else channel_to_edit.position,
|
|
116
|
+
slowmode_delay=slowmode if slowmode is not MISSING else channel_to_edit.slowmode_delay,
|
|
117
|
+
topic=topic if topic is not MISSING else channel_to_edit.topic,
|
|
118
|
+
nsfw=nsfw if nsfw is not MISSING else channel_to_edit.nsfw,
|
|
119
|
+
overwrites=permission if permission is not MISSING else channel_to_edit.overwrites,
|
|
119
120
|
reason=reason)
|
|
120
121
|
|
|
121
122
|
return channel_to_edit.id
|
|
@@ -136,10 +137,10 @@ async def dshell_edit_voice_channel(ctx: Message,
|
|
|
136
137
|
if channel_to_edit is None:
|
|
137
138
|
raise Exception(f"Channel {channel} not found !")
|
|
138
139
|
|
|
139
|
-
await channel_to_edit.edit(name=name,
|
|
140
|
-
position=position,
|
|
141
|
-
bitrate=bitrate,
|
|
142
|
-
overwrites=permission,
|
|
140
|
+
await channel_to_edit.edit(name=name if name is not None else channel_to_edit.name,
|
|
141
|
+
position=position if position is not MISSING else channel_to_edit.position,
|
|
142
|
+
bitrate=bitrate if bitrate is not MISSING else channel_to_edit.bitrate,
|
|
143
|
+
overwrites=permission if permission is not MISSING else channel_to_edit.overwrites,
|
|
143
144
|
reason=reason)
|
|
144
145
|
|
|
145
146
|
return channel_to_edit.id
|
|
@@ -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.20",
|
|
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.18 → dshellinterpreter-0.1.20}/Dshell/DISCORD_COMMANDS/dshell_member.py
RENAMED
|
File without changes
|
{dshellinterpreter-0.1.18 → dshellinterpreter-0.1.20}/Dshell/DISCORD_COMMANDS/dshell_message.py
RENAMED
|
File without changes
|
{dshellinterpreter-0.1.18 → dshellinterpreter-0.1.20}/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.18 → dshellinterpreter-0.1.20}/Dshell/_DshellTokenizer/dshell_keywords.py
RENAMED
|
File without changes
|
{dshellinterpreter-0.1.18 → dshellinterpreter-0.1.20}/Dshell/_DshellTokenizer/dshell_token_type.py
RENAMED
|
File without changes
|
{dshellinterpreter-0.1.18 → dshellinterpreter-0.1.20}/Dshell/_DshellTokenizer/dshell_tokenizer.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{dshellinterpreter-0.1.18 → dshellinterpreter-0.1.20}/dshellInterpreter.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{dshellinterpreter-0.1.18 → dshellinterpreter-0.1.20}/dshellInterpreter.egg-info/requires.txt
RENAMED
|
File without changes
|
{dshellinterpreter-0.1.18 → dshellinterpreter-0.1.20}/dshellInterpreter.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|