forked from TheBastionBot/Bastion
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.example.yaml
106 lines (94 loc) · 3.26 KB
/
settings.example.yaml
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
# Bot ID
# Add the Client ID of bot which should be running Bastion.
# https://discord.com/developers/applications
# `BOT_ID` environment variable overwrites this value.
id: ""
# Bot Token
# Add the token of the bot which should be running Bastion.
# https://discord.com/developers/applications
# `BOT_TOKEN` environment variable overwrites this value.
token: ""
# Bot Owners
# User IDs of users who should be considered as the bot owners.
# `OWNER_ID` environment variable adds an additional owner to the list.
owners:
- "YOUR_USER_ID"
- "ANOTHER_USER_ID"
# MongoDB connection URI
# `MONGO_URI` environment variable overwrites this value.
# NOTE: If you're running MongoDB locally and using Bastion's Docker image,
# replace the IP `127.0.0.1` to `host.docker.internal` so Docker can access
# your local MongoDB server.
mongoURI: "mongodb://127.0.0.1:27017/bastion"
# Presences
# Bastion will cycle through these activities randomly.
# status — online / idle / dnd / invisible
# activity — 0 (Playing) / 1 (Streaming) / 2 (Listening) / 3 (Watching) / 5 (Competing)
# name — string
# url — Twitch URL when `activity` is set to
presences:
- status: "online"
activity: 3
name: "the server"
url:
- status: "dnd"
activity: 1
name: "some games"
url: https://twitch.tv/iamtraction
# Enable Music Activity
# When enabled, Bastion updates the activity to the currently playing track.
# It should ideally be disabled if music is played on multiple servers.
# `BASTION_MUSIC_ACTIVITY` environment variable overwrites this value.
musicActivity: true
# Relay Direct Messages
# When enabled, Bastion will relay any direct messages it receives to the
# owner of the bot application / team.
# If a Discord webhook URL is specified, it'll relay the direct messages
# via the webhook.
# `BASTION_RELAY_DMS` environment variable overwrites this value.
relayDirectMessages: false
# Unsafe Mode
# When enabled, this enables usage of unsafe commands like `exec` and `eval`.
# Keep this disabled if the bot owner isn't exclusively you.
# `UNSAFE_MODE` environment variable overwrites this value.
unsafeMode: false
# Bastion API Port
# Port used for Bastion API Server.
# If port isn't set the API server won't start.
# `BASTION_API_PORT` and `PORT` environment variables overwrites this value.
port: 8377
# Bastion API Auth
# Auth for accessing the Bastion API Server.
# If auth isn't set the API server won't start.
# `BASTION_API_AUTH` environment variable overwrites this value.
auth: ""
# API Keys
# These are optional and only required for specific features and/or commands.
# Required for `cryptocurrency` command.
coinMarketCapApiKey: ""
# Required for `apod` command.
nasaApiKey: "DEMO_KEY"
# Required for `weather` command.
openWeatherMapApiKey: ""
# Required for `movie` and `tv` commands.
tmdbApiKey: ""
# Required for `apex`, `csgo`, and `fortnite` commands.
trackerNetworkApiKey: ""
# Required for Twitch live stream notifications and `game` command.
twitch:
clientId: ""
clientSecret: ""
accessToken: ""
# Required for `rainbow6` command.
ubisoft:
email: ""
password: ""
# Required for `definitions` command.
wordnikApiKey: ""
# Additional Settings
# These settings are for internal use only. You don't need to configure this.
bastion:
webhookId: ""
webhookToken: ""
patreon:
accessToken: ""