-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathexample_config.yml
67 lines (55 loc) · 2.46 KB
/
example_config.yml
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
# Example configuration file, remember to remove "example_" from the file after adding your tokens!
# Discord Bot token:
# To get your bot's token, go to https://discord.com/developers/applications click "New application",
# click "Bot" on the left bar, click "Add bot" and confirm, then click "Copy" under "Click to reveal token"
token: ""
# Owner id
# Put here the id of the owner of the bot, so they can use commands like restart
owner: ""
# Spotify Client ID and Client Secret, to support spotify playlists:
# To get your client ID and secret you need to visit https://developer.spotify.com/dashboard/applications and log in or create a new account,
# click "Create an app", give it a name and description, check both boxes and click "Create",
# then you can find your Client ID and to find your Client Secret simply click "Show Client Secret"
clientid: ""
clientsecret: ""
# YouTube API key, to parse YouTube information faster.
# It's not required, but it's recommended.
# You can get your API key by:
# - creating a new project at https://console.developers.google.com/apis/dashboard
# - clicking "Enable APIs and Services", searching for "YouTube Data API v3", clicking "Enable",
# - clicking "Credentials" on the left bar, then "Create Credentials", then "API key"
youtubeapikey: ""
# If set to true, the bot will only respond to commands in the guilds listed below.
# If set to false, the bot will respond to commands in all guilds, except the ones listed below.
whitelist: false
guildlist:
- 0000000000000000
- 1111111111111111
# DON'T TOUCH THIS IF YOU DON'T KNOW WHAT YOU ARE DOING:
# DB Info, like username, password...
# SQLite
datasourcename: ./data/yadmb.db
# MySQL
#datasourcename: user:pass@tcp(ip:3306)/database
# Driver type, aka what database to use.
# For now, we support only "sqlite" and "mysql"
# SQLite
drivername: sqlite
# MySQL
#drivername: mysql
# Log level. Possible value are error, warning, informational and debug
loglevel: informational
# Web server address, to access the web interface
address: :8080
# Origin, to satisfy CORS and allow the generation of the links
origin: https://example.com
# Long-lived API tokens, to access the API without having to log in every time.
#apitokens:
# - userid: 0000000000000000
# token: correct-horse-battery-staple
# guildid: 0000000000000000
# textchannelid: 0000000000000000
# - userid: 1111111111111111
# token: correct-horse-battery-staple
# guildid: 0000000000000000
# textchannelid: 0000000000000000