Changed a bit more due to "modes" update
This commit is contained in:
parent
da97606bb4
commit
5848bca40a
@ -396,11 +396,12 @@ def callback_query_unblock(app, clb): # type: ignore
|
|||||||
# # else:
|
# # else:
|
||||||
# # logWrite(f"Got raw update of type {type(update)} with contents {update}", debug=True)
|
# # logWrite(f"Got raw update of type {type(update)} with contents {update}", debug=True)
|
||||||
|
|
||||||
for entry in configGet("time", "posting"):
|
if configGet("mode") in ["both", "post"]:
|
||||||
|
|
||||||
|
for entry in configGet("time", "posting"):
|
||||||
schedule.every().day.at(entry).do(send_content)
|
schedule.every().day.at(entry).do(send_content)
|
||||||
|
|
||||||
|
def background_task():
|
||||||
def background_task():
|
|
||||||
try:
|
try:
|
||||||
while True:
|
while True:
|
||||||
try:
|
try:
|
||||||
|
Reference in New Issue
Block a user