fix: made cleaned_value make the value into an int
This commit is contained in:
parent
b85c56547b
commit
bfd75bca4a
1 changed files with 1 additions and 1 deletions
|
@ -130,7 +130,7 @@ class Galaxy(commands.Cog):
|
||||||
|
|
||||||
value: Required[:class:`int`]
|
value: Required[:class:`int`]
|
||||||
The value of the ship you're checking. This should be supplied by `/shipinfo`. Not the same as ship cost!"""
|
The value of the ship you're checking. This should be supplied by `/shipinfo`. Not the same as ship cost!"""
|
||||||
cleaned_value = ''.join(char for char in value if char.isdigit())
|
cleaned_value = int(''.join(char for char in value if char.isdigit()))
|
||||||
insurance_dict = {
|
insurance_dict = {
|
||||||
"miner": 0.7,
|
"miner": 0.7,
|
||||||
"freighter": 0.65,
|
"freighter": 0.65,
|
||||||
|
|
Loading…
Reference in a new issue