Releases: MajorTanya/DTbot
Releases · MajorTanya/DTbot
DTbot v2.5
Add Announcement Screenshot to changelog command
DTbot v. 2.4
This version adds the Gateway Intents enforced by Discord on their (future) gateway v8 and handled by discord.py v.1.5+
Older versions will not work properly in the future.
DTbot v. 2.0
Update DTbot to 2.0 (This is a major update, mostly to accommodate discord.py 1.3.3, which is very different from the much older version (0.16.12) used in DTbot.) conversion.py: - implemented regular expressions so user input like '+cf 12°C' still converts properly - changed input variable name to unit name so help text will display as '+cf [celsius]' - added results of example usages for all commands - added cog description database_management.py: - Add +changeserverprefix (Developer only) - Add +refreshservers (Developer only) - Add +resetserverprefix (Developer only) - outsourced database connection functionality to the new launcher.py - switched to a pooled MariaDB connection - switched from Prepared Statements to Stored Procedures in the database - added on_guild_join event to add the new server to the database - added command statistics on command completion - added support for server-specific prefixes - changed the "is developer" check to a cog_check, which applies to all commands - added cog description dev.py: - Removed +listservers - added cog description - outsourced startup time handling to the new launcher.py - moved the list of developer roles from authlist.txt to config.ini, so it is read via the ConfigParser here - added cog_unload event to cancel the heartbeat task gracefully - changed the "is developer" check to a cog_check, which applies to all commands - changed the heartbeat functionality to utilize the delete_after property of ctx.send instead of deleting by message reference - moved the Rich Presence setup at on_ready here from DTbot.py error_handler.py: - Added new CommandError named IllegalCustomCommandAccess - moved the send_cmd_help function outside the class - errors now call send_cmd_help directly rather than it to be called at the end of all checks - added cog description general.py: - Removed +DTbot - added cog description - moved developer usernames, GitHub link, Twitter link, and the Artist link to config.ini, so they are read here with the ConfigParser and used with their variable names instead - +avatar: changed input variable to be a discord.Member, making checking mentions - +ping: changed to utilize the latency property of commands.Bot - +userinfo: renamed field "Playing" to "Activity" - +whohas: changed to utilize the members property of Roles - +xp: changed to utilize a Stored Procedure instead of a Prepared Statement help.py: - Add +help - implemented a customized help command to avoid flooding a channel with several maximum sized code block messages by sending a cog overview if no command or cog name is specified, and sending cog overviews as embeds (paginated if a cog contains more than 21 commands) interaction.py: - +baddog: changed name from baddoggo to baddog and added baddoggo as an alias - +crush: renamed user input variable name to "crush" - +crush: revamped the reaction check - +dance: changed to allow more than one user as the target to dance with launcher.py: Note: This will serve as the starter file for the bot from now on! - moved handling of MariaDB database connection from database_management.py to here - now reads the database config as a whole section into a dictionary - moved startup time handling from dev.py to here - added logging to file on system with Logging - added support for server-specific prefixes - bot will not start if the database connection could not be established properly linklist.py: - renamed baddoggo_links to baddog_links - structural edits misc.py: - Add +f - Add +bigf - Removed +bitcoin - Removed +crazy - Removed +quote - Removed +zeroarmy - +re: shortened text from 75 to 49 characters to reduce conversation disruption - added cog description people.py: - Removed the module People to make DTbot more public and universally usable requirements.txt: - increased discord.py version to 1.3.3 (no voice support) - DECREASED mysql-connector-python version to 8.0.12 (newer versions clash with MariaDB when trying to use pooled connections) - increased py-rolldice version to newer than 0.3.9 (not compatible with Python 3.8) Note: py-rolldice 0.4.0 currently ONLY works with Python 3.8+, older Python versions are not compatible! A backwards compatibility is apparently in the works, but until that is released, the +roll command will only work on Python 3.8+! - removed version requirement for pytz rng.py: - Removed +scenario - changed the class name to title case 'Rng' in the code to make it compatible with the way the new help command looks up cogs - declared the qualified name of the cog to be the upper case 'RNG' - +roll: completely reworked to support 'Drop Highest', 'Keep Highest', and 'Keep Lowest' rolling styles - +roll: changed to only accept the first modification the user states ('+roll 1d6+3' will work, '+roll 1d6+3*10' will only add 3 to the roll result) - +roll: edited description to list supported options - +rroulette: edited description - +roulette: completely reworked to improve code readability - +roulette: edited description - added roulettecolourfinder - added cog description - structural edits DTbot: - moved all direct bot functionality into a new Class DTbot() - implemented support for server-specific prefixes - outsourced the Rich Presence setup at on_ready from here to dev.py - removed authlist.txt & related code - removed empty opus.py module (voice chat support is not planned for DTbot) - removed empty vc.py module (voice chat support is not planned for DTbot) - removed unused Procfile - switched to config.getint when reading an int from the config instead of casting the string to an int - general edits in all modules to accommodate for the updated discord.py library - general edits in all modules to utilize formatted string literals / f-Strings - overall structural edits - increased version to 2.0 (2020-04-20)
DTbot v. 1.9
Fix import statements Fix the import statements in database_management.py and general.py
DTbot v. 1.8
Update linklist.py Add screenshot of DTbot v. 1.8
DTbot v. 1.7.1
Update linklist.py Add screenshot of DTbot v. 1.7.1
DTbot v. 1.6
Update linklist.py Add screenshot of DTbot v. 1.6
DTbot v. 1.5
Revert renaming of maths.py This caused an issue with the loading of the math(s).py module, likely because a reserved python module bears the same name. Class also reverted to Maths to stay consistent in both what to use for +load and what is displayed in +help/+help Maths
DTbot v. 1.4.4
Update DTbot to 1.4.4 people.py: - fixed description of +fichte DTbot: - increased version to 1.4.4
DTbot v. 1.3.2
v1.3.2 Update Procfile