-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy path.e-dnevnik.toml.example
64 lines (58 loc) · 2.03 KB
/
.e-dnevnik.toml.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# User blocks
##################################################
# Username should be in [email protected] format
# Password is a cleartext skole.hr LDAP/SSO password
# There can be as many user blocks as needed
#
[[user]]
username = "[email protected]"
password = "lozinka"
#[[user]]
#username = "[email protected]"
#password = "lozinka2"
# Telegram block
##################################################
# Create a bot: https://core.telegram.org/bots#3-how-do-i-create-a-bot
# Find a ChatID: https://sean-bradley.medium.com/get-telegram-chat-id-80b575520659
# And: https://api.telegram.org/botYOUR_BOT_TOKEN/getUpdates
#
[telegram]
token = "telegram_bot_token"
chatids = [ "chat_id", "chat_id2" ]
# Discord block
##################################################
# Create a bot: https://discordpy.readthedocs.io/en/stable/discord.html
# Find UserIDs: https://www.remote.tools/remote-work/how-to-find-discord-id
# Permissions Calculator: https://discordapi.com/permissions.html
# Permissions: only "Send Messages"
#
#[discord]
#token = "discord_bot_token"
#userids = [ "user_id", "user_id2" ]
# Slack block
##################################################
# Create a bot: https://slack.com/help/articles/115005265703-Create-a-bot-for-your-workspace
# Permissions: only chat:write
#
#[slack]
#token = "xoxb-slack_bot_token"
#chatids = [ "chat_id", "chat_id2" ]
# Mail/SMTP block
##################################################
# Configuration for Gmail: https://support.google.com/a/answer/176600?hl=en
#
#[mail]
#server = "smtp.gmail.com"
#port = "587"
#username = "[email protected]"
#password = "legacy_app_password"
#from = "[email protected]"
#subject = "Nova ocjena iz e-Dnevnika"
#to = [ "[email protected]", "[email protected]" ]
# Google Calendar block
##################################################
# Configuration for Calendar API: https://developers.google.com/calendar/api/quickstart/go#set_up_your_environment
# First run needs to be done in terminal on a regular Windows/Mac/Linux system
#
#[calendar]
#name = "Djeca ispiti"