-
Notifications
You must be signed in to change notification settings - Fork 1
/
config_default.yml
133 lines (109 loc) · 4.49 KB
/
config_default.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
--- # Copy this to "config.yml" before modifying!
#####
# Please keep this file so that you can refer back to its comments
# Comments will be lost if config.yml updates automatically
# Booleans may be yes/no, on/off, or true/false
# Config is loaded once when `bot.py` is run, so changes made here won't go into
# effect until after it is restarted
#####
# Path to the text file containing the bot's token
token-file: "token.txt"
# Should be yes/on/true almost always
# Currently only decides which prefix to use (true = public, false = developer)
public: yes
# The color to use on the side of bot messages
embed-color: "ff00ff"
# Set your command prefix here
prefixes:
public: "-"
developer: "$"
# Toggles voting to skip; if this is disabled, -skip will skip the currently playing track instantly
# If enabled, you will enough users to use -skip on the same song before it will actually skip it
vote-to-skip:
enabled: yes
# The following keys do nothing if vote-to-skip is disabled
threshold-type: "percentage" # Can be "percentage" or "exact"
# A percentage of users connected to voice required to skip a song
threshold-percentage: 50
# Exact number of skips-voted required to pass
threshold-exact: 3
# Toggles whether -nowplaying and -queue will show names of who queued what
show-users-in-queue: yes
# List of file extensions the bot will detect and delete on startup; must start with a "."
auto-remove:
- ".part"
- ".mp3"
- ".wav"
- ".ogg"
- ".m4a"
- ".mp4"
- ".webm"
- ".opus"
# Maximum file size that an be download by yt_dlp, megabytes (MB)
# Adjust as needed depending on your network speed
maximum-file-size: 50
# Allows queueing playlists or albums
allow-playlists-albums: yes
# Limit the amount of tracks playlists can have before queueing
playlist-track-limit: 50
# Limit the amount of tracks albums can have before queueing
album-track-limit: 50
# Automatically queues the top result of a Spotify-YouTube match,
# regardless of how close the match is
use-top-match: no
# Forces Spotify links to not find an automatic YouTube match,
# and will always trigger the choice menu
force-match-prompt: no
# Prevent videos over this limit (in hours) from being queued
duration-limit: 5
# Maximum number of URLs that can be queued at once with -play
# High limits may cause significant issues with queueing if the items take too long
maximum-urls: 5
# Maximum number of tracks to save and show with the bot's "-history" command
# Setting to 0 will disable it entirely; cannot be set higher than 20
play-history-max: 5
# Leave the voice channel if nothing has been playing for this many minutes
# Setting this to 0 will disable it entirely and never automatically leave
inactivity-timeout: 10
# Customizable command aliases
# Any commands not listed will only work with their default name
aliases:
analyze:
- "analyse"
nowplaying:
- "np"
play:
- "p"
queue:
- "q"
skip:
- "s"
repository:
- "github"
# Any commands listed here will be disabled from use - do not include a prefix before the name
command-blacklist:
- "test"
# Set various options for output logs
logging-options:
# What level of logs to output to the console; valid options are "DEBUG" (lowest), "INFO", "WARNING", "ERROR", and "CRITICAL" (highest)
# Only logs greater than or equal to this level will be displayed,
# others will not show up in the console but are still logged to lydian.log
# For more about this and what each level represents, see: https://github.com/svioletg/lydian-discord-bot/blob/dev/README.md#reading-logs
console-log-level: "INFO"
# Whether to print out full error tracebacks to the console
# Tracebacks are always saved to the log file for debugging usage,
# but they can take up lots of space in the console, so you can hide them if you wish.
log-full-tracebacks: no
# Choose your preferred log colors (these are only used in console output, log files will have no color codes)
colors:
# Run "colors.py" to see a list of choices, add "on [color]" for a background
# e.g. "red on white" will display red text on a white background
no-color: no # Disables all message coloring
debug: "green"
info: "white"
warn: "gold"
error: "lightred"
critical: "red on white"
timer: "white" # Used for the time/date
module: "blue" # For module names (bot.py, media.py, etc.)
function: "yellow" # For function names