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
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]) |
|
|
|
|