dshellInterpreter 0.1.18__tar.gz → 0.1.19__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.

Files changed (24) hide show
  1. {dshellinterpreter-0.1.18 → dshellinterpreter-0.1.19}/Dshell/DISCORD_COMMANDS/dshell_channel.py +10 -9
  2. {dshellinterpreter-0.1.18 → dshellinterpreter-0.1.19}/PKG-INFO +1 -1
  3. {dshellinterpreter-0.1.18 → dshellinterpreter-0.1.19}/dshellInterpreter.egg-info/PKG-INFO +1 -1
  4. {dshellinterpreter-0.1.18 → dshellinterpreter-0.1.19}/setup.py +1 -1
  5. {dshellinterpreter-0.1.18 → dshellinterpreter-0.1.19}/Dshell/DISCORD_COMMANDS/__init__.py +0 -0
  6. {dshellinterpreter-0.1.18 → dshellinterpreter-0.1.19}/Dshell/DISCORD_COMMANDS/dshell_member.py +0 -0
  7. {dshellinterpreter-0.1.18 → dshellinterpreter-0.1.19}/Dshell/DISCORD_COMMANDS/dshell_message.py +0 -0
  8. {dshellinterpreter-0.1.18 → dshellinterpreter-0.1.19}/Dshell/_DshellInterpreteur/__init__.py +0 -0
  9. {dshellinterpreter-0.1.18 → dshellinterpreter-0.1.19}/Dshell/_DshellInterpreteur/dshell_interpreter.py +0 -0
  10. {dshellinterpreter-0.1.18 → dshellinterpreter-0.1.19}/Dshell/_DshellParser/__init__.py +0 -0
  11. {dshellinterpreter-0.1.18 → dshellinterpreter-0.1.19}/Dshell/_DshellParser/ast_nodes.py +0 -0
  12. {dshellinterpreter-0.1.18 → dshellinterpreter-0.1.19}/Dshell/_DshellParser/dshell_parser.py +0 -0
  13. {dshellinterpreter-0.1.18 → dshellinterpreter-0.1.19}/Dshell/_DshellTokenizer/__init__.py +0 -0
  14. {dshellinterpreter-0.1.18 → dshellinterpreter-0.1.19}/Dshell/_DshellTokenizer/dshell_keywords.py +0 -0
  15. {dshellinterpreter-0.1.18 → dshellinterpreter-0.1.19}/Dshell/_DshellTokenizer/dshell_token_type.py +0 -0
  16. {dshellinterpreter-0.1.18 → dshellinterpreter-0.1.19}/Dshell/_DshellTokenizer/dshell_tokenizer.py +0 -0
  17. {dshellinterpreter-0.1.18 → dshellinterpreter-0.1.19}/Dshell/__init__.py +0 -0
  18. {dshellinterpreter-0.1.18 → dshellinterpreter-0.1.19}/LICENSE +0 -0
  19. {dshellinterpreter-0.1.18 → dshellinterpreter-0.1.19}/README.md +0 -0
  20. {dshellinterpreter-0.1.18 → dshellinterpreter-0.1.19}/dshellInterpreter.egg-info/SOURCES.txt +0 -0
  21. {dshellinterpreter-0.1.18 → dshellinterpreter-0.1.19}/dshellInterpreter.egg-info/dependency_links.txt +0 -0
  22. {dshellinterpreter-0.1.18 → dshellinterpreter-0.1.19}/dshellInterpreter.egg-info/requires.txt +0 -0
  23. {dshellinterpreter-0.1.18 → dshellinterpreter-0.1.19}/dshellInterpreter.egg-info/top_level.txt +0 -0
  24. {dshellinterpreter-0.1.18 → dshellinterpreter-0.1.19}/setup.cfg +0 -0
@@ -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, nsfw=MISSING,
101
+ topic=MISSING,
102
+ nsfw=MISSING,
102
103
  permission: dict[Union[Member, Role], PermissionOverwrite] = MISSING,
103
104
  reason=None):
104
105
  """
@@ -111,11 +112,11 @@ async def dshell_edit_text_channel(ctx: Message,
111
112
  raise Exception(f"Channel {channel} not found !")
112
113
 
113
114
  await channel_to_edit.edit(name=name,
114
- position=position,
115
- slowmode_delay=slowmode,
116
- topic=topic,
117
- nsfw=nsfw,
118
- overwrites=permission,
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
@@ -137,9 +138,9 @@ async def dshell_edit_voice_channel(ctx: Message,
137
138
  raise Exception(f"Channel {channel} not found !")
138
139
 
139
140
  await channel_to_edit.edit(name=name,
140
- position=position,
141
- bitrate=bitrate,
142
- overwrites=permission,
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
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: dshellInterpreter
3
- Version: 0.1.18
3
+ Version: 0.1.19
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
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: dshellInterpreter
3
- Version: 0.1.18
3
+ Version: 0.1.19
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
@@ -5,7 +5,7 @@ with open("README.md", "r") as fh:
5
5
 
6
6
  setup(
7
7
  name="dshellInterpreter",
8
- version="0.1.18",
8
+ version="0.1.19",
9
9
  author="Chronos",
10
10
  author_email="vagabonwalybi@gmail.com",
11
11
  description="A Discord bot interpreter for creating custom commands and automations.",