Skip to content

Commit

Permalink
moved vkscript
Browse files Browse the repository at this point in the history
  • Loading branch information
kesha1225 committed Apr 7, 2020
1 parent 4d6d80d commit 975b478
Show file tree
Hide file tree
Showing 12 changed files with 10 additions and 15 deletions.
2 changes: 1 addition & 1 deletion examples/bots/vkscript_example.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from vkwave.api.methods import APIOptionsRequestContext
from vkwave.bots.easy import SimpleLongPollBot, TaskManager
from vkwave.bots.vkscript import execute
from vkwave.vkscript import execute
from vkwave.types.responses import ExecuteResponse

bot = SimpleLongPollBot(
Expand Down
12 changes: 0 additions & 12 deletions vkwave/bots/vkscript/__init__.py

This file was deleted.

7 changes: 7 additions & 0 deletions vkwave/vkscript/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import vkwave.vkscript.handlers.statements
from .converter import VKScriptConverter
from .execute import Execute
from .execute import execute


__all__ = ("execute", "Execute", "VKScriptConverter")
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
import types

from vkwave.api.methods import APIOptionsRequestContext
from vkwave.bots.vkscript.converter import Scope
from vkwave.bots.vkscript.converter import VKScriptConverter
from vkwave.vkscript import Scope
from vkwave.vkscript import VKScriptConverter


def execute(func: types.FunctionType):
Expand Down
Empty file.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 975b478

Please sign in to comment.