-
Notifications
You must be signed in to change notification settings - Fork 2
/
shanghai.example.yaml
91 lines (79 loc) · 1.97 KB
/
shanghai.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
# Defaults for each network.
nick: Shanghai
user: cherry
realname: Shanghai Margatroid
# Specify encoding and fallback_encoding.
# fallback_encoding is guaranteed to succeed and will replace unknown glyphs.
# These are the default settings.
encoding: utf-8
fallback_encoding: latin1
# Timezone setting, mostly for logging but can be used by plugins too.
# Default is UTC.
timezone: CET
# Set global logging level.
# These are the default settings.
logging:
level: INFO
disable: False
disable_stdout: False
# Enable these plugins globally.
# Any plugins found are enabled by default,
# but you can use this to make Shanghai error out
# if one of the enabled plugins isn't found.
enable:
- urlinfo
- owner
- ignore
# Disable plugins globally.
disable:
- beer
# Plugin-specific settings.
# Can also be overridden for each network.
plugins:
urlinfo:
timeout: 5
types:
- danbooru
- youtube
- matroska
- default
owner: Nitori
ignore:
- "*bot*!*@*"
- "*!*bot*@*"
- "*!*@*bot*"
# Following is the network list, which is actually a dict.
networks:
freenode:
logging:
# Override logging level for this network.
level: DEBUG
servers:
# long form
- host: irc.freenode.net
port: 6697
ssl: true
# ignore_invalid_cert: true
- irc.freenode.net:+6697 # short form
channels:
# Mapping of channels to join.
# If name does not start with one of `#&+`, the `#` symbol is implied.
# Leave empty or use keyword null, if no options desired.
botted:
foochannel: null
otherchannel:
key: some_key
disable:
- urlinfo
'##foobar': # some channels on freenode require two ## so use quotes
euirc:
servers:
- host: irc.euirc.net
ssl: true # also sets the port to 6697
# override default encoding settings
encoding: cp1252
fallback_encoding: cp1252
channels:
botted:
enable:
- beer