forked from FuelRats/pipsqueak
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sopel.cfg-dist
148 lines (117 loc) · 4.89 KB
/
sopel.cfg-dist
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
[core]
## Bot presence and identity
nick = mechasqueak-test
## Channels for the bot to join, separated by commas
## If a channel has a password, use "#channel pasword"
## e.g. channels=#public,#private topsecret
# channels = #rattest,#botabuse
host = irc.mibbit.com
use_ssl = true
verify_ssl = False
port = 6697
# auth_method = sasl
# auth_password = topsecret
# auth_username = mechasqueak-test
# Since the EDSM Background refresh highly increases the ping for the Bot, the timeout needs to be bigger, the default 120 deosn't cut it.
timeout = 300
modes = iwrxztB
prefix = \!
help_prefix = !
## Admins
# owner = OwnerNameHere
# admins = Joe,Bob
## Where to find modules
extra = sopel-modules
## For production/testing
enable = admin,help,rat-board,rat-facts,rat-search,rat-autocorrect,rat-socket,rat-shortener
## Development use, which may add security risks
# enable = admin,help,rat-board,rat-facts,rat-search,rat-autocorrect,rat-socket,reload,ipython
db_filename = run/ratbot.db
logdir = logs
verbose = verbose
log_raw = True
[admin]
auto_accept_invite = False
[ratbot]
## Common configuration to all rat modules.
# If running sopel in a read-only location, make sure it has write access to workdir
workdir = run
# Channel for debug output. Should be the same as the channel used for everything else in dev, but something else in drill and prod
debug_channel = #rattest
# Database connection string. See SQLAlchemy documentation.
database = postgresql://username:password@localhost/databasename
## Configuration file for Alembic (used for database schema creation and upgrades)
alembic = alembic.ini
## Uncomment this to make SQLAlchemy echo lots of queries.
# debug_sql = true
## API Selection.
# If no API URL is defined, Mecha will operate in offline mode.
## Development API
apiurl = https://dev.api.fuelrats.com
## Production API
# apiurl = https://api.fuelrats.com
## API Auth Token.
# Previously generated Oauth2 Token to authorize API Calls
# apitoken = longassthing
## Set this to log API calls. The path must exist (but the file does not need to), file will be overwritten at startup.
## If this is 'stdout' or 'stderr', logs to stdout/stderr instead.
# apidebug = logs/api.log
# URL to use to retrieve starsystem data.
edsm_url=http://orthanc.localecho.net/json/systems.csv
# edsm_url=http://orthanc.localecho.net/json/systems_recently.csv
# Use chuncked data format for systems as seen on orthanc
# If False, standard edsm format (systems themselves as json objects) will be used.
# Values: True or False (care for capitalisation, it's Python!)
chunked_systems = True
# If starsystem data is older than this (in seconds), !sysrefresh can refresh it.
edsm_maxage = 604800
# Check to see if the starsystem data needs to be refreshed every N seconds. This can be set to a smaller number than
# edsm_maxage to do things like "check if refresh is needed every 4 hours, but only actually refresh every 12", e.g. to
# allow retries in the event one attempt fails. Set to 0 to disable
edsm_autorefresh = 14400
# Maximum allowed simultaneous !plots to allow
maxplots = 4
## Ratbot will try to determine its version number on startup for some informational commands.
## It will do so by trying the following, in order:
## - Read the version_string setting
## - Read the first line of version_file
## - Execute version_cmd and read the first line of its stdout. This is interpreted using the shell.
## - Execute git describe --tags --long --always from one of its source directories. The path to git can be changed
## with 'version_git'
## The default behavior is usually fine, but uncomment one of these if you wish to change it
#version_string = some-magical-version
#version_file = version.txt
#version_cmd = get_version.sh
#version_git = /usr/bin/git
# Hastebin / RodentBin(tm) support for plot.
hastebin_url=https://paste.fuelrats.com
[ratfacts]
## Filename or directory that will be searched for facts to add to the database on startup.
## This will not override existing facts.
filename = facts
## Language search order for facts with no language or where the specified language is not found
## Comma-separated list
lang = en
[ratboard]
# Set the pattern that much be matched in order to trigger a ratsignal. This follows normal regular expression syntax
# The actual pattern be (?!PREFIX).*SIGNAL.*, where PREFIX is the command prefix and PATTERN is the value here.
# (In other words, SIGNAL can be anywhere in the text, and the text must not begin with the command prefix)
# Default: ratsignal
# Use drillsignal for drillsqueak, testsignal for debugging
signal = ratsignal
# Enables PlayStation Support
enable_ps_support = False
[socket]
# Tracker Configuration
websocketurl = 12345
websocketport = 9000
[shortener]
# Url shortener Config
shortenerurl = http://t.fuelr.at/yourls-api.php
shortenertoken = asdf
[twitter]
# Twitter module config
consumer_key = undefined
consumer_secret = undefined
access_token_key = undefined
access_token_secret = undefined