Skip to content
Snippets Groups Projects
Commit b031319b authored by Frederic Aust's avatar Frederic Aust
Browse files

Signalbot Changelog:-> Man kann nun .list neben .help nutzen \

-> Die Programmiergruppe ist in .links zu finden -> Secret Interactions :eyes:
parent bc75c5ce
Branches
No related tags found
No related merge requests found
...@@ -18,7 +18,8 @@ ...@@ -18,7 +18,8 @@
"Static Texts": [ "Static Texts": [
{ {
"Names": [ "Names": [
".help" ".help",
".list"
], ],
"Description": "Get a list of all available commands. Type .help <command> for more information.", "Description": "Get a list of all available commands. Type .help <command> for more information.",
"_Func": "echo" "_Func": "echo"
......
...@@ -147,7 +147,7 @@ def handle_action(timestamp, source, groupID, message, attachments): ...@@ -147,7 +147,7 @@ def handle_action(timestamp, source, groupID, message, attachments):
action = msg_splitted[0].lower() action = msg_splitted[0].lower()
if len(action) == 0: if len(action) == 0:
return return
if action == "help": if action in ["help", "list"]:
help_func(receiver, " ".join(str(x) for x in msg_splitted[1:]).strip(), groupInfo) help_func(receiver, " ".join(str(x) for x in msg_splitted[1:]).strip(), groupInfo)
elif action == "remusfeinste" and (groupInfo is None or action in groupInfo["COMMANDS"]): elif action == "remusfeinste" and (groupInfo is None or action in groupInfo["COMMANDS"]):
remus_feinste(receiver) remus_feinste(receiver)
...@@ -505,7 +505,7 @@ def init_schedule_jobs(): ...@@ -505,7 +505,7 @@ def init_schedule_jobs():
schedule.every().day.at("09:00").do(run_threaded, event_reminder.check_for_events) schedule.every().day.at("09:00").do(run_threaded, event_reminder.check_for_events)
schedule.every().tuesday.at("10:00").do(run_threaded, gg_remind_schichten) schedule.every().tuesday.at("10:00").do(run_threaded, gg_remind_schichten)
schedule.every().day.at("11:00").do(run_threaded, gg_remind_stundenzettel) schedule.every().day.at("11:00").do(run_threaded, gg_remind_stundenzettel)
schedule.every(6).hours.do(run_threaded,today.update()) schedule.every().day.at("04:00").do(run_threaded,today.update())
# schedule.every(10).seconds.do(run_threaded, birthday_reminder.check_for_birthdays) # schedule.every(10).seconds.do(run_threaded, birthday_reminder.check_for_birthdays)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment