Kleies Utility programm für unsere Email verwaltung
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

10 lines
303 B

"""
This File will use the 'sender.sh' shell script to send messages to Nextcloud-Talk
"""
import subprocess
from config import botAPI, botUsername, botPassword, botRoomToken
def sendMessage(message):
subprocess.call(['sh','./sender.sh', botAPI, botUsername, botPassword, botRoomToken, message])