If price is $0 have EnduraBot report game is free #243

Closed
opened 2026-02-16 13:48:42 -05:00 by sirdog3355 · 1 comment
sirdog3355 commented 2026-02-16 13:48:42 -05:00 (Migrated from github.com)

Title. Had a recent lookup for a game where the bot confidently declared the game as not having deals with a price of $0 dollars.

This should be an easy win as the check can be inserted somewhere around here:

if cut <= 0:
            custom_description = f"There are no detected deals for *{game_title}*. It can be found at {shop_fancy} for {full_amount}."
            logger.info(f"{interaction.user} ({interaction.user.id}) ran /game for {game_title} (UUID: {game_uuid}) and found no deals. Displayed price was {full_amount} obtained from {shop_raw} (ID: {shop_id}). Hide: [{hide_state}]")
        if cut > 0:
            custom_description = f"*{game_title}* is currently on sale for {cut}% off at {shop_fancy} for {deal_amount}."
            logger.info(f"{interaction.user} ({interaction.user.id}) ran /game for {game_title} (UUID: {game_uuid}) and found a deal. Deal was for {cut}% off at {shop_raw} (ID: {shop_id}) for {deal_amount}. Hide: [{hide_state}]")
Title. Had a recent lookup for a game where the bot confidently declared the game as not having deals with a price of $0 dollars. This should be an easy win as the check can be inserted somewhere around here: ```py if cut <= 0: custom_description = f"There are no detected deals for *{game_title}*. It can be found at {shop_fancy} for {full_amount}." logger.info(f"{interaction.user} ({interaction.user.id}) ran /game for {game_title} (UUID: {game_uuid}) and found no deals. Displayed price was {full_amount} obtained from {shop_raw} (ID: {shop_id}). Hide: [{hide_state}]") if cut > 0: custom_description = f"*{game_title}* is currently on sale for {cut}% off at {shop_fancy} for {deal_amount}." logger.info(f"{interaction.user} ({interaction.user.id}) ran /game for {game_title} (UUID: {game_uuid}) and found a deal. Deal was for {cut}% off at {shop_raw} (ID: {shop_id}) for {deal_amount}. Hide: [{hide_state}]") ```
sirdog3355 commented 2026-02-27 22:35:07 -05:00 (Migrated from github.com)

Closing as not planned per #254 (deprecation).

Closing as not planned per #254 (deprecation).
Sign in to join this conversation.
No description provided.