-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
70 lines (50 loc) · 1.38 KB
/
.env.example
File metadata and controls
70 lines (50 loc) · 1.38 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# Copyright (c) 2026 Jan Van Herck
# GitHub: https://github.com/jvherck
# --- Discord Bot Configuration ---
DISCORD_TOKEN=
DISCORD_PREFIX=!
# --- Bot Settings ---
BOT_NAME=MyDiscordBot
# development, staging, production
ENVIRONMENT=development
# Comma-separated list of cogs to ignore on startup
IGNORED_COGS=template_slash,template_events
# --- Database Configuration ---
# sqlite or postgresql
DATABASE_TYPE=sqlite
# For PostgreSQL use: postgresql+asyncpg://user:password@localhost:5432/dbname
DATABASE_URL=sqlite+aiosqlite:///data/bot.db
# --- PostgreSQL specific (if using PostgreSQL) ---
POSTGRES_USER=botuser
POSTGRES_PASSWORD=secure_password
POSTGRES_DB=discord_bot
POSTGRES_HOST=postgres
POSTGRES_PORT=5432
# --- Logging Configuration ---
# DEBUG, INFO, WARNING, ERROR, CRITICAL
LOG_LEVEL=INFO
LOG_TO_FILE=true
LOG_FILE_PATH=logs/bot.log
# 10MB = 10485760
LOG_MAX_BYTES=10485760
LOG_BACKUP_COUNT=5
# --- Feature Flags ---
ENABLE_COMMAND_LOGGING=true
ENABLE_ERROR_REPORTING=true
ENABLE_PRESENCE_UPDATE=true
# --- Bot Presence ---
# playing, watching, listening, streaming
PRESENCE_TYPE=listening
PRESENCE_TEXT='commands'
# online, idle, dnd, invisible
PRESENCE_STATUS=online
# --- Development Settings ---
DEBUG_MODE=false
# Guild ID for slash command testing
DEV_GUILD_ID=
# --- Rate Limiting ---
# seconds
COMMAND_COOLDOWN=3
MAX_COMMANDS_PER_MINUTE=20
# --- Timezone ---
TIMEZONE=UTC