generated from vermonte-network/VermonteBot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.example.py
47 lines (43 loc) · 1.52 KB
/
config.example.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
from discord.ext import commands
import logging
from datetime import datetime
token = "[TOKEN]"
description = "Lynn 3.0_DEV"
gitURI = "git@github.com:Fam0r/Lynn3.git"
cogDir = "extensions"
logging.basicConfig(format='%(asctime)s | [%(levelname)s] (%(filename)s) - %(message)s',
level=logging.INFO,
handlers=[
logging.FileHandler("logs/"+datetime.now().strftime('%Y-%m-%d')+".log"),
logging.StreamHandler()
])
def get_prefix(bot, message):
prefixes = ['%', 'lynn ']
if not message.guild:
return '%'
return commands.when_mentioned_or(*prefixes)(bot, message)
apiKeys = {
"tracker": "[KEY]",
"steam": "[KEY]",
"darksky": "[KEY]",
"omdb": "[KEY]",
"mapbox": "[KEY]",
"twitterConsKey": "[KEY]",
"twitterConsSecret":"[KEY]",
"twitterAccToken": "[KEY]",
"twitterAccSecret": "[KEY]",
"osu": "[KEY]",
"twitchID": "[KEY]",
"twitchSecret": "[KEY]"
}
statusPages = [
("discord", "https://status.discordapp.com"),
("twitter", "https://api.twitterstat.us"),
("reddit", "https://reddit.statuspage.io"),
("cloudflare", "https://www.cloudflarestatus.com"),
("dropbox", "https://status.dropbox.com"),
("github", "https://www.githubstatus.com"),
("medium", "https://medium.statuspage.io"),
("epicgames", "https://status.epicgames.com"),
("glitch", "https://status.glitch.com")
]