uniborg/stdplugins/testplugin.py

10 lines
298 B
Python
Raw Normal View History

2018-04-07 20:30:30 +00:00
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
2018-04-07 20:20:16 +00:00
from telethon import events
@borg.on(events.NewMessage)
async def asdf(e):
print(e.raw_text)