plugboard/plugboardChatbotFramework/plugboardChatbotFramework/matrix/matrix.py

23 lines
662 B
Python

# matrixClient.py - Implements baseClient.py, for use with Matrix homeservers.
#
# (C) Innovation Science, Katie Martin
from abc import ABC,abstractmethod
import plugboardChatbotFramework.client.client as client
# I don't like this, but Python seems to be wanting to force my hand.
class matrixClient(client.baseClient):
username=''
password=''
botChannel=''
serverAddr=''
serverWebAddr=''
# Constructor
def __init__(self, username='', password='', botChannel='', serverAddr='', serverWebAddr=''):
self.username = username
self.password = password
self.botChannel = botChannel
self.serverAddr = serverAddr
self.serverWebAddr = serverWebAddr