fix-missing-weight-column in dev #57

Merged
VD15 merged 2 commits from fix-missing-weight-column into dev 2025-06-13 04:14:54 -07:00
Showing only changes of commit 77d4fa13bb - Show all commits

View file

@ -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],