Room module init

Signed-off-by: Dylan Hackworth <dhpf@pm.me>
This commit is contained in:
Dylan Hackworth 2020-03-31 23:53:40 -05:00
parent 2607afcde2
commit 5541f6b6b8
1 changed files with 15 additions and 0 deletions

15
modules/room.py Normal file
View File

@ -0,0 +1,15 @@
from modules.common.module import BotModule
import nio
class MatrixModule(BotModule):
def __init__(self, name):
super().__init__(name)
def help(self):
pass
async def matrix_message(self, bot, room, event):
args = event.body.split()
args.pop(0)