-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathconfig.ts.example
More file actions
40 lines (38 loc) · 1.28 KB
/
config.ts.example
File metadata and controls
40 lines (38 loc) · 1.28 KB
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
/**
* Configuration template for Over Party Lab Chatbot
*
* Instructions:
* 1. Copy this file to config.ts
* 2. Replace all placeholder values with your actual credentials
* 3. Never commit config.ts to version control
*/
const CONFIG = {
LINE: {
// Your LINE Channel Access Token from LINE Developers Console
CHANNEL_ACCESS_TOKEN: 'YOUR_LINE_CHANNEL_ACCESS_TOKEN',
// LINE Messaging API base URL
URL_LINE: 'https://api.line.me/v2/bot/message/'
},
GOOGLE_SHEET: {
// Your Google Sheet ID (found in the sheet URL)
// Example: https://docs.google.com/spreadsheets/d/{SHEET_ID}/edit
API_KEY: 'YOUR_GOOGLE_SHEET_ID'
},
// Column mapping for Google Sheets (1-based index)
COLUMN_KEY_MAPPING: {
name: 1, // Column A: Cocktail name (Chinese)
nameen: 2, // Column B: Cocktail name (English)
link: 3, // Column C: Link to recipe/video
detail: 4, // Column D: Cocktail description
recommendation: 5 // Column E: Recommended cocktail indices
},
OVERPARTYLAB: {
// Your Instagram or social media link
IG: 'https://www.instagram.com/over.party.lab/'
},
CONFIG_DEBUG: {
// Your LINE User ID for testing (get from LINE webhook logs)
USERID: 'YOUR_LINE_USER_ID_FOR_TESTING'
}
};
export default CONFIG;