forked from youngcoder45/Discord-bot-in-Python
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.env.example
More file actions
37 lines (28 loc) · 1.12 KB
/
.env.example
File metadata and controls
37 lines (28 loc) · 1.12 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
# CodeVerse Bot - Environment Configuration for bot-hosting.net
# Copy this to .env and fill in your values
# ===== REQUIRED SETTINGS =====
DISCORD_TOKEN=your_discord_bot_token_here
GUILD_ID=your_server_id_here
# ===== BOT-HOSTING.NET CONFIGURATION =====
HOSTING_PLATFORM=bot-hosting.net
INSTANCE_ID=production
PORT=8080
# ===== OPTIONAL LOGGING =====
SERVER_LOGS_CHANNEL_ID=your_log_channel_id_here
# ===== DATA PERSISTENCE (RECOMMENDED) =====
# Create a GitHub Personal Access Token with repo permissions
# Visit: https://github.com/settings/tokens
# Required scopes: repo (Full control of private repositories)
GITHUB_TOKEN=ghp_your_github_personal_access_token_here
GITHUB_REPO=https://github.com/TheCodeVerseHub/CodeVerse-Bot
BACKUP_BRANCH=bot-data-backup
# ===== ADVANCED SETTINGS =====
# Allow multiple bot instances (usually leave as 0)
ALLOW_MULTIPLE_INSTANCES=0
# Bot lock file location
BOT_LOCK_FILE=.bot_instance.lock
# ===== BACKUP SETTINGS =====
# Automatic backup interval in hours (default: 6)
BACKUP_INTERVAL_HOURS=6
# Maximum local backup files to keep (default: 5)
MAX_LOCAL_BACKUPS=5