-
Notifications
You must be signed in to change notification settings - Fork 8
/
config.example.yaml
96 lines (72 loc) · 2.56 KB
/
config.example.yaml
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
#per bot config items
bots:
2: #bot id from database
# Should the bot fetch urls and display the title of the page
linktitles: true
# Uncomment to start the notification listen server
# Notifications can be sent to the bot using one of the keys in scripts/notifier/notifier_keys.yaml
# echo "test" | curl -H "key: example" -X POST --data-binary @- http://127.0.0.1:1337/privmsg/channel
#listen: [
# "0.0.0.0:1337",
# "[::]:1337"
#]
# Set to true to enable codesand (configure server in scripts/codesand/config.yaml)
codesand: false
codesand_maxlines: 30
#pump_host
#pump_key
url_log_chan: "#urls"
#youtube_pump_host:
#youtube_pump_key:
# If the bot should use p2u to send a thumbnail to channel
#youtube_thumb: true
#youtube_thumbwidth: 60
#configure the database (follows doctrine config)
database:
driver: "pdo_pgsql"
user: lolbot
dbname: lolbot
#database:
# driver: "pdo_sqlite"
# path: "db.sqlite"
# key for wolfram alpha
# https://products.wolframalpha.com/api/
#waKey: 'key'
# key for iex
# https://www.iexcloud.io/pricing/ (Under the two plans there's a just getting start 50,000 credits free plan)
#iexKey: 'key'
# key for bing and its options
# https://azure.microsoft.com/en-us/pricing/details/cognitive-services/search-api/
#bingKey: 'key'
#bingEP: "https://api.cognitive.microsoft.com/bing/v7.0/"
#bingLang: "en-US"
# openweather key
# https://openweathermap.org/price
#openweatherKey: "key"
# Weather uses bing maps to make the location search into lat,long for the lookups
#bingMapsKey: "key"
# Twitter API (for link info)
#twitter_bearer: "key"
# Youtube api key
# https://support.google.com/googleapi/answer/6158862?hl=en
#gkey: "key"
# If enabled are set then you need to have yt-dlp
youtube_download_shorts: false
# the bot will download youtube shorts less than 1 minute in length and save to a folder
# the url is used to make a direct link for display in channel
#youtube_host_shorts: "/home/knivey/files/"
#youtube_host_shorts_url: "https://files.h4x.life/"
#If shorts are enabled and the above options not set the bot will try to upload to filehole service
# Location of p2u binary
# https://git.trollforge.org/p2u/
# rehosted at https://github.com/knivey/p2u
#p2u: "~/p2u/p2u"
# Last.fm API key
# https://www.last.fm/api/account/create
#lastfm: key
# namecheap API user/key
#namecheap_key: key
#namecheap_user: user
# username:password on a github account, not strictly required but will greatly increase api limits
# Can just register a throwaway github for this
#github_auth: ""