-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bring bug fixes and combative methods into master #2430
base: master
Are you sure you want to change the base?
Commits on Mar 20, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 674da78 - Browse repository at this point
Copy the full SHA 674da78View commit details -
Configuration menu - View commit details
-
Copy full SHA for 06f114b - Browse repository at this point
Copy the full SHA 06f114bView commit details -
Adds 'autoplaylist [+, -, add, remove]' command and refactors functio…
…ning parts of save/unsave commands
Configuration menu - View commit details
-
Copy full SHA for f55ca8f - Browse repository at this point
Copy the full SHA f55ca8fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1d1ca21 - Browse repository at this point
Copy the full SHA 1d1ca21View commit details -
Configuration menu - View commit details
-
Copy full SHA for 47a5e46 - Browse repository at this point
Copy the full SHA 47a5e46View commit details
Commits on Jul 30, 2023
-
Configuration menu - View commit details
-
Copy full SHA for de51079 - Browse repository at this point
Copy the full SHA de51079View commit details
Commits on Sep 10, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 870165f - Browse repository at this point
Copy the full SHA 870165fView commit details
Commits on Sep 24, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 22905cd - Browse repository at this point
Copy the full SHA 22905cdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c05005 - Browse repository at this point
Copy the full SHA 8c05005View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8b316d2 - Browse repository at this point
Copy the full SHA 8b316d2View commit details
Commits on Sep 28, 2023
-
Update the way we grab a video ID from a url to account for links being used that don't have the watchv in it. Could potentially solve #2341?
Configuration menu - View commit details
-
Copy full SHA for 3eacf3f - Browse repository at this point
Copy the full SHA 3eacf3fView commit details -
Configuration menu - View commit details
-
Copy full SHA for b8c744e - Browse repository at this point
Copy the full SHA b8c744eView commit details -
Configuration menu - View commit details
-
Copy full SHA for f903623 - Browse repository at this point
Copy the full SHA f903623View commit details -
Remove redundant code and run black
There was no point in having a save command since the autoplaylist command has it.
Configuration menu - View commit details
-
Copy full SHA for cc769bb - Browse repository at this point
Copy the full SHA cc769bbView commit details -
Merge pull request #1544 from obi23lipnik/playlist_manipulations
Adds 'autoplaylist' command to allow better autoplaylist manipulation
Configuration menu - View commit details
-
Copy full SHA for c9f95d8 - Browse repository at this point
Copy the full SHA c9f95d8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 54086ba - Browse repository at this point
Copy the full SHA 54086baView commit details
Commits on Sep 29, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 922f5f2 - Browse repository at this point
Copy the full SHA 922f5f2View commit details -
Feat: Leave inactive VC after x time.
Saw this requested a few different times. I tested with 1 server, hasn't been tested with multiple servers. Should be fine but time will tell.
Configuration menu - View commit details
-
Copy full SHA for a19faa3 - Browse repository at this point
Copy the full SHA a19faa3View commit details -
I did not account for user moving to a different channel and taking t…
…he bot with them.
Configuration menu - View commit details
-
Copy full SHA for 5e6686e - Browse repository at this point
Copy the full SHA 5e6686eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8acff12 - Browse repository at this point
Copy the full SHA 8acff12View commit details
Commits on Oct 2, 2023
-
Make sure we don't disconnect from binded voice channels. Add a little more detail about canceled timers.
Configuration menu - View commit details
-
Copy full SHA for 381634f - Browse repository at this point
Copy the full SHA 381634fView commit details
Commits on Oct 13, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 13e1878 - Browse repository at this point
Copy the full SHA 13e1878View commit details -
Thanks ole for pointing out the way to do this.
Configuration menu - View commit details
-
Copy full SHA for 0823941 - Browse repository at this point
Copy the full SHA 0823941View commit details -
Attempt to send it to a channel.
I'm not really sure if this is wanted or needed but I like it. If anyone complains it can always be removed.
Configuration menu - View commit details
-
Copy full SHA for 764bc3b - Browse repository at this point
Copy the full SHA 764bc3bView commit details
Commits on Oct 14, 2023
-
No real point in having a different set for this
Refactor to use ssd instead of a separate list for guild ID's and timers.
Configuration menu - View commit details
-
Copy full SHA for b5b6f32 - Browse repository at this point
Copy the full SHA b5b6f32View commit details
Commits on Oct 19, 2023
-
bot.py: updated inactivity timeout logic
example_options.ini: added space between text and #
Configuration menu - View commit details
-
Copy full SHA for 5cf64d8 - Browse repository at this point
Copy the full SHA 5cf64d8View commit details -
Configuration menu - View commit details
-
Copy full SHA for b1a1c8a - Browse repository at this point
Copy the full SHA b1a1c8aView commit details -
Configuration menu - View commit details
-
Copy full SHA for fc49fe7 - Browse repository at this point
Copy the full SHA fc49fe7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 03789a0 - Browse repository at this point
Copy the full SHA 03789a0View commit details -
Merge pull request #2348 from DestinyofYeet/disconnect-timer
updated inactivity timeout logic
Configuration menu - View commit details
-
Copy full SHA for 1653440 - Browse repository at this point
Copy the full SHA 1653440View commit details -
Configuration menu - View commit details
-
Copy full SHA for ce179c1 - Browse repository at this point
Copy the full SHA ce179c1View commit details -
* apparently auto_paused was needed, whoops * Made the text more informative and fixed a bug where the bot would not disconnect when moved between VC's * ran black
Configuration menu - View commit details
-
Copy full SHA for f9c3621 - Browse repository at this point
Copy the full SHA f9c3621View commit details
Commits on Oct 26, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 2be8f19 - Browse repository at this point
Copy the full SHA 2be8f19View commit details -
Merge pull request #2351 from DestinyofYeet/move-message-fix
Move message fix
Configuration menu - View commit details
-
Copy full SHA for 773fa3d - Browse repository at this point
Copy the full SHA 773fa3dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2dd4f73 - Browse repository at this point
Copy the full SHA 2dd4f73View commit details -
Merge pull request #2352 from DestinyofYeet/fix-autoplaylist-skipping…
…-song fixed that the autoplaylist skips the current song playing when enabling it
Configuration menu - View commit details
-
Copy full SHA for 1800656 - Browse repository at this point
Copy the full SHA 1800656View commit details
Commits on Nov 6, 2023
-
Configuration menu - View commit details
-
Copy full SHA for f141234 - Browse repository at this point
Copy the full SHA f141234View commit details
Commits on Nov 7, 2023
-
Include git in Dockerfile (#2355)
git is needed to install the git+https://github.com/Rapptz/discord.py pip dependency
Configuration menu - View commit details
-
Copy full SHA for 5fe6209 - Browse repository at this point
Copy the full SHA 5fe6209View commit details
Commits on Nov 11, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 24e2798 - Browse repository at this point
Copy the full SHA 24e2798View commit details
Commits on Nov 17, 2023
-
Remove checks for request usage.
Something weird was going on where this was raising errors, even with no modifications to the code.
Configuration menu - View commit details
-
Copy full SHA for e8eebff - Browse repository at this point
Copy the full SHA e8eebffView commit details
Commits on Nov 22, 2023
-
Squashed commit of the following:
commit 607783b Author: DestinyofYeet <[email protected]> Date: Wed Nov 22 14:43:34 2023 +0100 "Now playing" now respects DeleteNowPlaying option
Configuration menu - View commit details
-
Copy full SHA for 7295687 - Browse repository at this point
Copy the full SHA 7295687View commit details -
Configuration menu - View commit details
-
Copy full SHA for dd98309 - Browse repository at this point
Copy the full SHA dd98309View commit details
Commits on Nov 28, 2023
-
* Added a round-robin queue * ran black * added round_robin_queue to !option * ran black * changed default option to no * Extra info --------- Co-authored-by: Snow <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0d3eb97 - Browse repository at this point
Copy the full SHA 0d3eb97View commit details
Commits on Nov 30, 2023
-
A shorthand command of doing the play command and then the shuffle command
Configuration menu - View commit details
-
Copy full SHA for 7e2adb0 - Browse repository at this point
Copy the full SHA 7e2adb0View commit details -
I did this wrong, this will correctly shuffle the playlist after it's been fully downloaded. Due to the nature of how _cmd_play works, the first few songs of the playlist will be played in the order they are in the playlist.
Configuration menu - View commit details
-
Copy full SHA for b691d45 - Browse repository at this point
Copy the full SHA b691d45View commit details -
There's an issue where using mentions in a title doesn't convert and shows as <@numbers> instead. This ensures now playing mentions work correctly by putting it into a field instead of a title. I'm sure there's a better way to hack the name parameter for add_field but this seems work fine.
Configuration menu - View commit details
-
Copy full SHA for 8f36dad - Browse repository at this point
Copy the full SHA 8f36dadView commit details -
Clarify that the playlist plays the first few songs in order only if nothing else is playing first. Also ran black.
Configuration menu - View commit details
-
Copy full SHA for 579eeb3 - Browse repository at this point
Copy the full SHA 579eeb3View commit details -
Fix that shuffleplay wasn't actually shuffling due to an early return. Follow same format as the rest of the help docs. Fix format issue for repeat command no songs errror. Add an expire in to repeat command no voice.
Configuration menu - View commit details
-
Copy full SHA for ff0cb1d - Browse repository at this point
Copy the full SHA ff0cb1dView commit details -
More audio cache options. (#2362)
* Lets try cache management. * early bail if no limits are set. Fix missing pathlib. * Fix invalid use of rmtree. * Fix bytes/days in show config * bytes typo * Log removed count and size to debug. * Add 'cache' command for info and on-demand clear. * Typo * format_bytes to 3 decimal places. Add 'days' in time limit info. * Format uses binary prefix, lets be clear. * Get file size early. * Fix formatting in example_options.ini * improve cache info. * Add basic automatic cache clear. * Update cached_audio_bytes when cleared * Make sure we update the cache size value. * might as well update here too. * Add i18n strings for cache command. * Throw command error on invalid option. * make sure example_options match config defaults. * Compat with Windows, only remove cache dir on startup, & fix sorting order. * Make SaveVideos=no work as expected on Windows. Also fix a typo.
Configuration menu - View commit details
-
Copy full SHA for 10371b5 - Browse repository at this point
Copy the full SHA 10371b5View commit details
Commits on Dec 2, 2023
-
Allow cache config shorthand & clarify functionality. (#2363)
* StorageLimitBytes now with notation conversion. * Clarify/Document cache options in example_options.ini * Function name consistency. * Linux instead of *nix
Configuration menu - View commit details
-
Copy full SHA for 330b111 - Browse repository at this point
Copy the full SHA 330b111View commit details
Commits on Dec 4, 2023
-
* patch spotify.py SSL with certifi * remove ssl_context from global scope
Configuration menu - View commit details
-
Copy full SHA for dce4dad - Browse repository at this point
Copy the full SHA dce4dadView commit details
Commits on Dec 12, 2023
-
Cache autoplay retention option & cache folder option. (#2365)
* Add option and logic to retain autoplaylist data in cache. Testing required. * await preload in a proper place. * Add config option to set audio cache directory. Refactor audio cache into its own class. Clean up some auto playlist handling. All to enable cache retention of auto playlist entries... Some of this could help with stability in the long run though. * Flake8 & black and fix my errors. * Handle cache earlier. Actually save cachemap on updates... Add some maybe temporary logs for debug. * Playlist urls now removed from cache map on purge_from_ap. Fixed broken asyncio.Lock usage. Refactored with Flake8 and Black. Added annotations/typing * Use proper forward ref. * make autoplaylist command work without player in voice. Clarify example options more. * Count retained size against cache immediately. * satisfy flake8 and black * don't add the current size in the purge test.
Configuration menu - View commit details
-
Copy full SHA for 2785ac3 - Browse repository at this point
Copy the full SHA 2785ac3View commit details
Commits on Dec 14, 2023
-
Configuration menu - View commit details
-
Copy full SHA for dcc703e - Browse repository at this point
Copy the full SHA dcc703eView commit details -
* Initial per-server command prefix * Add example_option, and file check. * clean up and add missing import json * add method to clear prefix * ensure black format. * Remove redundant space check. * Add i18n strings. * make command list less error prone in multi-guild. * Try to make emoji prefix possible. * black format * tidy output and add i18n string. * ensure prefix is listed. * Fix missing prefix * fix missing , in i18n/en.json * make emoji prefix work without backspace required. * Rename option to EnablePrefixPerGuild instead. * Add prefix history for better clean command, and match animated emoji/better emoji checking. * Fix typo, add regex emoji check to on_message, and convert regex to raw strings for Flake8. * Note for future reference * Better support for emoji in unicode rather than markdown. Fixed emoji check for animated emoji in help command.
Configuration menu - View commit details
-
Copy full SHA for b557386 - Browse repository at this point
Copy the full SHA b557386View commit details -
Inactive player timeout & timer touch ups. (#2366)
* Add inactivity option based on player state, in addition to VC activity. * Naming consistency. * Fix auto join channels check. * clean up VC and guild references. Prevent redundant resets. * Add shorthand english time format support to time-related config options. Tiny scope creep for this branch... * missing import re * I should remove test prints before commits. * revert scope creep * Remove guild name from activity message. * Black & Flake8 * Make sure these timers don't block further execution. * Make some logs info level and remove log from finally to make it less chatty. * Update status message on disconnect. * Make sure to clear both active timers on disconnect. * Simplify update_now_playing_status. * check for paused players over just active players. * black * black * Prevent starting an already active VC timer. * Clarify and document options. * black * Revert to LeaveAfterSong to remain compatible with existing config.
Configuration menu - View commit details
-
Copy full SHA for 9c14a19 - Browse repository at this point
Copy the full SHA 9c14a19View commit details
Commits on Dec 15, 2023
-
Stage channels where being recognized as text channels. This should fix that. Closes #2252 Add autoplaylist cache map to gitignore
Configuration menu - View commit details
-
Copy full SHA for 612f341 - Browse repository at this point
Copy the full SHA 612f341View commit details -
Configuration menu - View commit details
-
Copy full SHA for 19a19e1 - Browse repository at this point
Copy the full SHA 19a19e1View commit details -
Need to find a better method of error catching, maybe let admin know we need perms then try again after sleeping for some time?
Configuration menu - View commit details
-
Copy full SHA for 117ec17 - Browse repository at this point
Copy the full SHA 117ec17View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6083544 - Browse repository at this point
Copy the full SHA 6083544View commit details
Commits on Dec 16, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 3d0132e - Browse repository at this point
Copy the full SHA 3d0132eView commit details -
Configuration menu - View commit details
-
Copy full SHA for cd9c168 - Browse repository at this point
Copy the full SHA cd9c168View commit details -
Add some new options and handle invalid options better. I found myself doing repeat on a lot and cycling through everything so I reworked it. Remove unnecessary json strings.
Configuration menu - View commit details
-
Copy full SHA for 8ce4ce2 - Browse repository at this point
Copy the full SHA 8ce4ce2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7b18023 - Browse repository at this point
Copy the full SHA 7b18023View commit details
Commits on Dec 17, 2023
-
* Proper fix for SSL issue on windows with missing cert store cert. This should only use certifi if certs are missing, not by default. * patch only when broken. * Fix bot._cleanup() method. Remove some code cruft from pre 3.8. Make sure aiohttp isn't closed prematurely... * Flake8, black, and general clean up. * Make sure to clean up what could be broken. * fix this little thing before it stops the show. * run black on run.py
Configuration menu - View commit details
-
Copy full SHA for e11464f - Browse repository at this point
Copy the full SHA e11464fView commit details
Commits on Dec 18, 2023
-
Fix error thrown when non-yt link is used. (#2374)
* Fix error thrown when non-yt link is used. * run black
Configuration menu - View commit details
-
Copy full SHA for 7cde7ad - Browse repository at this point
Copy the full SHA 7cde7adView commit details
Commits on Dec 20, 2023
-
Server specific data cleanup (#2377)
* use guild.id in server_specific_data key * auto black the whole repo.
Configuration menu - View commit details
-
Copy full SHA for 9c9e6ca - Browse repository at this point
Copy the full SHA 9c9e6caView commit details
Commits on Dec 22, 2023
-
Update flake8 config and run Flake8 over the whole project. (#2379)
Also changes skip command permission checks for looped songs.
Configuration menu - View commit details
-
Copy full SHA for a08f792 - Browse repository at this point
Copy the full SHA a08f792View commit details -
Stop spotify playlists fetch on clear command (#2378)
* Exit the spotify album/playlist loops when clear is used. * add guild to command args, fix bad ref * ditch the sleep method. this should work well enough...
Configuration menu - View commit details
-
Copy full SHA for 0cf25c1 - Browse repository at this point
Copy the full SHA 0cf25c1View commit details -
Rework repeat off. Set fallback owner group to have skip looped songs perms.
Configuration menu - View commit details
-
Copy full SHA for 29a510d - Browse repository at this point
Copy the full SHA 29a510dView commit details
Commits on Dec 23, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 8e8a433 - Browse repository at this point
Copy the full SHA 8e8a433View commit details
Commits on Dec 27, 2023
-
Fix skip tally and cmd prefix bugs (#2380)
* Fix issue with _get_guild_cmd_prefix in non-guild channels. * tally num_skips by counting members who are in skippers set of author.id numbers. * remove TODO note.
Configuration menu - View commit details
-
Copy full SHA for 13484ce - Browse repository at this point
Copy the full SHA 13484ceView commit details
Commits on Jan 7, 2024
-
* Auto unpause when play-like commands are used. Clean up the old auto pause code (cause I've learned since then) * clean up a bit more, ensure things work. * Flake8 * actually import typing. * Quote the custom type * run black on dev merge. grumble grumble * correct the function comment.
Configuration menu - View commit details
-
Copy full SHA for eb26ab9 - Browse repository at this point
Copy the full SHA eb26ab9View commit details
Commits on Jan 9, 2024
-
Can't get it working right, will look into again at a later time. Maybe we need to do something like get_info?
Configuration menu - View commit details
-
Copy full SHA for 7b4b153 - Browse repository at this point
Copy the full SHA 7b4b153View commit details -
Restart overhaul - with upgrade commands (#2373)
* Attempt full process restart. Clean up bot.py global. Clean up some of run.py * Ensure discord TCPConnector is closed. Run black. * Use the correct creationflag name. * Fix _wait_delete_msg() to check for bot.is_closed() * Make sure logging is shutdown. * Add i18n and command responses. * Run black * attempt upgrade options for restart command * Remove unused code * load self.exit_signal with actual signal, not just type. * make it easier to get RestartCode qualities from RestartSignal * Update command output and help text. * ensure black formatting * git needs shell=True on linux * Actually decode bytes to utf8. * run black on merged dev * run black on merged dev * Clean up exception handling, and remove cruft import. * Clean up exception handling and remove cruft import. * Squashed commit of the following: commit 7b4b153 Author: Snow <[email protected]> Date: Mon Jan 8 20:43:33 2024 -0600 Remove shuffle play Can't get it working right, will look into again at a later time. Maybe we need to do something like get_info? --------- Co-authored-by: Snow <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 01773d4 - Browse repository at this point
Copy the full SHA 01773d4View commit details
Commits on Jan 11, 2024
-
Update the disconnect command so that it doesn't say disconnected when it doesn't have an active player in the guild. Additionally adds i18n support. Update cmd-restart-invalid-arg i18n to match with what's in the code.
Configuration menu - View commit details
-
Copy full SHA for 7694da0 - Browse repository at this point
Copy the full SHA 7694da0View commit details
Commits on Jan 19, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 0a0e171 - Browse repository at this point
Copy the full SHA 0a0e171View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8d8148f - Browse repository at this point
Copy the full SHA 8d8148fView commit details
Commits on Jan 23, 2024
-
I haven't done anything productive in awhile
Missed ` in i18n Changes show config on launch: only show timeout's if enabled. Add search list.
Configuration menu - View commit details
-
Copy full SHA for 5810590 - Browse repository at this point
Copy the full SHA 5810590View commit details
Commits on Jan 26, 2024
-
Fix missing logs bug (now on dev) (#2384)
* Fix broken startup is logs directory is missing. * Run black * Add certifi to requirements, since it's missing.
Configuration menu - View commit details
-
Copy full SHA for 270da4d - Browse repository at this point
Copy the full SHA 270da4dView commit details
Commits on Feb 5, 2024
-
fix for timer events in server specific data. (#2385)
* hot fix for timer events in server specific data. * fix both events.
Configuration menu - View commit details
-
Copy full SHA for 37bcf1f - Browse repository at this point
Copy the full SHA 37bcf1fView commit details
Commits on Feb 6, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 8d11ae3 - Browse repository at this point
Copy the full SHA 8d11ae3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 45f3b7d - Browse repository at this point
Copy the full SHA 45f3b7dView commit details
Commits on Feb 8, 2024
-
Optimize play commands (#2382)
* half-broken start of a rewrite. * more half-broken code, stashing on repo :) * Substantially less broken, but still broken optimizations... * in the middle of changing ytdlp settings, so this is half broken still. we call to extract_info many more times that we maybe should, so its time to rectify that... * Mostly working, requires lots of cleanup. stashing for now. * Mostly working, mostly tested, just needs tidy up. * Flake8 and Black * Make Entry types use and serialize extracted info. * add shuffle for entries under shuffleplay command. * Cleanup with a bit of black, flake8 and mypy. * commit early and often, and this is why. Mostly code clean up. Coverage tests still pending. Tiny scope creeps: pldump now names files, and tries the public channel if DM fails. now playing status got a little brush up i guess... * patch issue in deserialize player. minor typing fixes. * Fix some empty channel check and bot check issues. * Fix print() in cmd_skip to use return Response instead. * Use is_empty_voice_channel util in channel activity checks. * Force HEAD requests and ytdlp to use the same UA string. Sending "MusicBot" UA to some providers will get blocked or rate limited quickly. * Get more info on duration failures. * Allow defer queue serialization for better disk IO when importing playlists. Preempt failure of YT links by checking for deleted/private names. Also changes track numbering for tracks missing titles. * run black * Fix mypy complaints against ytdlp options. * Actually send to channel when DM fails. :) * Detect youtube:search with 0 results. * Allow StageChannel type in is_empty_voice_channel * Forgot to import StageChannel * Improve download checks. * general clean up, add some notes for later. Also some black, flake8, and mypy compliance * check for missing author ahead of download call, and don't spam about it. * More typing and code clean up. * run black * Remove stream check to enable all media through stream... some code tidy up with info references. * Fix cmd_search for new backend. * remove unused method * run black and do some more mypy typing clean up. * Remove shlex from search. The search engines will handle the quotes. * Start PR prep, remove changes to ignore and flake file. * Replace EMOJI_IDLE_ICON with sleeping face emoji, and run Black. * Revert changes in run.py as out of scope from commit 6016bdb * Fix broken startup if logs directory is missing. * Add missing certifi requirement. * Fix bug with missing duration. * Better compound link support for youtube and ignored carrier videos. * black format
Configuration menu - View commit details
-
Copy full SHA for 592a754 - Browse repository at this point
Copy the full SHA 592a754View commit details -
Configuration menu - View commit details
-
Copy full SHA for fd6f854 - Browse repository at this point
Copy the full SHA fd6f854View commit details
Commits on Feb 10, 2024
-
Fix: File section is now validated (#2386)
* file section is now validated + black * black format I forgot to include * updated black and re-formatted
Configuration menu - View commit details
-
Copy full SHA for 331786c - Browse repository at this point
Copy the full SHA 331786cView commit details
Commits on Feb 11, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d33cb6a - Browse repository at this point
Copy the full SHA d33cb6aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 04df6a7 - Browse repository at this point
Copy the full SHA 04df6a7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 516078e - Browse repository at this point
Copy the full SHA 516078eView commit details
Commits on Feb 13, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 662fa3b - Browse repository at this point
Copy the full SHA 662fa3bView commit details -
Overhaul startup and logging, bring back graceful dep failures. (#2387)
Adds CLI args for logs and update checking. Includes bug fix for python 3.12 deprecation warning. Converts doBotInit() to setup_hook() Removes logging code from bot.py and musicbot/__init__.py Likely includes some groundwork for later changes in util.py
Configuration menu - View commit details
-
Copy full SHA for b55b5c3 - Browse repository at this point
Copy the full SHA b55b5c3View commit details
Commits on Feb 14, 2024
-
Refactor config internals. (#2389)
* Refactor Config and add constants for default file paths. Refactor server_specific_data into its own class. Adds bot commands `blockuser` and `blocksong` Removes command `blacklist` replaced by `blockuser` Adds a bunch of doc strings and linting/typing changes. * Make sure Files section get validated as well! * Update .gitignore * forgot a comma.
Configuration menu - View commit details
-
Copy full SHA for d741aa2 - Browse repository at this point
Copy the full SHA d741aa2View commit details -
* Update spotify.py with doc strings, and linted/typed code. * Refactor Config and add constants for default file paths. Refactor server_specific_data into its own class. Adds bot commands `blockuser` and `blocksong` Removes command `blacklist` replaced by `blockuser` Adds a bunch of doc strings and linting/typing changes. * Make sure Files section get validated as well! * Update .gitignore * Update downloader.py, entry.py, json.py, and 4 more files * Update event_emitter.py * Update bot.py * Update config.py comma * Update en.json * Add blocklists to example_options.ini and add basic extractors to example_permissions.ini --------- Co-authored-by: Snow <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7dfd0be - Browse repository at this point
Copy the full SHA 7dfd0beView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0b9f37b - Browse repository at this point
Copy the full SHA 0b9f37bView commit details -
Graceful invalid queue (#2391)
* return none rather than raise an error on bad deserialize version. * Python 3.8 compat I somehow missed. * py 3.8 compat with proper formatting. * now actually use the type alias. * i am scatter brain today. :)
Configuration menu - View commit details
-
Copy full SHA for 1d635ba - Browse repository at this point
Copy the full SHA 1d635baView commit details
Commits on Feb 17, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 2ce9dbc - Browse repository at this point
Copy the full SHA 2ce9dbcView commit details
Commits on Mar 6, 2024
-
remove pre commit as a requirment
Didn't work as desired. Leaving files for those who want to use pre commit
Configuration menu - View commit details
-
Copy full SHA for df97f58 - Browse repository at this point
Copy the full SHA df97f58View commit details
Commits on Mar 7, 2024
-
Sets lnp inside the summon command for various instances when it's needed. A quality of life change surely.
Configuration menu - View commit details
-
Copy full SHA for 611f4c0 - Browse repository at this point
Copy the full SHA 611f4c0View commit details -
update self summon to pass message
Added setting lnp in summon, which uses message so we need to pass it in our calls.
Configuration menu - View commit details
-
Copy full SHA for 03c10ea - Browse repository at this point
Copy the full SHA 03c10eaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1ad2cd2 - Browse repository at this point
Copy the full SHA 1ad2cd2View commit details
Commits on Mar 17, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 76e7d36 - Browse repository at this point
Copy the full SHA 76e7d36View commit details
Commits on Mar 22, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 440482f - Browse repository at this point
Copy the full SHA 440482fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0d3b768 - Browse repository at this point
Copy the full SHA 0d3b768View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4823581 - Browse repository at this point
Copy the full SHA 4823581View commit details
Commits on Apr 4, 2024
-
General stability updates. (#2394)
* just debug logs mostly * Reorganize a little bit of logging at startup. still debugging though. * This should just be empty, for now... * clean up some logs. * no more async main in run.py. This refactors further signal and shutdown handling for the bot. * Fix up pip install attempt and make code checks happy. * Set console title in run.py main. Improve some more logic with graceful recovery cases. Fix some check complaints. * More fixes for graceful startup and shutdown on windows. * Use asyncio not self.loop. * Ensure restart still works as expected. * More fixes * pylint * restructure how on-ready fires other events. try not to send updates while on_ready runs first time. * fix the obviously broken bits. * Fix --no-checks only skip optional checks. Also log python version. * refine some exception handling in auto playlists and on shutdown. * Fix logic issue with auto playlist. * improve replace in autoplaylist. * Allow run.bat and run.sh to pass CLI args to python. Simplify checks done in run.sh. * Bootleg connection resumption. Probably still busted and shitty, but it's close. * Fix custom log functions to use stacklevel 2 on windows. Organize log formats in order of log level number. * correct stacklevel ... * Update voice_state_update warning to be more clear. * Create player is no serialized player exists. oops. :) * Ensure auto playlists actually kick off in non-serialized guild. * run formatting and tidy up some spam. * Move auto_pause and availability into MusicPlayer. * Change status updates to run on disconnect again, also adds an offline status for logout/shutdown. * Prevent deadlock if exception is thrown in signal handler. * change guild auto pause handler to wait for connection. * Update player.py formatting * Update network test with ICMP ping via sub process call * Make sure old queue.json does not stop the show. * Use shutil.which() to get ping binary path. Tries to catch errors from sys call. * Make sure shutil also fails gracefully. * proper 3.8 compatible types should be part of this too. * Copy over some missing changes. * Attempt to handle the discord API connection termination. * Fix backward logic. * Don't resume an auto-paused player when returning from network outage. * Fix race condition in unpause check. * remove entry_added check in favor of check on play * refactor playlist entry meta and handle auto-playlist expansion of playlist links differently. also disables extraction logs. also adds indicator for autoplaylist entries, though none should be enqueued to playlist queue now. * Try to avoid excessive auto-pause retry when player is being discarded/reconnected. * Attempt to rejoin on API termination when configured to auto-join. If auto-join bot is moved, attempt to join old channel instead. * remove redundant calls to finish_playing event. * Fix error with rouge player check in disconnect_all_voice_clients * Now playing messages should not repeat on reconnect. * fix erroneous logic in last_np_msg content check. * dyslexic logic strikes again. gotta love it. * Add more sanity checks to play-invoked unpause. Allow unpause check to trigger summon if perms.summonplay is set. * update self summon to pass message Added setting lnp in summon, which uses message so we need to pass it in our calls. * lnp inside of summon cmd Sets lnp inside the summon command for various instances when it's needed. A quality of life change surely. * last_np_msg should actually compare the content of embed and not just the hash in the collection. I'm an idiot. : ) * Track last played song subject for better control of last now playing message. * format fix * Respect queue persist option, and make sure auto-playlist starts without a queue. --------- Co-authored-by: Snow <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7ba155e - Browse repository at this point
Copy the full SHA 7ba155eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9ed048c - Browse repository at this point
Copy the full SHA 9ed048cView commit details -
Configuration menu - View commit details
-
Copy full SHA for e935b0d - Browse repository at this point
Copy the full SHA e935b0dView commit details
Commits on Apr 5, 2024
-
Updates for the Installer and Updater scripts. (#2395)
* Updates for installer and update scripts. Adds ffmpeg install step to install.ps1 using winget tool Installers now prompt before installing. SysD service file requires user and group settings. * Update requirements.txt to use voice and speed options for discord.py repo pull.
Configuration menu - View commit details
-
Copy full SHA for 4c287a4 - Browse repository at this point
Copy the full SHA 4c287a4View commit details -
* Fix index errors in reorder_for_round_robin function. * Update comments
Configuration menu - View commit details
-
Copy full SHA for 2b2b88a - Browse repository at this point
Copy the full SHA 2b2b88aView commit details
Commits on May 7, 2024
-
Add commands for config and permission editing and reloading. (#2397)
* Add commands for config and permission editing and reloading. Refactors how options are registered, and adds a new dependency configupdater. * Update example_options.ini * Some fixes for setperms
Configuration menu - View commit details
-
Copy full SHA for 86e54e2 - Browse repository at this point
Copy the full SHA 86e54e2View commit details
Commits on May 14, 2024
-
Configuration menu - View commit details
-
Copy full SHA for bea0b46 - Browse repository at this point
Copy the full SHA bea0b46View commit details -
* Update install.sh to work in cloned directory. * Update install.ps1 to work in cloned directory, and clean up some output. * Update install.bat to be more informative and less lazy. * Update run.py to show pip packages when checking, and handle missing discord.py when extensions are installed. * Tidy up comments * Update comment for disk check option. * Don't forget TerminateSignal can set an exit code now. * Remove refreshenv call
Configuration menu - View commit details
-
Copy full SHA for 20e674d - Browse repository at this point
Copy the full SHA 20e674dView commit details
Commits on May 15, 2024
-
Seek and speed features (#2402)
* Adds seeking and playback speed support. * Update example_options.ini * Add relative seek.
Configuration menu - View commit details
-
Copy full SHA for e2ad0fe - Browse repository at this point
Copy the full SHA e2ad0feView commit details -
Configuration menu - View commit details
-
Copy full SHA for c7ac43a - Browse repository at this point
Copy the full SHA c7ac43aView commit details
Commits on May 16, 2024
-
Bug fixes, QOL tweaks, and code clean up. (#2404)
* Bug fixes, QOL tweaks, and code clean up. * Fix regression of relative seek.
Configuration menu - View commit details
-
Copy full SHA for 876ffb8 - Browse repository at this point
Copy the full SHA 876ffb8View commit details
Commits on May 17, 2024
-
Configuration menu - View commit details
-
Copy full SHA for dd96f1c - Browse repository at this point
Copy the full SHA dd96f1cView commit details -
Configuration menu - View commit details
-
Copy full SHA for c256eb9 - Browse repository at this point
Copy the full SHA c256eb9View commit details -
Co-authored-by: Snow <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a76f648 - Browse repository at this point
Copy the full SHA a76f648View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c1326f - Browse repository at this point
Copy the full SHA 4c1326fView commit details -
Configuration menu - View commit details
-
Copy full SHA for c79d72a - Browse repository at this point
Copy the full SHA c79d72aView commit details -
Configuration menu - View commit details
-
Copy full SHA for ddbc8e6 - Browse repository at this point
Copy the full SHA ddbc8e6View commit details
Commits on May 18, 2024
-
Provide option for auto-unpause, default off. (#2408)
* Provide option for auto-unpause, default off. * Add option to example_options.ini
Configuration menu - View commit details
-
Copy full SHA for 473f70c - Browse repository at this point
Copy the full SHA 473f70cView commit details
Commits on May 26, 2024
-
adds an option to reset config options to default as defined in ConfigDefaults. Maybe find a way to create option_defaults.ini for use here?
Configuration menu - View commit details
-
Copy full SHA for 04be555 - Browse repository at this point
Copy the full SHA 04be555View commit details
Commits on May 27, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 58fa9d3 - Browse repository at this point
Copy the full SHA 58fa9d3View commit details
Commits on May 31, 2024
-
Potentially fix high-cpu deadlock bug. (#2411)
* Attempt to squash the high-cpu bug. - Make play calls explicit, rather than implied through adding entries. - Handle player errors and ensure progress of queue or autoplaylist. - Prevent early garbage collection of created async tasks. - Run shutdown on downloader thread pool. Waits threads rather than let them dangle. - Reduce usage of infinite loops and update some logging. * Make pylint happy with 3.8 compatible call. * Ensure task exceptions are retrieved by the done callback. * Try to read ffmpeg stderr stream until playback stops or an exception is set. * return player to stopped state for playback finished or it wont restart later... * Deal with aiohttp client errors in the safe_*_message functions... * Move stderr future checking before the return statements in _playback_finished callback. Otherwise that could loop infinitely...
Configuration menu - View commit details
-
Copy full SHA for de021b5 - Browse repository at this point
Copy the full SHA de021b5View commit details
Commits on Jul 24, 2024
-
Bug-fixes and more options. (#2416)
* Add technical support for cookies.txt passed to yt-dlp. For those who know the risks and want to take them. * Remove unused code. * Fix to_ini for debug level config * Add dev-only command to make markdown from config / permissions code. * Fix AttributeError with out-of-date colorama on windows. * Fix exception handling if aiohttp import fails. * Add ffmpeg start-up check. * Ensure windows has colorama 0.4.6+ if colorlog does not require it. * Change version constant and modification detection logic. * remove todo * Add support for spaces in aliased commands, enabling commands with pre-defined arguments to be aliased as well as simple renames. * format * More format changes. * Make debug command more debug-y * Create some UA string "options" via constants. These are not recommended to be changed. Basically only for debug / ye-who-knows. I will not provide ANY support for these, use them at your own risk! * add note about PCMVolumeTransformer * format & lint * Pre-download next track in queue. Does not affect autoplaylist tracks, as they are added 1x1 while q is empty. * format * lints * Add option for status message to count paused players, off by default. * Make pre-download happen a tad later to reduce network congestion for current entry playback. Note that this seems to create some jitter in audio playback while download is ongoing. * Better checks for player inactivity. * Remove TODO and format. * Remove bogus statement about {n_paused} status message variable. * Experimental proxy option for ytdlp. * Add UA changing option to ini config. * Revise options and help texts for PR #2416
Configuration menu - View commit details
-
Copy full SHA for ac333d2 - Browse repository at this point
Copy the full SHA ac333d2View commit details
Commits on Jul 29, 2024
-
Cookie management command & bug fix (#2417)
* Add owner-only command to manage cookies. * Ensure ytdlp rotates UA strings with each request, while not set static. * Add warning to setcookies help text. * Make header check timeout errors graceful. * format * Change MusicBot to bot's username in uptime command. * format and lint * Fix typo and copy-paste blunder.
Configuration menu - View commit details
-
Copy full SHA for 561e034 - Browse repository at this point
Copy the full SHA 561e034View commit details
Commits on Aug 6, 2024
-
Windows patches 2024-08-05 (#2418)
* Fix windows install.ps1 hanging if winget terms are not accepted yet. Minor changes to description / informative text. * Update requirements.txt for windows aiodns bug.
Configuration menu - View commit details
-
Copy full SHA for 2738e6d - Browse repository at this point
Copy the full SHA 2738e6dView commit details -
3
Configuration menu - View commit details
-
Copy full SHA for e5514bc - Browse repository at this point
Copy the full SHA e5514bcView commit details
Commits on Aug 30, 2024
-
Ytdlp oauth2 plugin integration (#2421)
* Commit original code with notice of origin and license. * format original source code * Integrate the OAuth2 plugin as optional. Uses original library if it is installed, to prevent conflicts and provide easier testing. * fix typo with importlib. * Updates for lint / formatting. * Enable ytdlp logging with original oauth2 plugin. Updates the warning about original plugin use. * handle ModuleNotFoundError when checking for OAuth2 plugin. * Address the extractor permissions being too strict and thus confusing. This also updates some inconsistent documentation and logic around allowing all extractors.
Configuration menu - View commit details
-
Copy full SHA for f8301ca - Browse repository at this point
Copy the full SHA f8301caView commit details
Commits on Aug 31, 2024
-
Update Examples and adjust config parser. (#2422)
* make sure to set default value in new example options. * update some example options. tweak how getbool fails. add getstr for explicit strip of whitespace and fallback on empty.
Configuration menu - View commit details
-
Copy full SHA for 7dc7ad6 - Browse repository at this point
Copy the full SHA 7dc7ad6View commit details
Commits on Sep 6, 2024
-
* Fix relative seek and improve feedback of seek command. * format seek time floats * Fix playnext not respecting playlists * ignore activity timer when voice client is already disconnected
Configuration menu - View commit details
-
Copy full SHA for 7c49c86 - Browse repository at this point
Copy the full SHA 7c49c86View commit details
Commits on Sep 7, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 1235d9d - Browse repository at this point
Copy the full SHA 1235d9dView commit details -
since we pull directly, no need to wait to revert this until it's pushed to pypi
2Configuration menu - View commit details
-
Copy full SHA for 30c8577 - Browse repository at this point
Copy the full SHA 30c8577View commit details
Commits on Sep 28, 2024
-
Installer updates mostly (#2428)
* Add Ubuntu 24.xx installer. Minor update to debian 12 & added 13 - needs testing. * Make run.sh and update.sh check for venv. * More compatibility with venv installs * do testing with debian, and update --list * Add PopOS 24.04 and Shellcheck updates * add default case to pop OS * Add detected OS to install.sh --list * Allow bypass of system package steps or of musicbot install steps. * more tweaks and options * use pypi discord.py * try to add install path option * no = supported here * Move the default check. * Clean up service install. Remove cli alias as unsupported. Adjust post install message for venv. Add --no-sudo option. * more service install tweaks * output formatting * don't touch options.ini if it exists already. fix copy and sed. * service setup assumes previous cd to clone dir. * Turn the template into just an example file. Installer now has its own internal template to generate service files. * add / change warning about install directory with --service option. * more output tweaks * Ap add all (#6) Adds new sub-command as `autoplaylist [+ | add] all` which allows users to add all songs in the queue to the auto playlist. Conflicts: musicbot/bot.py * Use discord via git repo ... test test test I should have left the installers broken... * Add some root/sudo checks. * Try to install winget and restart for env vars. * Fix env vars maybe, add file extension un-hide logic * Add anybranch option, fix ffmpeg error when installed but no update. * Install path and cleaning output. * fix winget issues with ffmpeg * set appropriate repo url. * checks * add certificate pre-fetch to installer... * add lock to summon. also tidy code * Fix extractor checks to work with and without plugins like oauth2. SpotifyPlaylist objects only allow track member types. * fix summon message on stream
Configuration menu - View commit details
-
Copy full SHA for a572e71 - Browse repository at this point
Copy the full SHA a572e71View commit details
Commits on Sep 30, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 86de796 - Browse repository at this point
Copy the full SHA 86de796View commit details
Commits on Oct 13, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 8e9b966 - Browse repository at this point
Copy the full SHA 8e9b966View commit details