Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request includes significant changes to the
booth_discordproject, focusing on database schema updates, command handling improvements, and the addition of new notification channels. The most important changes include modifying database tables and methods to handle notification channels, updating command handling in the Discord bot, and adding new helper methods for database operations.Database Schema Updates:
booth_discord/booth_sqlite.py: Added a new tablediscord_noti_channelsto store notification channel information and modifiedbooth_accountstable to removediscord_channel_idcolumn. [1] [2]Command Handling Improvements:
booth_discord/booth_discord.py: Updatedsetup_commandsto removechannel.idparameter fromadd_booth_accountmethod call.booth_discord/booth_discord.py: Deferred interaction response and addedchannel_idparameter toadd_booth_itemmethod call.Notification Channel Management:
booth_discord/booth_discord.py: Commented out thenoti_updatecommand, indicating it needs a fix.booth_discord/booth_sqlite.py: Addedadd_discord_noti_channelmethod to handle insertion of notification channels and updatedadd_booth_itemto include notification channel logic. [1] [2]Helper Methods:
booth_discord/booth_sqlite.py: Addedget_booth_itemmethod to fetch booth item details based on order number.