dshellInterpreter 0.1.16__tar.gz → 0.1.17__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.16 → dshellinterpreter-0.1.17}/Dshell/DISCORD_COMMANDS/dshell_message.py +1 -1
  2. {dshellinterpreter-0.1.16 → dshellinterpreter-0.1.17}/Dshell/_DshellTokenizer/dshell_keywords.py +2 -2
  3. {dshellinterpreter-0.1.16 → dshellinterpreter-0.1.17}/Dshell/_DshellTokenizer/dshell_tokenizer.py +1 -1
  4. {dshellinterpreter-0.1.16 → dshellinterpreter-0.1.17}/PKG-INFO +1 -1
  5. {dshellinterpreter-0.1.16 → dshellinterpreter-0.1.17}/dshellInterpreter.egg-info/PKG-INFO +1 -1
  6. {dshellinterpreter-0.1.16 → dshellinterpreter-0.1.17}/setup.py +1 -1
  7. {dshellinterpreter-0.1.16 → dshellinterpreter-0.1.17}/Dshell/DISCORD_COMMANDS/__init__.py +0 -0
  8. {dshellinterpreter-0.1.16 → dshellinterpreter-0.1.17}/Dshell/DISCORD_COMMANDS/dshell_channel.py +0 -0
  9. {dshellinterpreter-0.1.16 → dshellinterpreter-0.1.17}/Dshell/DISCORD_COMMANDS/dshell_member.py +0 -0
  10. {dshellinterpreter-0.1.16 → dshellinterpreter-0.1.17}/Dshell/_DshellInterpreteur/__init__.py +0 -0
  11. {dshellinterpreter-0.1.16 → dshellinterpreter-0.1.17}/Dshell/_DshellInterpreteur/dshell_interpreter.py +0 -0
  12. {dshellinterpreter-0.1.16 → dshellinterpreter-0.1.17}/Dshell/_DshellParser/__init__.py +0 -0
  13. {dshellinterpreter-0.1.16 → dshellinterpreter-0.1.17}/Dshell/_DshellParser/ast_nodes.py +0 -0
  14. {dshellinterpreter-0.1.16 → dshellinterpreter-0.1.17}/Dshell/_DshellParser/dshell_parser.py +0 -0
  15. {dshellinterpreter-0.1.16 → dshellinterpreter-0.1.17}/Dshell/_DshellTokenizer/__init__.py +0 -0
  16. {dshellinterpreter-0.1.16 → dshellinterpreter-0.1.17}/Dshell/_DshellTokenizer/dshell_token_type.py +0 -0
  17. {dshellinterpreter-0.1.16 → dshellinterpreter-0.1.17}/Dshell/__init__.py +0 -0
  18. {dshellinterpreter-0.1.16 → dshellinterpreter-0.1.17}/LICENSE +0 -0
  19. {dshellinterpreter-0.1.16 → dshellinterpreter-0.1.17}/README.md +0 -0
  20. {dshellinterpreter-0.1.16 → dshellinterpreter-0.1.17}/dshellInterpreter.egg-info/SOURCES.txt +0 -0
  21. {dshellinterpreter-0.1.16 → dshellinterpreter-0.1.17}/dshellInterpreter.egg-info/dependency_links.txt +0 -0
  22. {dshellinterpreter-0.1.16 → dshellinterpreter-0.1.17}/dshellInterpreter.egg-info/requires.txt +0 -0
  23. {dshellinterpreter-0.1.16 → dshellinterpreter-0.1.17}/dshellInterpreter.egg-info/top_level.txt +0 -0
  24. {dshellinterpreter-0.1.16 → dshellinterpreter-0.1.17}/setup.cfg +0 -0
@@ -123,7 +123,7 @@ async def dshell_add_reactions(ctx: Message, reactions, message=None):
123
123
  message = ctx if message is None else ctx.channel.get_partial_message(message) # builds a reference to the message (even if it doesn't exist)
124
124
 
125
125
  if isinstance(reactions, str):
126
- reactions = [reactions]
126
+ reactions = (reactions,)
127
127
 
128
128
  for reaction in reactions:
129
129
  await message.add_reaction(reaction)
@@ -43,8 +43,8 @@ dshell_commands: dict[str, Callable] = {
43
43
  "ec": dshell_edit_text_channel, # edit text channel
44
44
  "evc": dshell_edit_voice_channel, # edit voice channel
45
45
 
46
- "arr": dshell_add_reactions, # add reactions to a message
47
- "rrr": dshell_remove_reactions, # remove reactions from a message
46
+ "amr": dshell_add_reactions, # add reactions to a message
47
+ "rmr": dshell_remove_reactions, # remove reactions from a message
48
48
 
49
49
  }
50
50
 
@@ -17,8 +17,8 @@ table_regex: dict[DTT, Pattern] = {
17
17
  DTT.COMMENT: compile(r"::(.*)"),
18
18
  # DTT.DICT: compile(r"\{(.*?)\}"),
19
19
  DTT.CALL_ARGS: compile(r"\((.*?)\)"),
20
- DTT.STR: compile(r"\"(.*?)\"", flags=DOTALL),
21
20
  DTT.LIST: compile(r"\[(.*?)\]"),
21
+ DTT.STR: compile(r"\"(.*?)\"", flags=DOTALL),
22
22
  DTT.MENTION: compile(r'<(?:@!?|@&|#)([0-9]+)>'),
23
23
  DTT.KEYWORD: compile(rf"(?<!\w)(#?{'|'.join(dshell_keyword)})(?!\w)"),
24
24
  DTT.DISCORD_KEYWORD: compile(rf"(?<!\w|-)(#?{'|'.join(dshell_discord_keyword)})(?!\w|-)"),
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: dshellInterpreter
3
- Version: 0.1.16
3
+ Version: 0.1.17
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.16
3
+ Version: 0.1.17
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.16",
8
+ version="0.1.17",
9
9
  author="Chronos",
10
10
  author_email="vagabonwalybi@gmail.com",
11
11
  description="A Discord bot interpreter for creating custom commands and automations.",