rm validation of removed weight
This commit is contained in:
parent
bd287b096a
commit
77d4fa13bb
1 changed files with 0 additions and 6 deletions
|
@ -120,12 +120,6 @@ in order: name, rarity',
|
||||||
be a number between 1 and 5',
|
be a number between 1 and 5',
|
||||||
'attachment_urls': None
|
'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(
|
card_id, file_id = add_card(
|
||||||
name=arguments[0],
|
name=arguments[0],
|
||||||
|
|
Loading…
Add table
Reference in a new issue