-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy path.env.example
More file actions
84 lines (69 loc) · 3.25 KB
/
Copy path.env.example
File metadata and controls
84 lines (69 loc) · 3.25 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
# 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
# ===== DISCORD IDS (channels / categories / users / roles / guilds) =====
# All of these can be overridden here; the code falls back to the same
# defaults that were previously hardcoded, so leaving them unset is safe.
# Guilds - comma-separated list of servers the bot is allowed to operate in
AUTHORIZED_GUILD_IDS=your_guild_id_here,another_guild_id_here
MAIN_GUILD_ID=your_main_guild_id_here
# Roles
MODERATION_ROLE_ID=your_moderation_role_id_here
STAFF_ROLE_ID=your_staff_role_id_here
ADMIN_BYPASS_ROLE_ID=your_admin_bypass_role_id_here
HELP_MODERATOR_ROLE_ID=your_help_moderator_role_id_here
VERIFY_STREAM_ROLE_ID=your_stream_verify_role_id_here
VERIFY_VOICE_ROLE_ID=your_voice_verify_role_id_here
VERIFY_EMBED_ROLE_ID=your_embed_verify_role_id_here
VERIFY_JOIN_VC_ROLE_ID=your_join_vc_verify_role_id_here
# Users
BOT_OWNER_ID=your_discord_user_id_here
APPEALS_MODERATOR_USER_ID=your_appeals_moderator_user_id_here
# Channels
INTRODUCTION_CHANNEL_ID=your_introductions_channel_id_here
WELCOME_ROLES_CHANNEL_ID=your_roles_channel_id_here
WELCOME_GENERAL_CHANNEL_ID=your_general_channel_id_here
WELCOME_IDEAS_CHANNEL_ID=your_ideas_channel_id_here
HELP_FORUM_ID=your_help_forum_channel_id_here
WELCOME_TICKET_CHANNEL_ID=your_ticket_channel_id_here
HELP_NOTIFY_TARGET_CHANNEL_ID=your_help_ping_channel_id_here
HELP_GUIDE_CHANNEL_ID=your_help_guide_channel_id_here
REPORT_CHANNEL_ID=your_report_channel_id_here
PROTECTED_CHANNEL_ID=your_protected_channel_id_here
TICKET_LOGS_CHANNEL_ID=your_ticket_logs_channel_id_here
# Logging channels (used by the event -> channel mapping)
LOG_CHANNEL_MEMBERS_ID=your_member_logs_channel_id_here
LOG_CHANNEL_ROLES_ID=your_role_logs_channel_id_here
LOG_CHANNEL_CHANNELS_ID=your_channel_logs_channel_id_here
LOG_CHANNEL_TIMEOUTS_ID=your_timeout_logs_channel_id_here
LOG_CHANNEL_VOICE_ID=your_voice_logs_channel_id_here
LOG_CHANNEL_WARNINGS_ID=your_warning_logs_channel_id_here
LOG_CHANNEL_MEMBER_ROLE_CHANGES_ID=your_member_role_change_logs_channel_id_here
LOG_CHANNEL_MODERATION_ID=your_mod_logs_channel_id_here
LOG_CHANNEL_TICKETS_ID=your_ticket_logs_channel_id_here
LOG_CHANNEL_STAFF_POINTS_ID=your_staff_points_logs_channel_id_here