Room module init
Signed-off-by: Dylan Hackworth <dhpf@pm.me>
This commit is contained in:
parent
2607afcde2
commit
5541f6b6b8
|
@ -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)
|
||||
|
Loading…
Reference in New Issue