fix: made cleaned_value make the value into an int

This commit is contained in:
Seaswimmer 2023-07-30 12:23:16 -04:00
parent b85c56547b
commit bfd75bca4a
No known key found for this signature in database
GPG key ID: 5019678FD9CF50D8

View file

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