From 77d4fa13bb44ca9b5322eaf8b12bb71cfb9a6cd8 Mon Sep 17 00:00:00 2001 From: Moon Date: Fri, 13 Jun 2025 19:31:23 +0900 Subject: [PATCH] rm validation of removed weight --- bot/response.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/bot/response.py b/bot/response.py index b49de1e..e661bbf 100644 --- a/bot/response.py +++ b/bot/response.py @@ -120,12 +120,6 @@ in order: name, rarity', be a number between 1 and 5', 'attachment_urls': None } - if not (is_float(arguments[2]) and 0.0 < float(arguments[2]) <= 1.0): - return { - 'message': f'{author} Invalid drop weight: \'{arguments[2]}\' \ -must be a decimal value between 0.0 and 1.0', - 'attachment_urls': None - } card_id, file_id = add_card( name=arguments[0],