,
, ;
, or :
FLK-E231 34}
35
36# Insert authors' id in here, user in this set are allowed to use command "runningservers"
37authors = ("825691714383511582","1021563419951890552","864572010574118932") 38
39# Commandline options for youtube-dl and ffmpeg
40YTDL_OPTIONS_PLAYLIST = {
34}
35
36# Insert authors' id in here, user in this set are allowed to use command "runningservers"
37authors = ("825691714383511582","1021563419951890552","864572010574118932") 38
39# Commandline options for youtube-dl and ffmpeg
40YTDL_OPTIONS_PLAYLIST = {
22
23language = "en" # en/tc
24useEmbed = False
25loc = json.load(open(f"music_{language}.json","r",encoding="utf-8")) 26# Silence useless bug reports messages
27youtube_dl.utils.bug_reports_message = lambda: ''
28
22
23language = "en" # en/tc
24useEmbed = False
25loc = json.load(open(f"music_{language}.json","r",encoding="utf-8")) 26# Silence useless bug reports messages
27youtube_dl.utils.bug_reports_message = lambda: ''
28
1805 playlist_search = []
1806 for pos, song in enumerate(entries):
1807 # Youtube only, guess no one would play other than Youtube, if yes, fuck off please
1808 playlist_search.append({"pos": pos, "id": song["id"], "title": song["title"], "duration":int(song["duration"])})1809 # Sort the playlist variable to match with the order in YouTube
1810 playlist_search.sort(key=lambda song: song["pos"])
1811 # Add all songs to the pending list
There should be whitespace after the characters ,
, ;
, and :
.