-
Notifications
You must be signed in to change notification settings - Fork 3
/
config.py
51 lines (38 loc) · 1.1 KB
/
config.py
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
# Bot nickname
NICKNAME = "DechBot"
# Server configuration
SERVER = "irc.libera.chat"
PORT = 6697
# Main chan for this bot
MAIN_CHAN = "#titoufaitdestests"
# IRC<->otherIM bridge bots
BRIDGE_BOTS = ["LeBID"]
# Url to Incubator
INCUBATOR = "http://localhost:8000/"
# Secret string to perform private API calls to incubator.
# Go to [INCUBATOR]/admin/space/privateapikey/ to obtain one
INCUBATOR_SECRET = "Vairy sicret"
# SpaceAPI url
SPACEAPI = INCUBATOR + "spaceapi.json"
# Full pamela url
FULL_PAMELA = INCUBATOR + "space/private_pamela.json"
# Twitter configuration. Obtain those values from
# https://dev.twitter.com/oauth/overview/application-owner-access-tokens
TWITTER_CONFIG = {
"consumer_key": "consumer",
"consumer_secret": "secret",
"oauth_token": "token",
"oauth_token_secret": "token secret",
}
GIPHY_KEY = "secret"
KOMOOT_CREDENTIALS = {
"email": "fillme",
"password": "fillme",
"user_id": "fillme",
}
SENTRY_DSN = None
try:
from local_config import * # pragma: no flakes # NOQA
except ImportError:
print("Cannot load local config; using gitted config")
pass