Re: discord bot won't play audio from keybase, but does on local drive
holy crap! The lowercase was the issue. I made the lowercase only occur in the if statement like shown in post 12 and it now plays.
@11 thanks for the suggestion. Didn't think lowercase would matter. I also reinserted os.path.join() in the search_system function just to be safe.
Now that this issue is solved, I have another less concerning matter. The current function I use to search for files only supports 1 layer of subdirectories. How would I modify this function to search every single subdirectory with multiple layers from the starting path? And is there a way to make this function non recursive? Sorry I forgot the word opposite of recursive lol.
-- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector