This repository has been archived by the owner on Jul 30, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 31
/
example_full.yml
150 lines (138 loc) · 4.38 KB
/
example_full.yml
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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
# Nickname for bot
nick: botnick
# List of admin hostmasks
admins:
- root!root@localhost
# Set the command character for the bot
cmdchar: '.'
# Set realname for the bot
realname: 'https://github.com/lepinkainen/pyfibot'
# Networks to connect to
networks:
# Alias for network
nerv:
# Server to connect to
server: irc.nerv.fi
# We use a different nick on this network
nick: botnick_nerv
# As well as different realname
realname: 'pyfibot'
# List of channels to join
channels:
- pyfibot
# Channel with password
- [pyfibot_test, password]
# Channel name starting with '!'
- '!pyfibot_example'
# Port to connect to
# default: 6667
port: 6667
# Set minimum delay between lines sent to the server. For values under
# a second, float can be used.
# default: 0.5 (2 lines per second)
linerate: 0.5
# Use SSL encryption when connecting to server
# default: false
is_ssl: false
# Forces IPv6 to be used. Connection will fail, if IPv6 is unavailable.
# default: false
force_ipv6: false
# Another network
localhost:
server: localhost
channels:
- pyfibot
# Set server password
password: 'kikkeliskokkelis'
# Note:
# If network alias is "quakenet", and authname and authpass are set,
# the bot will try to authenticate to Q (no mather what authservice
# etc says)
# Authentication service
# default: none
authservice: NickServ
# Username used in authentication
# default: none
authname: pyfibot
# Authentication password
# default: none
authpass: vErY5tr0ngP4$$wrd
# Command used in authentication, can use %(authname)s and %(authpass)s
# default: IDENTIFY %(authname)s %(authpass)s
authcommand: IDENTIFY %(authname)s %(authpass)s
# Delay on joining channels after authentication finished in seconds
# default: 0
authdelay: 5
logging:
# Use debug level in logging
# default: false
debug: false
module_urltitle:
# Uses Levenshtein distance to calculate if title is already in url.
# If it is, disables output.
# default: true
check_redundant: true
# List of channels where module_urltitle is disabled
# default: none
disable: ''
# List of ignored urls
# default: none
ignore_urls:
- 'http*://*example.com/annoying_title/*'
# List of users whose links are ignored
# default: none
ignore_users:
- 'rss-bot!rss-bot@example.com'
# Youtube developer ID and API key
# grab it from: https://developers.google.com/youtube/registering_an_application
# NOTE: You _will_ need to enable the api properly, check the logs during the first run
youtube_devid: asdfg
youtube_apikey: "abbaacdc"
# Site ID for eBay handler
# https://developer.ebay.com/DevZone/merchandising/docs/Concepts/SiteIDToGlobalID.html
# default: 77 (Germany, for euros)
ebay_siteid: 77
# Currency sign to display with eBay handler
# default: 'e'
ebay_currency: 'e'
# Twitter bearer token. Required for tweet fetching.
# To obtain a token, first create a Twitter application at
# https://dev.twitter.com/apps and generate token with
# pyfibot/util/twitter_application_auth.py
twitter_bearer: ''
# YLE Areena API information.
# If for some reason you don't want to use the default,
# you can get one from http://developer.yle.fi
areena:
app_id: 'cd556936'
app_key: '25a08bbaa8101cca1bf0d1879bb13012'
module_openweather:
# Application ID for OpenWeatherMap, required for use
# http://openweathermap.org/api
appid: ''
# Location to show when no arguments are provided
# default: Helsinki
default_location: Helsinki
# Freshness threshold for weather data, shows measurement time
# if observation is older than this
# default: 120
threshold: 120
module_fmi:
# Key to FMI weather API
# default: c86a0cb3-e0bf-4604-bfe9-de3ca92e0afc (pyfibot apikey)
api_key: c86a0cb3-e0bf-4604-bfe9-de3ca92e0afc
# Location to show when no arguments are provided
# default: Helsinki
default_place: Helsinki
module_wolfram_alpha:
# Application ID for Wolfram Alpha. Required to use the module.
# See http://products.wolframalpha.com/api/documentation.html#1
# default: None
appid: ''
module_posti:
# Language selection for posti
language: en
module_spotify:
# Client ID and Client Secret from https://beta.developer.spotify.com/dashboard/applications
client_id: "ASDF"
client_secret: "QWERTY"