Releases: FragSoc/esports-bot
Releases · FragSoc/esports-bot
v1.2.1: Multiple Bug Fixes
- Fixed a bug where the wrong help string was given in pingme commands
- Fixed a bug that caused the default error handler not to run and thus not give useful error messages to users
- Fixed an issue caused by tweepy updating to v4
- Fixed a crash caused when a YouTube playlist was given to the music bot
- Changed the activity status to include the command prefix
- Fixed an issue where users got pinged when the getdefaultrole command was used
- Fixed the documentation for the remove-option command for role menus
V1.2.0: VoiceMaster Changes
Voicemaster Overhaul - Add ability to rename channels - Group voice commands - Remove antiquated language
Release Version 1.1.0
Main changes in this version are the implentation of the custom help command handler. This moves all help strings for commands into user_strings.toml
Other changes include a modified admin_log function, bug fixes and some code cleanup.
Full Release!
v1.0.0 Our first full release
Full Version Prerelease
Hotfixes from Testing Session (#183) * Remove reference to deprecated function * Move music channel management commands to their own group to avoid falling into channel checking problems * Fixed an issue caused by moving default_role_id to its own table from Guild_info * Fixed an issue where a VM child would not be created if the Parent VC was joined from another VM Child * Correct musicchannel command in README * Fixed an issue where youtu.be links would not work * Fixed an issue where songs would not play when supplying the URL directly * Added missing doc strings for EventCategoriesCog functions Co-authored-by: Laura Demkowicz-Duffy <laura@laurademkowiczduffy.co.uk> Co-authored-by: Fluxticks <benjigarment.appdev@gmail.com>
Our first prerelease!
Fixed some bugs and made some enhancements in the MusicCog (#67) * Added music_channels as a new table to be part of schema * Added MusicCog - MusicCog has set channel and get channel * getmusicchannel now mentions the channel instead of listing the id * Added on_message event to capture messages * Added youtube searcher * Changed youtube search to use youtube-search-python pip module * ID validation now raises MissingRequirementArgument when the id is not valid * Added video to mp3 downloading * Changed invalid ids to use UserInputError instead of MissingRequiredArgument * Implemented basic queue and song playing * Music controls now check if user is in same channel as bot * on_message checks if there is an entry in the db first * Bot can now play songs in a queue * Added song skip * Added some comments * Added stub to create message of the current queue * Added check if no 'lyric' or 'audio' videos available to use basic search * Added queue string formatting - Fixed a bug that caused some song files to not be saved correctly - Fixed a bug that caused the bot to skip the song if paused * Added more fields to music_channels table * Now has a currently playing and queue in specified channel. - Also made some more methods async * Added interaction feedback messages for commands * Added channel reset command * Changed filepaths to use os.pathsep * Added queue clear - Title of songs in queue now use top hit title instead of the video title * Music is now streamed from youtube instead of downloading a file * Uses UoY Esports logo as idle image * Fixed a bug that caused links to not show a preview image * Player now gets the audio stream at play time instead of search time - This change means playlists load faster and that it now supports long playlists - Also added shufflequeue command * Added pip requirements to requirements.txt * Looped tasks now stop when the lists are empty and get restarted on song request * Added daily limiter * Updated README to include MusicCog commands * Added time allowance reset on 24hr task.loop * Now supports multiple requests per message when split by newline - Fixed a bug that caused links and playlists to be interpreted incorrectly * Added docstrings and some code cleanup * Removed grequests requirement * Removed BeautifulSoup4 requirement * - Added ENV VAR to enable/disable music cog. - Changed ENV VAR from GOOGLE_API_PERSONAL to GOOGLE_API. - Allowed setmusicchannel to take a mentioned channel. * Included necessary requirements to function within Docker * Added random header to youtube request to decrease chance of being blocked * Made suggested changes * Change channel purge from using math.inf to sys.maxsize * Fixed an issue where a non-async call was awaited * Fixed a bug that caused playlists to fail * Now uses YouTube API to get titles and thumbnails. * Updated docstrings and added Type hinting * Added more user feedback for commands * Fixed a bug that caused messages to not be deleted when the user was not in a valid voice channel * Removed some unnecessary type hinting for functions with no return * Fixed a bug that caused the bot to not leave when the channel was empty. * Updated README to include pausesong * Fixed an issued caused by not all videos having a "maxres" thumbnail. * Update src/esportsbot/cogs/MusicCog.py Co-authored-by: Jasper Law <1jasperlaw@gmail.com> * Update src/esportsbot/cogs/MusicCog.py Co-authored-by: Jasper Law <1jasperlaw@gmail.com> * Fixed an issue that caused the id of a video to not be obtained. * Updated README * Fixed a bug where playlists would not play * Changed how determining if a link is a playlist or a video. * Changed how determining if a link is a playlist or a video. * Fixed a bug when removing the current song from the queue will skip the next song too. * Fixed a bug where time allocated would be used when the video is too long to play * Fixed an issue where the time allowed would not visually reset, even when the value is actually reset. * Added command for administrators to reset the music allowance of a server. * Refactored message deleting in the music channel to be in on_message * Added setvolume command * Updated footer of preview message * Fixed a bug that caused the bot to not leave as the check_marked_channels task was not running * Added aliases to user-facing commands. * Minor code cleanup and a few doc strings added. * Removed time allowance restriction * No longer polls db each message to check if in music channel * Combined reaction menu and music bot on_message methods * Stopped non-youtube URLs being queried * Updated reST DocStrings to include param and return types * Base strings added for MusicCog * Added strings for commands * Added queue valid options string * Implemented user facing strings from TOML file * Removed strict typing for command args that are meant to be integers * Fixed a bug that caused a crash when a video had None as its view count * Fixed a bug that caused commands not be processed * Strict-Typed user_strings attribute to dict * Fixed on_message handle to prevent role pings Co-authored-by: Ryth-cs <rts512@york.ac.uk> Co-authored-by: Jasper Law <1jasperlaw@gmail.com> Co-authored-by: Ryth-cs <49680490+Ryth-cs@users.noreply.github.com>