forked from Markus-Rost/discord-wiki-bot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.example
51 lines (47 loc) · 1.71 KB
/
.env.example
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
# Example .env file for selfhosting the bot
# Don't add your .env file to your github repository, these settings are used to access the bot
# Your bot token to login your bot
token="<Discord bot token>"
# Your bots user ID
bot="461189216198590464"
# Your bots client secret for the dashboard
secret="<Discord client secret>"
# Optional: Your bots return uri for the dashboard
dashboard="http://localhost:8080/oauth"
# Your user ID for owner only commands
owner="243478237710123009"
# Command prefix for the bot
prefix="!wiki "
# Channel where to change the patreon settings
channel="464098946894004224"
# Invite link to the bot help Discord
invite="https://discord.gg/v77RTk5"
# Link to the patreon page for the bot
patreon="https://www.patreon.com/WikiBot"
# Optional: API token for phabricator.wikimedia.org
phabricator_wikimedia=""
# Optional: API token for phabricator.miraheze.org
phabricator_miraheze=""
# Optional: Client ID for Wikimedia OAuth2 consumer
oauth_wikimedia=""
# Optional: Client secret for Wikimedia OAuth2 consumer
oauth_wikimedia_secret=""
# Optional: Client ID for Miraheze OAuth2 consumer
oauth_miraheze=""
# Optional: Client secret for Miraheze OAuth2 consumer
oauth_miraheze_secret=""
# Optional: Path to a log file for usage statistics
usagelog=""
# Optional: Set to anything to reveal guild IDs to the wiki in the X-Origin-Guild header for API requests.
x_origin_guild=""
# Optional: Authorization header for sending RcGcDw buttons interactions.
buttons_token=""
# Optional: URL to send RcGcDw buttons interactions to.
buttons_url="http://localhost:8800/interactions"
# Variables for your PostgreSQL server
PGHOST="localhost"
PGUSER="postgres"
PGDATABASE="postgres"
PGPASSWORD="postgres"
PGPORT="5432"
# PGSSL="true"