-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.py.sample
42 lines (33 loc) · 1.49 KB
/
config.py.sample
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
"""Module defining configuration for SantaBOT"""
class Config:
"""Class storing configuration constants."""
# You should not have to touch this line
SHEETS_SCOPES = ['https://www.googleapis.com/auth/pubsub',
'https://www.googleapis.com/auth/spreadsheets']
# Your Google API key file
GOOGLE_KEY_FILE = ''
# ID Of the Spreadsheet
SPREADSHEET_ID = ''
SHEET_NAME = ''
RANGES = {
#Column in the spreadsheet used for storing contact information (mandatory)
'contact' : 'A:A',
#Column for storing conflicts (matches which need to be avoided, optional)
'conflicts' : None,
#Column in the spreadsheet used for storing notes to Santas (optional)
'mess_to_santa' : None,
#Column in the spreadsheet used for storing people's names (optional, contact info will be used instead if left empty)
'name' : 'B:B',
#Column in the spreadsheet used for storing people's address (optional)
'address' : None,
}
# Replace with your Discord bot token (if sending messages via Discord)
DISCORD_BOT_TOKEN = ''
# Replace with your bot's email address (if sending emails)
BOT_EMAIL = ''
# Replace with your bot's email password (if sending emails)
BOT_PASSWORD = ''
# Value is either 'discord' or 'email'
CONTACT_METHOD = 'discord'
# Is this a dry run ? True will print to console instead of sending PM
DRY_RUN = True