-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample.env
More file actions
44 lines (31 loc) · 1.26 KB
/
example.env
File metadata and controls
44 lines (31 loc) · 1.26 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
# Example .env file for Discord Bot configuration
# Discord token for bot authentication
DISCORD_TOKEN='your_discord_token_here'
# Discord client ID
DISCORD_CLIENT_ID='your_discord_client_id_here'
# Discord client secret
DISCORD_CLIENT_SECRET='your_discord_client_secret_here'
# Discord authorization URL
DISCORD_URL_AUTHORIZE='https://discord.com/oauth2/authorize?client_id=your_client_id_here&response_type=code&redirect_uri=http://localhost:8080/discord/oauth2/authorize/callback&scope=connections+email+guilds+guilds.members.read+identify+role_connections.write'
# Redirect URI for Discord OAuth2
DISCORD_REDIRECT_URI='http://localhost:8080/discord/oauth2/authorize/callback'
# Server proxy port
PORT_SERVER_PROXY=your_proxy_port_here
# HTTP server port
PORT_SERVER_HTTP=your_http_port_here
# Working mode: 'dev' or 'prod'
WORKING_MODE='dev'
# Development mode flag
WORKING_MODE_DEV=False
# Development server ID
SERVER_DEV_ID=your_server_dev_id_here
# Development user ID
USER_DEV_ID=your_user_dev_id_here
# Cloudflare token
TOKEN_CLOUDFLARE='your_cloudflare_token_here'
# MySQL database configuration
MYSQL_USER='your_mysql_user_here'
MYSQL_PASSWORD='your_mysql_password_here'
MYSQL_HOST='your_mysql_host_here'
MYSQL_PORT=3306
MYSQL_DATABASE='your_database_name_here'