-
-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathexample.full.app.yml
138 lines (121 loc) · 4.53 KB
/
example.full.app.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
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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
# ByteBlaze config file via .yml
# Version 5.0.0
# You can use ${} to pass an enviroment varible from .env file
# Eg:
# something: ${DATA}
bot:
# You can add more than 1 token to clone the bot
# Note that performance will be dreaded and you can't set each config for each cloned bot
# Config data of each bot will be the same
TOKEN: 'Bot Token 1'
EMBED_COLOR: '#2B2D31'
OWNER_ID: 'Your User ID'
ADMIN: ['<your_trusted_admin_discord_id_here>']
# You can set it to en, vi...
LANGUAGE: 'en'
DEBUG_MODE: false
player:
SPOTIFY:
# Your Spotify ID and Secret, you can get it from here: https://developer.spotify.com
# If you don't have or don't want, you can disable it
enable: false
id: ''
secret: ''
# Default search suggestion for auto complete, leave it empty will use default
AUTOCOMPLETE_SEARCH: ['yorushika', 'yoasobi', 'tuyu', 'hinkik']
# Enable this if you want to use realtime duation in nowplaying command
NP_REALTIME: false
# The amount of time before the bot leaves the VC in milliseconds
LEAVE_TIMEOUT: 60000
# Must not over 1000 or bot crash
DEFAULT_VOLUME: 100
# Enable this to avoid your bot get suspended (Recommended to be enable)
AVOID_SUSPEND: true
# The number of tracks you want to limit
LIMIT_TRACK: 50
# The number of playlist you want to limit
LIMIT_PLAYLIST: 20
# You can add more Lavalink servers!
NODES:
- host: 'IP'
port: 2333 # Your host port here
name: 'Name' #only a-z A-Z 0-9 and _
auth: 'Password'
secure: false
# In rainlink, it support lavalink v3, lavalink v4 and nodelink v2 as driver
# If you put the wrong driver identify here or not put anything here,
# it will fallback to lavalink v4 driver
# Driver identify and support range:
# | Type | Support versions | Driver Name |
# | -------- | ---------------- | ----------------- |
# | Lavalink | v4.0.0 - v4.x.x | lavalink/v4/koinu |
# | Lavalink | v3.0.0 - v3.7.x | lavalink/v3/koto |
# | Nodelink | v2.0.0 - v2.x.x | lavalink/v3/koto |
driver: 'lavalink@4'
utilities:
# Enable debug tools for execute code from bot
# use dokdo package, owner only, no prefix changes
# You have to enable message_content to use
# use: sudo rdc help, for more command
DEBUG_TOOLS: true
# Log register premium activities
PREMIUM_LOG_CHANNEL: ''
# Log all the guild that bot joined or leaved
GUILD_LOG_CHANNEL: ''
# Log all unhandled, error, warnings on discord
LOG_CHANNEL: ''
# The timeout for deleting msg in milliseconds
DELETE_MSG_TIMEOUT: 3000
# Auto resume when bot restarted suddenly
AUTO_RESUME: false
# Database services config
DATABASE:
# Note: If you enter an invalid driver, bot will use json driver as default
driver: 'json' # mongodb, mysql, json, postgres
# Config depends on driver, you can see sample config at src/database/driver
config: { path: './cylane.database.json' }
# Cache cleaning for reduce memory
# This feature have the same API with this link below
# https://github.com/node-cron/node-cron?tab=readme-ov-file#allowed-fields
# You can disable caching by using DISABLE string
cacheCleanSchedule: '0 */30 * * * *'
# Msg content for bot using prefix command and setup
MESSAGE_CONTENT:
enable: true
# Whenever you want to use prefix command or not
commands:
enable: true
prefix: 'd!' # The prefix you want
# Fix the Lavalink server when the current is down
AUTOFIX_LAVALINK:
enable: false
retryCount: 10
retryTimeout: 3000
# WS/REST server for using web player
WEB_SERVER:
host: '0.0.0.0'
enable: false
port: 3000
whitelist: [] # Example: ["lavalink.dev"]
auth: 'youshallnotpass'
# Because discord-hybrid-sharding not working with this bot
SHARDING_SYSTEM:
shardsPerClusters: 2
totalClusters: 2
# You can custom your emoji here!
emojis:
PLAYER:
play: '<:pjad_play:1161595194630754334>'
pause: '<:pjad_pause:1161595191573094453>'
loop: '<:pjad_loop:1161595185357135892>'
shuffle: '<:pjad_shuffle:1161596851020115968>'
stop: '<:pjad_stop:1161595204302798909>'
skip: '<:pjad_skip:1161595199617781822>'
previous: '<:pjad_previous:1161595200985104467>'
voldown: '<:pjad_voldown:1161595205993107487>'
volup: '<:pjad_volup:1161595209289830450>'
queue: '<:pjad_queue:1161595196425912331>'
delete: '<:pjad_delete:1161595181418692658>'
GLOBAL:
arrow_next: '<:pjad_arrow_next:1161595178210041919>'
arrow_previous: '<:pjad_arrow_back:1161595176737832970>'