chore: commit files
This commit is contained in:
30
list.example.toml
Normal file
30
list.example.toml
Normal file
@@ -0,0 +1,30 @@
|
||||
|
||||
preferences = [
|
||||
|
||||
# Bob prefers to be notified about Alice's birthday
|
||||
# with SMS, while Alice prefers XMPP.
|
||||
{user="bob@localhost", channels=[2]},
|
||||
# Moreover, Alice prefers to be notified a week and a day before
|
||||
# in addition to the standard notification on the day of the birthday.
|
||||
{user="alice@localhost", channels=[1], "additional_reminders"=[1, 7]}
|
||||
|
||||
]
|
||||
|
||||
birthdays = [
|
||||
|
||||
# Alice will get notified about Bob's birthday, and Bob about Alice's.
|
||||
{name="Bob", date="2000-01-01", to_notify=["alice@localhost"]},
|
||||
{name="Alice", date="2000-01-23", to_notify=["bob@localhost"]}
|
||||
|
||||
]
|
||||
|
||||
actions = [
|
||||
|
||||
# Predefined, trusted scripts to run.
|
||||
# Scripts are going to be searched for inside of the "scripts" directory.
|
||||
{id=0, name="print information", name_of_script="sample_script.py", startup_function="print_v1_data"},
|
||||
# These are not implemented!
|
||||
{id=1, name="send XMPP message", name_of_script="dummy.py", startup_function="send_message"},
|
||||
{id=2, name="send SMS", name_of_script="dummy.py", startup_function="send_sms"}
|
||||
|
||||
]
|
||||
Reference in New Issue
Block a user