-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Expand file tree
/
Copy pathsettings.js
More file actions
40 lines (33 loc) · 2.51 KB
/
Copy pathsettings.js
File metadata and controls
40 lines (33 loc) · 2.51 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
// Queen Riam - Settings
// All values are read from environment variables.
// Copy .env.example to .env and fill in your details,
// OR set them as environment variables on your hosting platform.
require('dotenv').config({ override: true });
const settings = {
// ── Bot Identity ─────────────────────────────────────────────────────────
botName: process.env.BOT_NAME || 'Queen Riam',
botOwner: process.env.BOT_OWNER || 'Hector Manuel',
packname: process.env.PACK_NAME || 'Queen Riam',
author: process.env.PACK_AUTHOR || 'Hector Manuel',
description: 'This is a bot for managing group commands and automating tasks.',
version: '1.0.0',
// ── Owner & Session ──────────────────────────────────────────────────────
// ownerNumber: your WhatsApp number with country code, no + or spaces
// SESSION_ID: set on your platform — format is RIAM~<base64> or Queen~<megaId>
ownerNumber: (process.env.OWNER_NUMBER || '').replace(/[^0-9]/g, ''),
// ── Behaviour ────────────────────────────────────────────────────────────
prefix: process.env.PREFIX || '.',
timezone: process.env.TIMEZONE || 'Africa/Accra',
commandMode: process.env.COMMAND_MODE || 'public', // 'public' or 'private'
// ── Auto Features ────────────────────────────────────────────────────────
AUTO_STATUS_REACT: process.env.AUTO_STATUS_REACT || 'false',
AUTO_STATUS_REPLY: process.env.AUTO_STATUS_REPLY || 'false',
AUTO_STATUS_MSG: process.env.AUTO_STATUS_MSG || 'Status Viewed Queen Riam',
AUTOREAD: process.env.AUTOREAD || 'false',
AUTOTYPE: process.env.AUTOTYPE || 'false',
AUTORECORD: process.env.AUTORECORD || 'false',
AUTORECORDTYPE: process.env.AUTORECORDTYPE || 'false',
// ── API Keys ─────────────────────────────────────────────────────────────
giphyApiKey: process.env.GIPHY_API_KEY || '',
};
module.exports = settings;