-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexample_config.ini
47 lines (41 loc) · 1.08 KB
/
example_config.ini
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
[moodle]
# Moodle connection settings
url = https://your-moodle-instance.com
username = your_username
password = your_password
[ai]
# AI summarization settings
enabled = 1
api_key = your_api_key
model = gpt-4o-mini
temperature = 0.7
max_tokens = 150
system_prompt = Summarize the message concisely with appropriate emojis, excluding links.
endpoint = https://api.openai.com/v1/
# for a custom endpoint like openrouter, you can use:
# endpoint = https://openrouter.ai/api/v1/
[notification]
# Notification handling settings
max_retries = 5
fetch_interval = 60
[pushbullet]
# Pushbullet notification settings
enabled = 0
api_key = your_pushbullet_key
include_summary = 1
[discord]
# Discord notification settings
enabled = 1
webhook_url = your_webhook_url
bot_name = MoodleMate
thumbnail_url = https://your-thumbnail-url.com/image.png
[webhook_site]
# For testing and debugging
enabled = 0
webhook_url = https://webhook.site/mmon...
include_summary = 1
[your_service_name]
# Template for a custom notification provider
enabled = 0
api_key = your_api_key
endpoint = https://your-custom-endpoint.com/api/v1/