dshellInterpreter 0.1.12__tar.gz → 0.1.13__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.12 → dshellinterpreter-0.1.13}/Dshell/DISCORD_COMMANDS/dshell_message.py +5 -2
- {dshellinterpreter-0.1.12/dshellInterpreter.egg-info → dshellinterpreter-0.1.13}/PKG-INFO +1 -1
- {dshellinterpreter-0.1.12 → dshellinterpreter-0.1.13/dshellInterpreter.egg-info}/PKG-INFO +1 -1
- {dshellinterpreter-0.1.12 → dshellinterpreter-0.1.13}/setup.py +1 -1
- {dshellinterpreter-0.1.12 → dshellinterpreter-0.1.13}/Dshell/DISCORD_COMMANDS/__init__.py +0 -0
- {dshellinterpreter-0.1.12 → dshellinterpreter-0.1.13}/Dshell/DISCORD_COMMANDS/dshell_channel.py +0 -0
- {dshellinterpreter-0.1.12 → dshellinterpreter-0.1.13}/Dshell/DISCORD_COMMANDS/dshell_member.py +0 -0
- {dshellinterpreter-0.1.12 → dshellinterpreter-0.1.13}/Dshell/_DshellInterpreteur/__init__.py +0 -0
- {dshellinterpreter-0.1.12 → dshellinterpreter-0.1.13}/Dshell/_DshellInterpreteur/dshell_interpreter.py +0 -0
- {dshellinterpreter-0.1.12 → dshellinterpreter-0.1.13}/Dshell/_DshellParser/__init__.py +0 -0
- {dshellinterpreter-0.1.12 → dshellinterpreter-0.1.13}/Dshell/_DshellParser/ast_nodes.py +0 -0
- {dshellinterpreter-0.1.12 → dshellinterpreter-0.1.13}/Dshell/_DshellParser/dshell_parser.py +0 -0
- {dshellinterpreter-0.1.12 → dshellinterpreter-0.1.13}/Dshell/_DshellTokenizer/__init__.py +0 -0
- {dshellinterpreter-0.1.12 → dshellinterpreter-0.1.13}/Dshell/_DshellTokenizer/dshell_keywords.py +0 -0
- {dshellinterpreter-0.1.12 → dshellinterpreter-0.1.13}/Dshell/_DshellTokenizer/dshell_token_type.py +0 -0
- {dshellinterpreter-0.1.12 → dshellinterpreter-0.1.13}/Dshell/_DshellTokenizer/dshell_tokenizer.py +0 -0
- {dshellinterpreter-0.1.12 → dshellinterpreter-0.1.13}/Dshell/__init__.py +0 -0
- {dshellinterpreter-0.1.12 → dshellinterpreter-0.1.13}/LICENSE +0 -0
- {dshellinterpreter-0.1.12 → dshellinterpreter-0.1.13}/README.md +0 -0
- {dshellinterpreter-0.1.12 → dshellinterpreter-0.1.13}/dshellInterpreter.egg-info/SOURCES.txt +0 -0
- {dshellinterpreter-0.1.12 → dshellinterpreter-0.1.13}/dshellInterpreter.egg-info/dependency_links.txt +0 -0
- {dshellinterpreter-0.1.12 → dshellinterpreter-0.1.13}/dshellInterpreter.egg-info/requires.txt +0 -0
- {dshellinterpreter-0.1.12 → dshellinterpreter-0.1.13}/dshellInterpreter.egg-info/top_level.txt +0 -0
- {dshellinterpreter-0.1.12 → dshellinterpreter-0.1.13}/setup.cfg +0 -0
{dshellinterpreter-0.1.12 → dshellinterpreter-0.1.13}/Dshell/DISCORD_COMMANDS/dshell_message.py
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
from discord import Embed, Message
|
|
2
2
|
from discord.ext import commands
|
|
3
|
-
from .._DshellParser.ast_nodes import ListNode
|
|
4
3
|
from re import search
|
|
5
4
|
|
|
5
|
+
|
|
6
6
|
__all__ = [
|
|
7
7
|
'dshell_send_message',
|
|
8
8
|
'dshell_delete_message',
|
|
@@ -14,7 +14,6 @@ __all__ = [
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
async def dshell_send_message(ctx: Message, message=None, delete=None, channel=None, embeds=None, embed=None):
|
|
17
|
-
from .._DshellParser.ast_nodes import ListNode
|
|
18
17
|
"""
|
|
19
18
|
Sends a message on Discord
|
|
20
19
|
"""
|
|
@@ -23,6 +22,8 @@ async def dshell_send_message(ctx: Message, message=None, delete=None, channel=N
|
|
|
23
22
|
if channel_to_send is None:
|
|
24
23
|
raise Exception(f'Channel {channel} not found!')
|
|
25
24
|
|
|
25
|
+
from .._DshellParser.ast_nodes import ListNode
|
|
26
|
+
|
|
26
27
|
if embeds is None:
|
|
27
28
|
embeds = ListNode([])
|
|
28
29
|
|
|
@@ -91,6 +92,8 @@ async def dshell_research_regex_message(ctx: Message, regex, channel=None):
|
|
|
91
92
|
if search_channel is None:
|
|
92
93
|
raise Exception(f"Channel {channel} to search not found!")
|
|
93
94
|
|
|
95
|
+
from .._DshellParser.ast_nodes import ListNode
|
|
96
|
+
|
|
94
97
|
messages = ListNode([])
|
|
95
98
|
async for message in search_channel.history(limit=100):
|
|
96
99
|
if search(regex, message.content):
|
|
@@ -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.13",
|
|
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.12 → dshellinterpreter-0.1.13}/Dshell/DISCORD_COMMANDS/dshell_channel.py
RENAMED
|
File without changes
|
{dshellinterpreter-0.1.12 → dshellinterpreter-0.1.13}/Dshell/DISCORD_COMMANDS/dshell_member.py
RENAMED
|
File without changes
|
{dshellinterpreter-0.1.12 → dshellinterpreter-0.1.13}/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.12 → dshellinterpreter-0.1.13}/Dshell/_DshellTokenizer/dshell_keywords.py
RENAMED
|
File without changes
|
{dshellinterpreter-0.1.12 → dshellinterpreter-0.1.13}/Dshell/_DshellTokenizer/dshell_token_type.py
RENAMED
|
File without changes
|
{dshellinterpreter-0.1.12 → dshellinterpreter-0.1.13}/Dshell/_DshellTokenizer/dshell_tokenizer.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{dshellinterpreter-0.1.12 → dshellinterpreter-0.1.13}/dshellInterpreter.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{dshellinterpreter-0.1.12 → dshellinterpreter-0.1.13}/dshellInterpreter.egg-info/requires.txt
RENAMED
|
File without changes
|
{dshellinterpreter-0.1.12 → dshellinterpreter-0.1.13}/dshellInterpreter.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|