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

@@ -211,7 +211,7 @@ async def dshell_give_member_roles(ctx: Message, roles, member=None, reason=None
211
211
 
212
212
  list_roles.extend(target_member.roles)
213
213
 
214
- await target_member.edit(roles=roles, reason=str(reason))
214
+ await target_member.edit(roles=list_roles, reason=str(reason))
215
215
 
216
216
  return target_member.id
217
217
 
@@ -237,7 +237,7 @@ async def dshell_remove_member_roles(ctx: Message, roles, member=None, reason=No
237
237
 
238
238
  list_roles.add(role_to_give)
239
239
 
240
- new_set_role = list(list_roles - set(target_member.roles))
240
+ new_set_role = list(set(target_member.roles) - list_roles)
241
241
 
242
242
  await target_member.edit(roles=new_set_role, reason=str(reason))
243
243
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: dshellInterpreter
3
- Version: 0.2.5.1
3
+ Version: 0.2.5.3
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=pGd94FPy8kVXH_jH566HhApQPhbPfMPnZXzH_0dPWh0,93
2
2
  Dshell/_utils.py,sha256=PJ3fwn8IMqUMnW9oTwfr9v4--rzHIhhLQoVVqjwjoJU,23
3
3
  Dshell/DISCORD_COMMANDS/__init__.py,sha256=_oo_aMEju4gZg-MIbF8bKMVM6CWAF0AO9DxAlemaXMw,149
4
4
  Dshell/DISCORD_COMMANDS/dshell_channel.py,sha256=2qnbI2tUu5sowJVOVkY4p-l6Gu-5Gw9BEP3MItScvV8,8939
5
- Dshell/DISCORD_COMMANDS/dshell_member.py,sha256=M1xM8WaK2f-rXrTCeRahTxa2L8BkXFfg7TGruRTetSw,7641
5
+ Dshell/DISCORD_COMMANDS/dshell_member.py,sha256=L3Ud4nza_55n9R02kfL-iNK9ybBczx6SDkccUTWxv3s,7646
6
6
  Dshell/DISCORD_COMMANDS/dshell_message.py,sha256=fLxj_Ns-krZgXEPijhWvBFLorvmbleR6JpVOR72BIa8,5180
7
7
  Dshell/DISCORD_COMMANDS/dshell_pastbin.py,sha256=TkWFGRRTvhhJgvwkDFx9Fz4UM2UUFwxyq0laMVx0mUk,881
8
8
  Dshell/DISCORD_COMMANDS/dshell_role.py,sha256=fotsYWGHebgIx157q-zRbcCd90Y7jIuKCZ8udQoEzSU,4970
@@ -15,8 +15,8 @@ Dshell/_DshellTokenizer/__init__.py,sha256=LIQSRhDx2B9pmPx5ADMwwD0Xr9ybneVLhHH8q
15
15
  Dshell/_DshellTokenizer/dshell_keywords.py,sha256=YhHUL5eILrBwk14xyb0sZ-jMsCV2jSxTW87yRZUulNQ,4808
16
16
  Dshell/_DshellTokenizer/dshell_token_type.py,sha256=pWzvmj6EFGkDwNHooOAjdyysi1vZRVEostFIZSW1Ais,1483
17
17
  Dshell/_DshellTokenizer/dshell_tokenizer.py,sha256=-EhwrfbcOcnAxOHWBE89531t25u6c6HmJuT1AKFn9Ew,7032
18
- dshellinterpreter-0.2.5.1.dist-info/licenses/LICENSE,sha256=lNgcw1_xb7QENAQi3uHGymaFtbs0RV-ihiCd7AoLQjA,1082
19
- dshellinterpreter-0.2.5.1.dist-info/METADATA,sha256=8BB2zHakjShZ8t9o25Tzn5egxgtaWq9QAcSlxGFcHLg,1122
20
- dshellinterpreter-0.2.5.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
21
- dshellinterpreter-0.2.5.1.dist-info/top_level.txt,sha256=B4CMhtmchGwPQJLuqUy0GhRG-0cUGxKL4GqEbCiB_vE,7
22
- dshellinterpreter-0.2.5.1.dist-info/RECORD,,
18
+ dshellinterpreter-0.2.5.3.dist-info/licenses/LICENSE,sha256=lNgcw1_xb7QENAQi3uHGymaFtbs0RV-ihiCd7AoLQjA,1082
19
+ dshellinterpreter-0.2.5.3.dist-info/METADATA,sha256=XCpYMVQIdaomjeqpULm_45uq81IMEO01hCSVZxSKHv4,1122
20
+ dshellinterpreter-0.2.5.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
21
+ dshellinterpreter-0.2.5.3.dist-info/top_level.txt,sha256=B4CMhtmchGwPQJLuqUy0GhRG-0cUGxKL4GqEbCiB_vE,7
22
+ dshellinterpreter-0.2.5.3.dist-info/RECORD,,