fix: Update command logic to remove unnecessary deferral handling in Rule34Cog
This commit is contained in:
parent
ed3e564739
commit
c8b4277767
@ -208,8 +208,8 @@ class Rule34Cog(GelbooruWatcherBaseCog): # Removed name="Rule34"
|
||||
final_tags = f"{transformed_tags} -ai_generated"
|
||||
log.info(f"Rule34Cog (Slash): Using final tags: '{final_tags}' from original: '{tags}'")
|
||||
|
||||
# _slash_command_logic handles its own deferral/response
|
||||
await self._slash_command_logic(interaction, final_tags, hidden, already_deferred=True)
|
||||
# _slash_command_logic calls _fetch_posts_logic, which checks if already deferred
|
||||
await self._slash_command_logic(interaction, final_tags, hidden)
|
||||
|
||||
|
||||
# --- New Browse Command ---
|
||||
@ -233,8 +233,8 @@ class Rule34Cog(GelbooruWatcherBaseCog): # Removed name="Rule34"
|
||||
final_tags = f"{transformed_tags} -ai_generated"
|
||||
log.info(f"Rule34Cog (Browse): Using final tags: '{final_tags}' from original: '{tags}'")
|
||||
|
||||
# _browse_slash_command_logic handles its own deferral/response
|
||||
await self._browse_slash_command_logic(interaction, final_tags, hidden, already_deferred=True)
|
||||
# _browse_slash_command_logic calls _fetch_posts_logic, which checks if already deferred
|
||||
await self._browse_slash_command_logic(interaction, final_tags, hidden)
|
||||
|
||||
# --- r34watch slash command group ---
|
||||
# All subcommands will call the corresponding _watch_..._logic methods from the base class.
|
||||
|
Loading…
x
Reference in New Issue
Block a user