Skip to content

Commit

Permalink
17.10.2018
Browse files Browse the repository at this point in the history
  • Loading branch information
AppLoidx committed Oct 17, 2018
1 parent c3158a5 commit b372e01
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion Lilly.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
from client_server import ServerClient
from Parse import Date


class Lilly:

def __init__(self):
Expand Down
4 changes: 2 additions & 2 deletions Lilly_Runner.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import vk_api
from Lilly import Lilly
from vk_api.longpoll import VkLongPoll, VkEventType

import config

def write_msg(user_id, s):
vk.method('messages.send', {'user_id': user_id, 'message': s})


# Авторизуемся как сообщество
vk = vk_api.VkApi(token='63759c99295eb6ccfcbff8e9df2b87fa6522111610963781ffc158c21e37bb3b297cc9cbdd9e5011350f7')
vk = vk_api.VkApi(token=config.token)

# Работа с сообщениями
longpoll = VkLongPoll(vk)
Expand Down

0 comments on commit b372e01

Please sign in to comment.